When using a dataport to import data, is it possible to mix data fields that are actually a field in the table and a "variable" field that will be manipulated before being inserted in the table.
Each dataport field has validation triggers as well that you can use, say to format a date in a certain way, or to ensure that an incoming string doesn't exceed the field's length. Open the dataport in design, open the dataport fields list, put the cursor on one of the fields and hit F9. You'll see an OnAfterFormatField trigger (before it is written to the export file) and an OnBeforeEvaluateField (before the value is entered into the field).
What I am doing is exporting data from the customers table, most fields are the same but there's a couple of fields that need to be "manipulated" before inserting into the new customer database table.
Comments
Yes with dataport you can write update code for other fields/table and/or manipulation.
If you give a better explanation we can point you in the right direction.
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
RIS Plus, LLC
What I am doing is exporting data from the customers table, most fields are the same but there's a couple of fields that need to be "manipulated" before inserting into the new customer database table.
Thanks.