Table of Contents

rm29905: OTD: No reason code or error available in case of multiple selection (more than one page) "Select all Matches"

rm29905: OTD: No reason code or error available in case of multiple selection (more than one page) "Select all Matches"

Rollback!

Changes on the DB I've made (TODO: rollback them after the ticket is solved):

-- enable OTD process for OrgId 101695 (Airbus Espana)
UPDATE tOTD_OrgConfig SET cOTDPROCESS=1 WHERE cOrgId=101695;
 
-- enable OTD process for OrgId 101710
UPDATE tOTD_OrgConfig SET cOTDPROCESS=1 WHERE cOrgId=101710;
 
-- insert OTD causes for CG 100023 (Airsupply Industrial Group)
INSERT INTO TOTD_CAUSES (CORGID,CLISTTYPE,CCAUSE,CCAUSETYPE) VALUES (100023,'SUPPLIER_REJECT','PO received late','CUSTOMER');
INSERT INTO TOTD_CAUSES (CORGID,CLISTTYPE,CCAUSE,CCAUSETYPE) VALUES (100023,'SUPPLIER_REJECT','Employee sick','OTHER');

Reproduce

Supplier User: TST_SE_RUAG_POVMI

Buyer User:

po_1 :

po_2:

Results

On one page:

Action 'Reject' is not available for all selected OTD lines. Please select OTD line(s) from the same customer legal entity.

⇒ correct

Misc

Seller CP Id Buyer CP Id Org Id CG Id
10006108 101848 101659 100011
10006108 10006122 101710 100023

User TST_SE_RUAG_POVMI fetches OTD lines for following seller CPs: 10006108, 10006109, 10006316. For these seller CPs we have following buyer CPs:

Buyer CP Id Org Id CG Id
101848 101659 100011
101875 101659 100011
101863 101700 100011
101883 101700 100011
10006122101710 100023

Reproduce (Airbus)

Users / Orgs / CPs

Supplier user: TST_SE_GOOD_ALL

Buyer users:

For po_1:

po_2: