Hi Experts,
I am trying to create and post statements through x++ code.
Statement got created and it has updated 'Statement number' in RetailTransactionTable & RetailTransactionSalesTrans
Also all values are updated properly in RetailStatementTable.
However, the below code which is used to post statements is throwing an error "BOX API can't be used from non-interactive sessions"
RetailStoreOrderSynchronizer::CreateStoreSalesorders (statementTable.statementId, true);
The above line is the replica of native code which posts statements used in batch and also while posting statements manually.
Am I missing any of the setups etc.
Thanks.
N.Sridhar
*This post is locked for comments