public static void settlement(CustVendTransOpen _trans1,CustVendTransOpen _trans2,
CustVendACType _type = CustVendACType::Vend)
{
CustVendOpenTransManager manager;
if (_type == CustVendACType::Vend)
manager = CustVendOpenTransManager::construct(VendTable::find(_trans1.AccountNum));
else
manager = CustVendOpenTransManager::construct(CustTable::find(_trans1.AccountNum));
manager.updateTransMarked(_trans1, true);
manager.updateTransMarked(_trans2, true);
manager.settleMarkedTrans();
}
Axapta - Usable functions for queries
5 yıl önce
Hiç yorum yok:
Yorum Gönder