To enter external document numbers in sales and purchase orders
Choose the Search for Page or Report icon, enter Sales Orders or Purchase Orders, and then choose the related link.
Select a relevant sales order or purchase order, and then choose the Edit action.
On the General FastTab, in the External Document No. field or the Vendor Invoice No. field, enter the invoice number.
Enter information into the required fields.
Choose the OK button.
Answers
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I've ad a new var of record type (Vendor Ledger Entry) and add it to my page. Now I need to get the credit memo external document no, which exists in table 25 and in order to that I was trying
VendorLedgerEntry.SETCURRENTKEY("Document No.");
VendorLedgerEntry.GET(FORMAT("No."));
MESSAGE('no %1',FORMAT("No."));
//VendorLedgerEntry.GET(FORMAT("No."));
//"External Document No":=VendorLedgerEntry."External Document No.";
The problem is where to put this code? In init/open page it won't work because "no." is printing empty
Purch. Cr. Memo Hdr. has a field called Vendor Cr. Memo No.,
Orders are not related to the credit memo header but to individual credit memo lines. If you create a Credit Memo, and get lines onto it from two different receipts generated from two different orders (this is standard NAV functionality), which order number are you going to show on the header level?
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03