Version 5.01
I have created a Drop Shipment and when I go to post the Sales Order (Invoice) as I had no problems shipping.
The Sales Header does not exist. Identification fields and values:
Document Type='Quote',No=''
I have no Quotes on the system and I have checked the Sales Header Table for any odd records.
If I create a normal order without a Purchasing Code, I have no errors.
When I run the debugger this is the code where it errors.
SalesLine.COPY(Rec);
-->TempSalesHeader.GET("Document Type","Document No.");
TemporaryHeader := FALSE;
CalculateInvoiceDiscount(TempSalesHeader,TempSalesLine);
Rec := SalesLine;
Can anyone Help?
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n