Relation Between Header And Line

Hello Dears,

I Have Two Tables, Header And Line , And The Relation Between Them Is the Entry No. Of the Header. I Created a Document Page With Header And Lines…How Can I Fill The “Header Entry No.” To Lines on Creating an New Line Related To This Header??

Thanks in advance,

1 Like

Hi,
Easiest way is via code on the OnInsert trigger of the line table. Hope this helps.
Neil

Hi Neil,
Thank You For Reply,
How To Get The Value of The Header,
I Want To Pass The Value Through Pages…

Hii
Please set the property (Table Relation Header Entry No.) For Line Table. and set the lookup Page id property (HeaderList Page) for Header table.

1 Like

Try taking help of standard tables in NAV. You will find many configuration based on this.
Doing this will make you learn 2 new things.
Try giving a shot.

Check how sales header and sales line are connected .