Supply Chain Management - PSFT (MOSC)

MOSC Banner

Lines are getting overridden while generating JSON response.

edited Nov 6, 2019 4:01AM in Supply Chain Management - PSFT (MOSC) 4 commentsAnswered

Hi Team,

I need to generate response in JSON format. I am getting the response in XML format. So I was trying it with JSON builder . With below code i am getting json response but when Requisition has more than one req_line then it generates JSON for last req line and corresponding Ship line and dist line.  Can you suggest that what i am missing out because of which it is overriding .

Code :

Local Rowset &rs_hdr, &rs_line, &rs_ship_line, &rs_dist, &rs_po_addr;

   &rs_po_addr = CreateRowset(Record.PO_ADDR_REQ_VW);

   &rs_dist = CreateRowset(Record.REQ_LN_DISTRIB);

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