DBA Data[Home] [Help]

APPS.CSTPACDP dependencies on CSTPSCHK

Line 5393: l_acct := CSTPSCHK.std_get_account_id(i_org_id, i_txn_id, sign(i_p_qty), l_acct_line_type,

5389: and layer_id = l_layer_id
5390: and cost_element_id = cost_element;
5391:
5392: if (l_cost is not NULL) then
5393: l_acct := CSTPSCHK.std_get_account_id(i_org_id, i_txn_id, sign(i_p_qty), l_acct_line_type,
5394: cost_element, 0, i_subinv, l_cost_grp_id, l_exp,
5395: i_snd_rcv, l_err_num, l_err_code, l_err_msg);
5396: -- check error
5397: if(l_err_num<>0) then

Line 6064: l_acct := CSTPSCHK.std_get_account_id(i_org_id, i_txn_id, sign(i_p_qty),

6060: cost_element, NULL, i_subinv,
6061: 0, i_snd_rcv, l_err_num, l_err_code,
6062: l_err_msg,i_cost_grp_id);
6063: else
6064: l_acct := CSTPSCHK.std_get_account_id(i_org_id, i_txn_id, sign(i_p_qty),
6065: i_acct_line_type, cost_element, 0, i_subinv, i_cost_grp_id,
6066: 0, i_snd_rcv, l_err_num, l_err_code, l_err_msg);
6067: end if;
6068:

Line 6233: l_acct := CSTPSCHK.std_get_account_id(i_org_id, i_txn_id, sign(i_p_qty),

6229: NULL, NULL, i_subinv,
6230: 0, i_snd_rcv, l_err_num, l_err_code,
6231: l_err_msg,i_cost_grp_id);
6232: else
6233: l_acct := CSTPSCHK.std_get_account_id(i_org_id, i_txn_id, sign(i_p_qty),
6234: i_acct_line_type, NULL, 0, i_subinv, i_cost_grp_id,
6235: 0, i_snd_rcv, l_err_num, l_err_code, l_err_msg);
6236: end if;
6237:

Line 7656: l_return_code := CSTPSCHK.std_cost_dist_hook( org_id, trans_id,

7652: |hook has been used.
7653: +----------------------------------------------------------------------*/
7654:
7655: l_stmt_num := 290;
7656: l_return_code := CSTPSCHK.std_cost_dist_hook( org_id, trans_id,
7657: user_id, login_id, req_id, prg_appid,
7658: prg_id, O_Error_Num, O_Error_Code, O_Error_Message);
7659:
7660: if (O_Error_Num <> 0)

Line 8020: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8016: /* Cr Sending Org Freight Exp account */
8017: if (txn_act_id = 3) and (trp_cost <> 0)
8018: then
8019:
8020: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8021: -1, 12, 1, 0,
8022: subinv, cg_id, 0, snd_rcv,
8023: O_Error_Num, O_Error_Code, O_Error_Message);
8024:

Line 8057: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8053:
8054: /*----------------------------------------------------------------------+
8055: | Dr Receivalbes with transfer price
8056: +----------------------------------------------------------------------*/
8057: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8058: 1, 10, 1, 0,
8059: subinv, cg_id, 0, snd_rcv,
8060: O_Error_Num, O_Error_Code, O_Error_Message);
8061:

Line 8127: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8123:
8124: if (interorg_profit <> 0)
8125: then
8126:
8127: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8128: -1, G_INTERORG_PROFIT_ACCT, 1, 0,
8129: subinv, cg_id, 0, snd_rcv,
8130: O_Error_Num, O_Error_Code, O_Error_Message);
8131:

Line 8239: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8235:
8236: /*----------------------------------------------------------------------+
8237: | Cr Inv. Val @ with zero cost
8238: +----------------------------------------------------------------------*/
8239: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8240: -1, 1, 1, 0,
8241: subinv, cg_id, 0, snd_rcv,
8242: O_Error_Num, O_Error_Code, O_Error_Message);
8243:

Line 8269: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8265:
8266: /*----------------------------------------------------------------------+
8267: | Dr Intransit Acct with zero cost
8268: +----------------------------------------------------------------------*/
8269: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8270: -1, 14, 1, 0,
8271: subinv, cg_id, 0, snd_rcv,
8272: O_Error_Num, O_Error_Code, O_Error_Message);
8273:

Line 8399: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8395: /* Amount to account */
8396: payamt := interorg_xfr_price * p_qty;
8397:
8398:
8399: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8400: -1, 9, 1, 0,
8401: subinv, cg_id, 0, snd_rcv,
8402: O_Error_Num, O_Error_Code, O_Error_Message);
8403:

Line 8436: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8432: then
8433:
8434: /* Dr expense account for direct transfer */
8435:
8436: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8437: -1, 2, 1, 0,
8438: subinv, cg_id, 0, snd_rcv,
8439: O_Error_Num, O_Error_Code, O_Error_Message);
8440:

Line 8539: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8535: WHERE transaction_id = trans_id
8536: RETURNING variance_amount INTO ppv_amt;
8537:
8538:
8539: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8540: -1, 6, 1, 0,
8541: subinv, cg_id, 0, snd_rcv,
8542: O_Error_Num, O_Error_Code, O_Error_Message);
8543:

Line 8607: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8603: +----------------------------------------------------------------------*/
8604: -- receiving asset item into exp sub
8605: l_stmt_num := 910;
8606:
8607: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8608: -1, 2, 1, 0,
8609: subinv, cg_id, 0, snd_rcv,
8610: O_Error_Num, O_Error_Code, O_Error_Message);
8611:

Line 8673: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8669: -- {
8670: if (NOT iexp_flg = 1)
8671: then
8672:
8673: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8674: -1, 14, 1, 0,
8675: subinv, cg_id, 0, snd_rcv,
8676: O_Error_Num, O_Error_Code, O_Error_Message);
8677:

Line 8723: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8719:
8720: payamt := -1.0 * txf_price * p_qty;
8721:
8722:
8723: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8724: -1, 9, 1, 0,
8725: subinv, cg_id, 0, snd_rcv,
8726: O_Error_Num, O_Error_Code, O_Error_Message);
8727:

Line 8821: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8817: WHERE transaction_id = trans_id
8818: RETURNING variance_amount INTO ppv_amt;
8819:
8820:
8821: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8822: -1, 6, 1, 0,
8823: subinv, cg_id, 0, snd_rcv,
8824: O_Error_Num, O_Error_Code, O_Error_Message);
8825:

Line 8858: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8854: +----------------------------------------------------------------------*/
8855:
8856: l_stmt_num := 920;
8857:
8858: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8859: -1, 2, 1, 0,
8860: subinv, cg_id, 0, snd_rcv,
8861: O_Error_Num, O_Error_Code, O_Error_Message);
8862:

Line 8950: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8946: | need to book intransit entry.
8947: +----------------------------------------------------------------------*/
8948: if (NOT iexp_flg = 1) -- Bug 5332764.
8949: then
8950: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8951: -1, 14, 1, 0,
8952: subinv, cg_id, 0, snd_rcv,
8953: O_Error_Num, O_Error_Code, O_Error_Message);
8954:

Line 8986: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

8982: +----------------------------------------------------------------------*/
8983: if(trp_cost <> 0)
8984: then
8985:
8986: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
8987: -1, 12, 1, 0,
8988: subinv, cg_id, 0, snd_rcv,
8989: O_Error_Num, O_Error_Code, O_Error_Message);
8990:

Line 9019: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

9015: /*----------------------------------------------------------------------+
9016: | Dr Sending Org Receivable with Transfer Price
9017: +----------------------------------------------------------------------*/
9018:
9019: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
9020: 1, 10, 1, 0,
9021: subinv, cg_id, 0, snd_rcv,
9022: O_Error_Num, O_Error_Code, O_Error_Message);
9023:

Line 9076: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

9072:
9073: if (interorg_profit <> 0)
9074: then
9075:
9076: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
9077: -1, G_INTERORG_PROFIT_ACCT, 1, 0,
9078: subinv, cg_id, 0, snd_rcv,
9079: O_Error_Num, O_Error_Code, O_Error_Message);
9080:

Line 9144: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

9140: +----------------------------------------------------------------------*/
9141:
9142: payamt := -1.0 * txf_price * p_qty;
9143:
9144: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
9145: -1, 9, 1, 0,
9146: subinv, cg_id, 0, snd_rcv,
9147: O_Error_Num, O_Error_Code, O_Error_Message);
9148:

Line 9178: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

9174: +----------------------------------------------------------------------*/
9175: if (trp_cost <> 0)
9176: then
9177:
9178: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
9179: -1, 12, 1, 0,
9180: subinv, cg_id, 0, snd_rcv,
9181: O_Error_Num, O_Error_Code, O_Error_Message);
9182:

Line 9214: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

9210: +----------------------------------------------------------------------*/
9211: if (var_amt <> 0)
9212: then
9213:
9214: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
9215: -1, 13, 1, 0,
9216: subinv, cg_id, 0, snd_rcv,
9217: O_Error_Num, O_Error_Code, O_Error_Message);
9218:

Line 9255: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

9251: --
9252: if (iexp_flg = 1)
9253: then
9254:
9255: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
9256: -1, 2, 1, 0,
9257: subinv, cg_id, 0, snd_rcv,
9258: O_Error_Num, O_Error_Code, O_Error_Message);
9259:

Line 9291: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

9287: /*----------------------------------------------------------------------+
9288: | Dr intransit @ receiving org cost
9289: +----------------------------------------------------------------------*/
9290:
9291: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
9292: -1, 14, 1, 0,
9293: subinv, cg_id, 0, snd_rcv,
9294: O_Error_Num, O_Error_Code, O_Error_Message);
9295:

Line 9370: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

9366:
9367: if (ppv_amt <> 0)
9368: then
9369:
9370: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
9371: -1, 6, 1, 0,
9372: subinv, cg_id, 0, snd_rcv,
9373: O_Error_Num, O_Error_Code, O_Error_Message);
9374:

Line 9413: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,

9409: then
9410: if (enc_rev is not null AND enc_amt <> 0)
9411: then
9412:
9413: user_acct_id := CSTPSCHK.std_get_account_id( org_id, trans_id,
9414: -1, 15, 1, 0,
9415: subinv, cg_id, 0, snd_rcv,
9416: O_Error_Num, O_Error_Code, O_Error_Message);
9417: