I am trying to import sales invoice info from a flat file into the Sales Header table (and Sales Line table). The key (No. Series) value is not part of the file so I am attempting to generate it in the OnAfterImportRecord trigger. I am having trouble referencing the "No." field. It is not part of the dataport reccord and if I declare a global variable, the dataport fields are not included. (I tried to call the OnInsert trigger of Sales Header table from the dataport without success - is this even possible?) Any suggestions would be appreciated!
SGM
0
Comments