Basic question on Header / Line tables

kenlkenl Member Posts: 182

I am new to Navision.

I would like to know, how does the system "copy" the header information (the key field) into line tables ?

A typically example would Sales Header + Sales Lines, or Transfer Header + Transfer Line. How does the system assign the header "No." into the Line "Document No." And how to assign the field "Line No." ?




  • Options
    kinekine Member Posts: 12,562
    Document type and No. is assigned because subform is linked through this fields (SubFormLink property on the SubForm)...

    Line No. is assigned automatically, because it is last field in primary key, it is Integer and in the subform Form is enabled property AutoSplitKey and DelayedInsert...

    That is all... 8)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    kenlkenl Member Posts: 182
    Hello Kine,

    Thank you so much. :P
    I never think about the form property.

Sign In or Register to comment.