I’d like to add a mandatory field that is conditional on a compound statement:
- if statement1 is true AND statement2 is true then the field becomes mandatory.
Is this possible? I tried setting up two conditions at the same level with the mandatory field indented beneath them, but SOD did not accept it, showing the Field in red (reference screenshot below).
Specifically (PO Lines Request Approval action): IF Type = ‘GL Account’ AND No = ‘1250’ THEN VC_FA_NO is mandatory
Thanks!
hougaard Answered question September 29, 2025
First, make sure you’re on the latest SOD, we had a bug recently around this.
I believe your apporach is sound.
hougaard Posted new comment September 29, 2025
Try sending your app file to support@hougaard.com – then I’ll take a quick look at it….
Hi Erik –
Thank you for the quick response. I just installed SOD today so I’m on the latest:
SOD: 12.0.0.608
AL Compiler and Interpreter: 2.0.0.278
BC Cloud: 26.4