Skip to main content
Answer

SOOrderType returns no reults

  • January 9, 2025
  • 1 reply
  • 41 views

Chris Hardgrove
Jr Varsity I

Hello.  I execute a simple BQL query.

SOOrderType orderType = SelectFrom<SOOrderType>
    .Where<SOOrderType.orderType.IsEqual<@P.AsString>>.View.Select(Base, tran.SOOrderType);

I verified the BQL parameter returns “SO”

However the results of the BQL is null.  I verified that only 1 version of SO order type exists.  I’m unsure why this happens.

Best answer by darylbowman

Have you tried trimming tran.SOOrderType? I get caught with this sometimes, but more often with something like InventoryCD.

1 reply

darylbowman
Captain II
Forum|alt.badge.img+15
  • Answer
  • January 9, 2025

Have you tried trimming tran.SOOrderType? I get caught with this sometimes, but more often with something like InventoryCD.