I want to post an PackingSlip from Code - using PurchFormLetter.update
().
static void Job28(Args _args)
{
purchformletter purchformletter;
;
ttsbegin;
purchformletter = PurchFormLetter::construct
(DocumentStatus::PackingSlip);
purchformletter.update(PurchTable::find('20067'),
NumberSeq::newGetNum(PurchParameters::numRefPurchPackingSlipId(),
true, true).num(), today(),PurchUpdate::ReceiveNow,
AccountOrder::None, NoYes::No, Noyes::No);
ttscommit;
}
It does not seem to use the number generated for the method, and I
get an error message saying: PackingSlipId '' was already used
14.04.2004.
Posting of purchaseorder 20067 is cancelled.
What to do?
Can I do something with setup? Must I change PurchFormLetter - to use
the number given as parameter, when given?
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

