Hi,
can someone please explain how to create Retails POS Transactions from X++ / C# code ?
-------------------
I'll explain the requirement in short as follows, which lead me to the above question :
1) We have a third party e-commerce website sending Customer order data via XML ( as order and order lines).
2) We also maintain a series of AX 2012 Retail POS stores.
3) The business needs to create sales orders from incoming XML and at the same time wants to create retail transactions in AX ( mainly RetailTransactionTable, RetailTransactionSalesTrans, RetailTransactionPaymentTrans etc..) for use by BI reporting.
I thought to Import the XML data to staging tables in AX and invoke the POS code that creates Retail transactions in Channel database ( we will have a separate dummy Channel and a pos register configured for this inside the head quarters to cater for this.). Then the standard P jobs will upload the transactions to AX Retail tables and from there onwards the AX code will handle posting the transactions.
As a result we get :
1) Records in Retail transactions tables for BI reporting
2) sales orders and postings required for the financials transactions.
------
I hope the above sounds clear and hope to hear from someone who has expertise on the above. Any comments on the above design is highly appreciated.
Kind Regards
Chamila