Procurement - EBS (MOSC)

MOSC Banner

Facing issue withMass Closure of Purchase Orders

edited Apr 20, 2016 5:05AM in Procurement - EBS (MOSC) 9 commentsAnswered

Hi All,

I am using the below mentioned in order to Finally Close a list of purchase orders in R12 system:

Begin

fnd_global.apps_initialize (user_id => 62190, resp_id => 54198, resp_appl_id => 201);

FOR po_head in c_po_details LOOP

mo_global.set_policy_context ('S', po_head.org_id);

x_returned := po_actions.close_po(

p_docid => po_head.po_header_id,

p_doctyp => po_head.document_type_code,

p_docsubtyp => po_head.document_subtype,

p_lineid => NULL,

p_shipid => NULL,

p_action => x_action,

p_reason => NULL,

p_calling_mode => x_calling_mode,

p_conc_flag => x_conc_flag

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