I want to code the logic below in the new code "AL" Extensions version 2.
<TableRelation> ::=
<TableNo>[.<FieldNo>] [WHERE ( <TableFilters> )] |
IF ( <Conditions> ) <TableNo>[.<FieldNo>]
[WHERE( <TableFilters> )] ELSE <TableRelation>
<Conditions> ::=
<TableFilters>
<TableFilters>::=
[<TableFilter> {,<TableFilter>}]
<TableFilter>::=
<DstFieldNo>=CONST(<FieldConst>) |
<DstFieldNo>=FILTER(<Filter>)
But I can not write this code in Visual Code IDE.
So, I want to ask. In "AL" Extensions version 2, Can I write this logic? If can, how can I do it?
Thanks and best regards,
Answers