SalesFormLetter salesFormLetter;
SalesTable _salesTable;
;
ttsbegin;
_salesTable = SalesTable::find("DA-210542");
salesFormLetter = SalesFormLetter::construct(DocumentStatus::Packingslip);
salesFormLetter.update(_salesTable, //SalesTable record to be posted
systemDateGet(), //Transaction date
SalesUpdate::All, //Which qty should be used
AccountOrder::None,
NoYes::No, //Is document a proforma
NoYes::No); //Should document be printed
ttscommit;
Aucun commentaire:
Enregistrer un commentaire