Skip to main content
Question

"Previous Work Center" and "Next Work Center" value

  • March 10, 2026
  • 1 reply
  • 20 views

Forum|alt.badge.img

Why do the "Previous Work Center" and "Next Work Center" fields in the "Shop Order Operations" screen display " - " (space-space)when they are empty?

When I search for data where these fields are empty, the leading space is removed in the basic search. I can only add the spaces back when I switch to the advanced search.

This behavior makes searching with these fields unnecessarily complicated for end users.

1 reply

Forum|alt.badge.img+7
  • Do Gooder (Partner)
  • April 3, 2026

Hi ​@Jakob Schmidt ,

The fields:

  • Previous Work Center
  • Next Work Center

are not stored as true NULL/empty values.

 When there is no previous/next operation, IFS often returns:

  • a blank string (space) instead of NULL

This typically comes from:

  • how the value is derived (calculated/chain logic in routing)
  • legacy behavior carried into Cloud projections

Why search behaves differently

Basic Search

  • Automatically trims spaces
  • So:
    • " " → treated as empty
  • You cannot reliably search for space-only values

Advanced Search

  • Does not trim values the same way
  • Allows:
    • exact matching (including spaces)

 That’s why:

  • only Advanced Search works for your case

Why this happens (technical reason)

These fields are:

  • derived fields (not always physically stored)
  • calculated from:
    • operation sequence / routing links

When no value exists:

  • system returns " " instead of NULL

What people usually do

Option 1 (most practical)

  • Use Advanced Search
  • Filter using:
    • is null / is empty (if available)

Option 2

  • Create a custom field or indicator
  • Example:
    • “Has Previous Operation = Yes/No”

Option 3 (reporting side)

  • Handle using SQL:
    • TRIM(field) IS NULL OR = ''

Important limitation

  • This is not configurable
  • Basic Search:
    • will continue trimming spaces

Bottom line

  • The fields are space-filled instead of truly empty by design
  • Basic Search trims spaces → can’t filter properly
  • Advanced Search works because it allows exact matching