How can I copy non like-named fields from an input File Layout to a record? -- Loading a file using
BACKGROUND:
I'm slogging through the process of writing an AE program to read a flat file and wanting to load it's contents using CI.
So far, the program has successfully read the file and used the CopyFieldsTo command to copy like-named fields to a record (table), the record was successfully populated, and the data saved. Non like-named fields were left blank.
The File Layout (Header, Detail, and Totals) are defined using the vendor field names and I do not want to create these names in our PS system.
QUESTION:
Is there a PeopleCode command or way to move non like-named fields (field by field) from the File Layout to the database record?