Invoice charges are not picked for partially returned receipts
We are following the said steps.
1. Process PO Qty 100
2. Receive 100
3. Accept 90
4. Reject 10
5. Return to Vendor 10
We process an invoice with Line Type as Miscellaneous and Cost Factor as Local Freight (defined in LCM and a material cost component class in OPM Financials). We match the said line with Receipt. Validate. Run create accounting. We see that the RCV_CHARGE_ADDITIONS_FLAG on the invoice distribution is 'N'.
We run the Extract AP Invoice Charges request from OPM Financials/Purchasing we see dont see the flag changed to 'Y'.
However, in case where there are no Return to Vendor transactions the flag changes to 'Y" and in the log file we that said number of charges are extracted by the request and the same are picked by Actual Cost Processor in OPM Financials.