Hi all,
I have added some fields to the Purchase Header Table and the same i have added to Purchase Invoice Header table.
Now i want to update the fields of Purch. Inv Header Table having the data of Purchase Header table, when the invoice is posted.
can anybody guide me how to do this.
Markandey Pandey
0
Comments
Lookup TRANSFERFIELDS command.
Thanx
So you shouldn't need any programming.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
IF NOT FIND('-') THEN BEGIN
INIT;
RIS Plus, LLC
(He asked for the red highlight)
but the whole line of code is a really expensive way of doing an ISEMPTY, especially on SQL.
In these kind of situations please replace it with:
IF ISEMPTY THEN BEGIN
INIT;
Regards,
Willy
RIS Plus, LLC
You should have a look in Navision help and view about findset and findfirst.
Without debugging the SQL-queries that NAV creates I found this in the help:
FINDFIRST (Record)
Use this function to find the first record in a table based on the current key and filter.
FIND (Record)
Use this function to find a record in a C/SIDE table based on the values stored in keys.
'-' The first record in the table ('-' can only be used alone)
I guess the case is closed :roll:
You can roll your eyes at me all you want. They are not the same.
RIS Plus, LLC
OTOH, you could read more documentation than a superficial scan of and old help file.
TVision Technology Ltd
Sorry for that, guys.