Using Navision 4.0 SP3:
I am trying to find out if it is possible to run a dataport to import values into the Gen. Journal Line Table, however, during the import, I need to validate information from another table to find out if the import is accurate.
Gen. Journal Line table import contains "Job No.", "Job Cost Type", and "Account No." fields. These fields are also found in the Job table and I need to look up the "Job No." and "Job Cost Type" fields from the import, find the record in the Job table that contains them, and return the "Material Cost G/L Account" or "Labour Cost G/L Account" field to compare with the "Account No." being imported. (this is being done purely to verify that the import file contains the correct G/L code for the job type being performed).
Sample import:
Job No.: 123
Job Cost Type: Labour
Account No.: 555-555-5555
Sample Job Table:
Job No.: 123
Materials Cost G/L Account: 555-555-5555
Labour Cost G/L Account: 555-555-5556
So the import process would state that "Job: 123 with Labour: 555-555-5555 is an invalid G/L account"
Is this possible within a Dataport, and if so, can someone point me in the right direction? It would be much appreciated!
Regards,
Jonathan
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
validating those that need validation
http://www.BiloBeauty.com
http://www.autismspeaks.org