Sales Channel Customer
Additional information on customers
While processing Channel Orders into Business Central Sales Orders, CSM will follow the New and Guest Customer Behaviors specified on the Sales Channel Card.
Setting the behavior to Auto Create will cause CSM to determine whether a customer already exists in Business Central, or whether one needs to be created. To do this, CSM looks at the Sales Channel Customers table to find a match. If no match is found, a new Business Central customer will be created using the customer template specified in the sales channel setup.
If the Channel Order indicates that this is a Guest Checkout, CSM will look at the Sales Channel Customers to find an email (Channel User Code) Match. If a match is not found, CSM will follow the Customer Behavior specified on the Sales Channel. If it is set to Auto Create, a new Business Central Customer is created using the number series specified on the Sales Channel.
For those orders where the Guest Checkout is false, CSM first looks at the External ID to see if there is a match. It then looks at the email for Guest Checkouts, and if found, updates the record with the ID and uses that as the Customer for Sales Order Building Purposes.
If the Sales Channel Customer Behavior is set to Sales Channel, then Business Central Sales Orders will always be built using the Customer specified in the Sales Channel Customer Template and will override the Sales Orders shipping and billing addresses to those found on the Channel Order.
If the Sales Channel Customer Behavior is set to Manual, and no match is found in the Sales Channel Customers table, then the Sales Order Creation process will fail. In this case, you would manually set up the CSM Sales Channel Customer record and link it to the appropriate Business Central customer (and optional contact). You would also need to set the Sales Channel Customer External ID to match the ID that the platform sent for the order.