X++:
purchFormLetter = PurchFormLetter::construct(DocumentStatus::Invoice);
select * from purchTable
join purchLine
where purchTable.PurchId == "10623" && (purchLine.PurchId==purchTable.PurchId);
purchLine = PurchLine::findRecId(purchLine.RecId,true);
purchLine.PurchReceivedNow=1;
purchLine.update();
purchFormLetter.update(purchTable,
"777",
systemDateGet(),
PurchUpdate::ReceiveNow,
AccountOrder::None,
NoYes::No,
NoYes::No);
Почему ругается на кол-во??? ((