|
24.03.2010, 02:06 | #1 |
Участник
|
Dynamics AX Sustained Engineering: Sale Order Batch Invoicing reprints invoices from prior runs, when “Print” is set to ‘After’ on AR >> Periodic >> Sales Update >> Invoice form
Источник: http://blogs.technet.com/dynamicsaxs...oice-form.aspx
============== The issue is occurring because Sales Orders, to be invoiced, are retrieved based on "ParmId" from the CustInvoiceJour table and one "ParmId" is maintained by a Batch Job. Fix is to add a condition based on ‘PrintedOriginals’, while building the Journal List for Invoices. ‘PrintedOriginals’ is the field on CustInvoiceJour table, which indicates the count of invoice printed Note: This recommendation is for invoices only. Similar issue can exist for confirmations/picking list/packing slip documents. This fix is applied in \Classes\SalesFormLetterEndMultiThread\method\buildJournalList case classnum(SalesFormLetter_Invoice), classnum(SalesFormLetter_InvoiceProject), classnum(SalesFormLetter_FreeText) : while select custInvoiceJour where custInvoiceJour.ParmId == updateParmId && !custInvoiceJour.PrintedOriginals //Condition added { journalList.ins(custInvoiceJour); } break; Источник: http://blogs.technet.com/dynamicsaxs...oice-form.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|