Hi folks,
Quick question should we be able to return of goods for a line in a PO which was received but never invoiced.
If yes then please suggest a fix for me , because when i try to do ROG (return of goods) for a line item i get the error message ""A pending vendor invoice exists for this product receipt and must be removed."//
Further debugging & investigation reveals that error is coming from below code and
Class PurchFormLetter_packing slip
void clicked()
{
InventQualityOrderTable inventQualityOrderTable = vendPackingSlipJour.openQualityOrder();
VendPackingSlipJour localVendPackingSlipJour = vendPackingSlipJour.data();
if (localVendPackingSlipJour.existsPendingVendorInvoice())
{
throw error("@SYP4986046"); // "A pending vendor invoice exists for this product receipt and must be removed."//
}