Hello,
I need helps 😉
From a modern driven application, I create new button in the salesorder command bar to change change statecode and statuscode of the active record.
With standard statecode and statuscode, it works well.
I have issue to use custom statuscode value as I can't retriev them in the formula :
Patch(Salesorder;Self.Selected.Item;statecode: 'statecode(Salesorders)'.'Active';'statuscode':'statuscode (Salesorders)'.'NEW'}
I can't find the new value "NEW" of statuscode.
thanks