Supply Chain Management - PSFT (MOSC)

MOSC Banner

%Mode value when calling from CI

edited Oct 10, 2019 3:41PM in Supply Chain Management - PSFT (MOSC) 3 commentsAnswered ✓

Hi Everyone,

I am calling CI for Requisition component  from request handler of rest service. I am trying to change the value of some the fields and I am able to do so. But when I am changing the value , Req_status is getting set from 'Pending' to 'Approved'. After analyzing the trace, I found that its happening at REQ_HDR.REQ_ID.SavePreChange which set the value to 'A' based on approval type.

This approval type is getting decided from below function REQ_HDR.REQ_ID.Rowinit.

&c_approval = getApprovalType(REQ_HDR.BUSINESS_UNIT.Value, REQ_HDR.REQ_ID.Value, BUS_UNIT_TBL_PM.REQ_AMT_APPR_REQD.Value, BUS_UNIT_TBL_PM.REQ_CF_APPR_REQD.Value, BUS_UNIT_TBL_PM.REQ_AF_USED.Value, BUS_UNIT_TBL_PM.REQ_APPR_REQD.Value);

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center