Hi, When I am import a text file by using data port with data item purchase line..when I am entering quantity and unit of measure in purchase invoice I got a error as vendor no. Does not exist..how I can rectify this error.
Hi,
For Entering data into purchase invoice line you need to have a purchase invoice header already created.
You cannot have orphan purchase lines. So first create the purchase header With Document Type, No and Vendor No.
Then Based on purchase header add those fields in purchase line -
Document Type = Document Type of header.
Document No = No of header.
Once you do this you can add a new line after checking existing lines in the purchase lines for that purchase header.
Hi, Also make sure you are validating the fields. There is a "buy-from vendor no." field on the purchase line which gets set when the document no is validated.
Thank you all... I already created purchase header..how can I validate but from vendor no. Field in purchase line...which trigger I want to write..what type of code I want to wrote..plz tell me
Answers
For Entering data into purchase invoice line you need to have a purchase invoice header already created.
You cannot have orphan purchase lines. So first create the purchase header With Document Type, No and Vendor No.
Then Based on purchase header add those fields in purchase line -
Document Type = Document Type of header.
Document No = No of header.
Once you do this you can add a new line after checking existing lines in the purchase lines for that purchase header.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
https://msdn.microsoft.com/en-us/library/dd355135.aspx