0
這是我的代碼:參數對象未初始化AX 2012
static void main(Args args)
{
LedgerJournalId ledgerJournalId;
HSinvoiceAcknowledgement hSinvoiceAcknowledgement = new HSinvoiceAcknowledgement();
if (classidget(args.caller()) == classnum(syssetupformrun))
{
if (formhasmethod(args.caller(), identifierstr(HSjournalnum)))
{
ledgerjournalid = args.caller().HSjournalnum();
}
}
if(ledgerJournalId)
{
hSinvoiceAcknowledgement.parmJournalNum(ledgerJournalId);
}
if (hSinvoiceAcknowledgement.prompt())
{
hSinvoiceAcknowledgement.run();
}
}
我參數數量ARGS在我的主要方法參數但是它說,
參數對象未初始化
可能是什麼問題?
謝謝! –