====== rm29905: OTD: No reason code or error available in case of multiple selection (more than one page) "Select all Matches" ====== [[https://cust-projects.seeburger.de/redmine/issues/29905|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 : * TST_BY_AFR_AXELADM -> can set PO status to RECEIVED, but no OTD process available * TST_BY_AFR_TOF (User 'SMA0000N0NF2' has no permission to collaborate on PO line 'AIRB/AGE/61/rm29905_1_300/00010/0001'. Processing for the PO line is skipped.) * TST_GBU_AFR_ADM_RW (?) * TST_BY_AGE_ADMR (Button "Actions" not available!) po_2: * TST_BY_IND_ADMALL ==== 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| |10006122|101710 |100023| ===== Reproduce (Airbus) ===== ==== Users / Orgs / CPs ==== Supplier user: TST_SE_GOOD_ALL Buyer users: For po_1: * TST_BY_AFR_ADMRW * TST_BY_AFR_AXELADM -> can set PO status to RECEIVED, but no OTD process available * TST_BY_AFR_TOF (User 'SMA0000N0NF2' has no permission to collaborate on PO line 'AIRB/AGE/61/rm29905_1_300/00010/0001'. Processing for the PO line is skipped.) * TST_GBU_AFR_ADM_RW (?) * TST_BY_AGE_ADMR (Button "Actions" not available!) po_2: * TST_BY_AFR_AXELADM