|
![]() |
#1 |
Участник
|
Видел я этот код , но он не работает. Если посмотреть сам Update
void update(Common source, Num _number, TransDate _transDate = this.transDate(), PurchUpdate _specQty = PurchUpdate::All, AccountOrder _accountOrder = AccountOrder::None, NoYes _proforma = purchParmUpdate.proforma, NoYes _printFormLetter = printFormLetter) {; switch(source.tableId) { case tablenum(PurchTable) : this.purchTable(source); this.initParmPurchTable(purchTable); break; } if (!_transDate) _transDate = systemDateGet(); this.transDate (_transDate); this.specQty (_specQty); this.proforma (_proforma); this.printFormLetter (_printFormLetter); this.printPromissoryNote(NoYes::No); this.createParmUpdate(); this.initParameters(purchParmUpdate, PrintOut::Current); // Printout this.initLinesQuery(); this.progressHide(); this.run(); } видно , что _number здесь и не используется, соответственно и номер накладной не создается. |
|