We are working with 20.222.0017 build and trying to implement a customization to export multiple order types from Acumatica to BigC. In this build version we do not have the feasibility to export multiple order types from Acumatica to BigC. We did some modification and able to perform Prepare Data which brings the orders from more than one order types on Sync History but these records result in an error as: "The 900023 order has been skipped because the PX.Api.ContractBased.Models.StringValue order type is not supported." with “Invalid” status. But the order type that is configured in “Order Type for Import” field those orders are coming with “Prepared” status and we are able to sync such orders from Acumatica to BigC.
Can you please review the attached sample code and suggest the best possible way to achieve it. Thanks!