We are running AX 2012 R3 CU8. When generating a packing slip for a customer, the wrong packing slip is generated. The entire packing slip is incorrect, not just part of it. It's an odd problem and has happened several times over the past 2 months.
Here's what we're seeing: The user reports the wrong packing slips are being generated. This continues until we reset the AOS. After that, the packing slips that were wrong still print wrong, but newly generated packing slips are OK.
We've determined it's related to the record ids already existing in the SalesPackingSlipHeaderTmp and SalesPackingSlipDetailsTmp tables for different packing slips. To get around this problem we have commented out the following code from the ProcessReport method in the SalesPackingSlipDP class. //localSalesPackingSlipHeaderTmp = SalesPackingSlipHeaderTmp::findJourRecId(recId); This causes it to skip reading the records from the 2 tables and generates a new packing slip each time.
Does anyone have any ideas why this happens? Can we delete both of the tables on a regular basis?
Any other ideas or suggestions?
*This post is locked for comments
I have the same question (0)