For Tectura Project as part of our Navision 4.0, I want to write a dataport that says:
Find this position number. Then create a new level. Then create several new positions using these item numbers and quantities, etc.
Can someone tell me how to write a regular Navision dataport that says:
Find this particular record. Then populate these fields with this information.
0
Comments
Write your code manually in the On after Import Trigger and use the values stored in the temporary filled Variables.
Hope this may help you.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Set the dataport fields as you normally would.
OnAfterImport, declare a local variable of the one you want to match.
if Variable.get(PK) then begin
//set fields here
variable.modify;
end;
You don't need any more code than that, no arrays or temporary variables.
-a
How to do that ? Insert in a temporary array?
Is there a special keyword such as "Entier" in French for Integer.
Thanks
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n