Options

Problem with Field validate (NAV 2015)

poppinspoppins Member Posts: 647
edited 2015-01-23 in NAV Three Tier
Hi everyone,

I have a problem with purchase invoice in NAV 2015.
A code is written under the OnValidate trigger of the field "Buy-from Vendor No." that contains a GET() of the current Purchase Order.
I get an error message saying that the Purchase Order does not exist...
I am confused...
When is the Purchase order really created in the database???And where do I need to put my code so that I don't get the error anymore?

Thanks in advance :mrgreen:

Comments

  • Options
    tinoruijstinoruijs Member Posts: 1,226
    The GET is not necessary.
    What do you want to do?
    Can you show the code?

    Tino Ruijs
    Microsoft Dynamics NAV specialist
Sign In or Register to comment.