Hi all, I am a new nav. consultant. I have a problem with Header entry No.
here is the problem:
I have a header and 3 line table have relation with header entry no. When ı want to write the datas to these table; in header table, Header entry always with 0th rows and this 0th row is always empty.
But in line tables it doesnt happen, they always starts with 1st row.
I have also have a fonksion that gives header enty no:
GetNextNo(): Integer
IF TableHeader.FINDLAST THEN
EXIT(TableHeader.EntryNo+1)
ELSE
EXIT(1)
Thanks for help in advance
0
Comments
Study NAV first and learn how numbers are generated. NAV has specific ways to to this.
For example, look at sales header and sales lines.