Settle customer transactions from code

Code
CustVendOpenTransManager manager;

manager CustVendOpenTransManager::construct(custTable::find(custAccount));
                                
manager.parmSettlePostingType(SettleDatePrinc::SelectDate);
manager.parmSettlePostingDate(systemdateget());
manager.updateTransMarked(custTransOpentrue);
manager.updateTransMarked(custTransOpenSettletrue);
manager.settleMarkedTrans();


AX versionMicrosoft Dynamics AX 2009
PropertiesCreated by Alex 2014-12-09 11:41:38 (Public)