I'm importing customers using DMF (a.k.a. DIXF). I need to include MCRCustTable in the import process, but I have been unsuccessful.
MCRCustTable is related to CustTable by CustTable.RecId == MCRCustTable.CustTable.
I tried creating a custom entity based on the MCRCustTable​​​​, with a "generate" method to lookup the CustTable.RecId. The problem I ran into with this method is that it creates the first record, and then updates the target on subsequent source records. For example, when importing two records with customer ID 1 and 2, it creates the record with customer ID 1, then changes the customer ID to 2, and I end up with one record instead of two.
I also tried adding the MCRCustTable to the DMFCustomerTargetEntity (with the default relation). That results in the first record importing with a value of zero in the CustTable field and the rest hitting an error: "Cannot create a record in Customers (MCRCustTable). Reference: 0, lha. The record already exists."
Does anyone have any suggestions on how to make this work?
Thanks in advance.
*This post is locked for comments
I have the same question (0)