Hi guys, i'm new to this dynamic nav thing and probably gonna need your help on this.
I created some dataport with Sales Invoice Line as data item and my objective were to export the data along with field remaining amount (LCY) in cust ledger entry. Here is a few code that i use in "before export trigger".
IF "Document No." <> '' THEN BEGIN
SalesInvoiceHeader."No." := "Document No.";
SalesInvoiceHeader.FIND;
CustLedgerEntry."Document No." := "Document No.";
CustLedgerEntry.FIND;
Rem_Amt := CustLedgerEntry."Remaining Amount";
Rem_Amt_LCY := CustLedgerEntry."Remaining Amt. (LCY)";
END
When i run the dataport it shows me error like this
Cust. Ledger Entry Entry No. '0' does not exist.
Can someone telling me what to do ? I'm currently using NAV 4.0sp3.
0
Comments
Please read this How-To! It will really help you: http://www.mibuso.com/howtoinfo.asp?FileID=22