error-vendor no. does not exist

Vazid_490Vazid_490 Member Posts: 52
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.

Answers

  • postsauravpostsaurav Member Posts: 708
    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.

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • KishormKishorm Member Posts: 921
    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.
  • KishormKishorm Member Posts: 921
    P.S. You should really have a more descriptive title - "error" is next to useless in terms of knowing what this post could be about.
  • Vazid_490Vazid_490 Member Posts: 52
    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
Sign In or Register to comment.