INV_DUPL_ORG_ITEM_SEG error while creating item through EGO_iTEM_PUb
HI,
i am facing one issue while creating item through EGO_ITEMs_PUB api in R12.2
Steps to reproduce issue.
1. Inserted 2 records for same item , one is Master org and second one is child org
2. Performed the necessary validation before assigning item
2. assigning validated data to item_tbl Type in EGO_ITEM_PUB and called EG_ITEM_PUB.process_item
Errror Observered :
i checked log and found that master record is created with api status as S , while child record status as E ,stating error message as INV_DUPL_ORG_ITEM_SEG .However I checked in front end and surprisng, I could see my master item has been created and same has been assigned to child org as well. As I need to update my staging table Status based on ApI status, I need the return status to be S for both the records.