Issue in receiving shipment through ROI
Issue in receiving shipment through ROI:
Details:
ASN is received with ship_to_org as ORG1 and Packslip Number P1
Later same packslip P1 is triggered with ship_to_org as ORG2.
Created intrasit shipment using APIs for the above shipment.
As packlsip is same for this shipment also ,shipment line is added to the existing shipment header.
When we try to receive this shipment Receiving transaction program failed to process with below error.
Error: The TO_ORGANIZATION_ID specified is invalid. The value specified (ORG2) does not match the expected value (ORG1).
Root cause:
ship_to_org_id in rcv_shipment_headers is ORG1 and in rcv_transactions_interface ship_to_org_id is inserted as ORG2.