Hi all,
I am currently in the middle of creating a simple migration job to update a Price List. I have created a .csv file that contains the 5 columns of data required for the import. This currently works fine.
The second migration job takes care of the copy from the custom table containing the data from the 5 columns and imports into the sales_price_list_part table. It is here that I am having trouble.
1 of the 5 columns is data destined for a custom field within the sales_price_list_part table. Because of this I have selected the custom field view in my method list. By default it selects the standard (non custom) version of the API. In this instance I only want to import new rows.
When I navigate to Source Mapping it has now auto-populated the available fields from the CFV.
As you can see I have all the relevant defaults added etc as well as the source columns linked. Importantly please note that Pos 260 contains the CF$_CUST_LEAD_TIME field which I have linked to LEAD_TIME.
When I run the migration job I have deliberately set 4 rows to report incorrectly causing an error so I can view the data that the job is parsing.
As you can see above the last line shows the LEAD_TIME data pulling through as 56. The data pulled from the spreadsheet shows that all entries have a number assigned to the LEAD_TIME. The interesting part here is that when I view the imported data on the Price List -> Part Based tab the results all show no lead time.
I have tried setting a default value of ‘1’ on the custom field instead of linking to my source data and I still get no data returned.
I have also tried changing the API being used in the method list to the CFP rather than the API equivalent but that causes a different issue.
I am hoping that somebody can point me in the right direction or can advise whether or not migrating data into a custom field is possible as I have never attempted it before.
Regards
Nathan