Options

TableRelation - Developing Extensions in AL

vanthanhvanthanh Member Posts: 23
edited 2018-11-27 in NAV Three Tier
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>) m9x3o2kajy7h.png


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,

Best Answer

Answers

  • Options
    vanthanhvanthanh Member Posts: 23
    Thank SanderDk, it is work for me.
Sign In or Register to comment.