HELLO
WHEN FROM SALES ORDER I POST SHIP+INVOICE I HAVE 1 INVOICE AND 1 SHIPMENT.
I WANT IN THE INVOICE FORM TO BE PRINTED THE TRANSPORTATION DESCRIPTION OF THE RELATED SHIPMENT.
I PUT IN THE FORM 206 THE SALES SHIPMENT HEADER IN ORDER TO PICK UP THE FIELD "TRANSPORTATION DESC" BUT DOES NOT PRINT ANYTHING
HOW I CAN DRAW THIS FIELD FROM THE SHIPMENT?
THANKS IN ADVANCE
GD
0
Answers
Or have you made a function in the sales invoice table which returns the code from the shipment?
Please give me some more info's (Without the caps
i worked only in with report 206 where i put the shipment header as a data item, in order to draw this field...i think i go the rong direction
i need a function (in the sales invoice table) to take this field from the shipment table?
gd
If this is not possible you need to read the sales shipment from a variable on the 206 report.
They should have the same Order No.
First you need to find out how the field on the sales shipment is updated.
Normaly the fields in the sales header, sales shipment and sales invoice have the same field numbers. This allows Navision to use Transferfields in the posting routine.
With this, it is possible to add new fields to all 3 tables. If the numbers are the same, the posting routine is updated automaticaly.
A problem however is in the fields that are create by Navision. If a field exists in the sales shipment with no. 100 you cannot add this to the sales invoice with the same number using your development license.
What is the field number of the Transportation Description in the sales shipment?
I hope I explained this correctly. :?
the field No. 16751 in shipemt Header Table
and does not allow me to create the same in the invoice header!!!!
The other solution about the variable in sales invoice report 206. i put as variable SalesShipHeader record: Sales Shipment Header.
and i wrote a function on SalesInvoiceHeader - OnAfterGetRecord
SalesShipHeader.GET(Sales Shipment Header.Transportation Description);
but did not print anynthing!!!
gd
instread of the GET thing?
You can only use get on the primairy key.
the invoice report crashes when i create an invoice directly from the invoice form (problably because there is not an OrderNo)
can i exclude somehow this process?
gd
thanks a lot