Hi,
Appologies if this question is not clear, I am still learning -- I am trying to extend the SOOrderEntry graph and need to create a SelectFrom query that uses as a parameter the OrderNbr of the Sales Order that is currently opened by the user for editing. Is there a way to access this?
I have tried:
public SelectFrom<WorkflowVars>.Where<WorkflowVars.refordernbr.IsEqual<Current<SOLine.orderNbr>>>.View WorkflowVars;
Among other similar queries, with no luck.
If it is helpful, the error I am getting with the above query is
The type 'PX.Data.Current<PX.Objects.SO.SOLine.orderNbr>' cannot be used as type parameter 'TOperand' in the generic type or method 'BqlOperand<WorkflowVars.refordernbr, IBqlString>.IsEqual<TOperand>'. There is no implicit reference conversion from 'PX.Data.Current<PX.Objects.SO.SOLine.orderNbr>' to 'PX.Common.IImplement<PX.Data.BQL.IBqlEquitable>'.
Which I believe is because ‘Current’ is returning Null, but just a guess.
Any guidance would be much appreciated!!!
Best answer by Naveen Boga
View original