SalesFormLetter_Facture_RU salesFormLetter = SalesFormLetter::construct(DocumentStatus::Facture_RU); salesFormLetter.transDate(_transDate); salesFormLetter.update(salesTable, _transDate, SalesUpdate::All, AccountOrder::None, false, true);