Tuesday, September 11, 2012

How to set ORG_ID for MOAC enabled conc. programs using FND_REQUEST.SUBMIT_REQUEST or CONCSUB

Example


1. FND_REQUEST.SUBMIT_REQUEST
[Oracle Doc ID: 1383266.1]

ORG_ID for a concurrent request can be set by using FND_REQUEST.SET_ORG_ID and needs to be set before submitting request using FND_REQUEST.SUBMIT_REQUEST.

FND_REQUEST.SET_ORG_ID(ORG_ID);
FND_REQUEST.SUBMIT_REQUEST(Parameters);

2. CONCSUB
[Oracle Doc ID: 457519.1]

CONCSUB ${1} AR "Receivables Manager" ${3} WAIT=Y CONCURRENT AR ARLPLB ORG_ID=${25} \"${new_trans}\" \"${transmission_id}\" \"${4}\" \"${trans_name}\" \"${10}\" \"${data_file_path}\" \"${13}\" \"${14}\" \"${15}\" \"${16}\" \"${17}\" \"${18}\" \"${19}\" \"${20}\" \"${21}\" \"${22}\" \"${23}\" \"${24}\" \"${25}\" \"${26}\" \"${27}\"