A customer just installed the kernel rollup 3.
When the SalesInvoice fetch method loops through the custInvoiceTrans table
there is a problem that in the first loop (only the first)
custInvoiceTrans.recId will be blanked out after used in
this.send(custInvoiceTrans). No other fields are blanked out.
So when the code hits docuSend::… nothing is found.
Its easy to go around this problem, but I dont want to go around…
Anyone now about this?
custInvoiceTrans = tradeLoopTrans.get(tablenum(custInvoiceTrans));
this.send(custInvoiceTrans); ← This clears recId field, but only in the first loop
if ((CustFormletterDocument::find().docuOnInvoice == docuOnFormular::Line) ||
(CustFormletterDocument::find().docuOnInvoice == docuOnFormular::All))
Docu::send(this, docuRefSearch::newTypeIdAndRestriction(custInvoiceTrans, CustFormletterDocument::find().docuTypeInvoice,
Question has been asked before on the forum, but there was no answears…