Please do and let us know a)Go to CustInvoiceJour Table. Check is there rows with SalesId == current sales order & RefNum == RefNum::SalesOrder b) If there is record in CustInvoiceJour table with above condition, then there is a bug in your approach. so please share from starting what you did in detail with code.
↧