DBA Data[Home] [Help]

APPS.GML_ACCT_GENERATE dependencies on GML_ACCT_GENERATE

Line 1: PACKAGE BODY GML_ACCT_GENERATE AS

1: PACKAGE BODY GML_ACCT_GENERATE AS
2: /* $Header: GMLACTGB.pls 115.6 2003/12/09 18:01:10 uphadtar noship $ */
3:
4: -- global variables
5: g_location VARCHAR2(255) := NULL;

Line 152: GML_ACCT_GENERATE.get_opm_account_type(v_destination_type, v_inv_item_type,v_subinv_type,

148:
149: PrintLn('calling get_opm_account_type');
150:
151: /* Get OPM Account type. 'INVENTORY','EXPENSE' or 'ACCRUAL' */
152: GML_ACCT_GENERATE.get_opm_account_type(v_destination_type, v_inv_item_type,v_subinv_type,
153: x_opm_account_type);
154:
155: PrintLn('finished calling get_opm_account_type, x_opm_account_type = '||x_opm_account_type);
156:

Line 168: GML_ACCT_GENERATE.get_opm_account(v_dest_org_id, v_apps_item_id, v_vendor_site_id,

164:
165: PrintLn('calling get_opm_account');
166:
167: /* Get code combination id for OPM account */
168: GML_ACCT_GENERATE.get_opm_account(v_dest_org_id, v_apps_item_id, v_vendor_site_id,
169: x_opm_account_type, x_retcode);
170:
171: PrintLn('finished calling get_opm_account');
172: PrintLn('x_retcode = '||to_char(x_retcode));

Line 300: GML_ACCT_GENERATE.get_acct_title (v_opm_account_type,

296:
297: PrintLn('calling get_acct_title');
298:
299: /* Get account title number for the OPM account type */
300: GML_ACCT_GENERATE.get_acct_title (v_opm_account_type,
301: x_gltitles);
302:
303: PrintLn('finished calling get_acct_title');
304: PrintLn('account title number(X_gltitles) = '||to_char(X_gltitles));

Line 313: GML_ACCT_GENERATE.process_trans (retcode);

309:
310: PrintLn('calling process_trans');
311:
312: /* Process for the OPM account */
313: GML_ACCT_GENERATE.process_trans (retcode);
314:
315: PrintLn('finished calling process_trans');
316: PrintLn('end of get_opm_account');
317:

Line 382: P_acct_id := GML_ACCT_GENERATE.default_mapping ;

378: -- #**************************************************************************/
379:
380: PROCEDURE process_trans (retcode IN OUT NOCOPY NUMBER) AS
381: BEGIN
382: P_acct_id := GML_ACCT_GENERATE.default_mapping ;
383: P_acctg_unit_no := GML_ACCT_GENERATE.get_acctg_unit_no ;
384: GML_ACCT_GENERATE.get_acct_no (P_acct_no, P_acct_desc );
385:
386: PrintLn('P_acct_id = '||to_char(P_acct_id));

Line 383: P_acctg_unit_no := GML_ACCT_GENERATE.get_acctg_unit_no ;

379:
380: PROCEDURE process_trans (retcode IN OUT NOCOPY NUMBER) AS
381: BEGIN
382: P_acct_id := GML_ACCT_GENERATE.default_mapping ;
383: P_acctg_unit_no := GML_ACCT_GENERATE.get_acctg_unit_no ;
384: GML_ACCT_GENERATE.get_acct_no (P_acct_no, P_acct_desc );
385:
386: PrintLn('P_acct_id = '||to_char(P_acct_id));
387: PrintLn('P_acctg_unit_no = '||P_acctg_unit_no);

Line 384: GML_ACCT_GENERATE.get_acct_no (P_acct_no, P_acct_desc );

380: PROCEDURE process_trans (retcode IN OUT NOCOPY NUMBER) AS
381: BEGIN
382: P_acct_id := GML_ACCT_GENERATE.default_mapping ;
383: P_acctg_unit_no := GML_ACCT_GENERATE.get_acctg_unit_no ;
384: GML_ACCT_GENERATE.get_acct_no (P_acct_no, P_acct_desc );
385:
386: PrintLn('P_acct_id = '||to_char(P_acct_id));
387: PrintLn('P_acctg_unit_no = '||P_acctg_unit_no);
388: PrintLn('P_acct_no = '||P_acct_no);

Line 392: GML_ACCT_GENERATE.set_data (retcode);

388: PrintLn('P_acct_no = '||P_acct_no);
389: PrintLn('P_acct_desc = '||P_acct_desc);
390: PrintLn('calling set_data');
391:
392: GML_ACCT_GENERATE.set_data (retcode);
393:
394: PrintLn('finished calling set_data');
395: END process_trans;
396:

Line 532: IF (GML_ACCT_GENERATE.P_acct_id IS NULL OR GML_ACCT_GENERATE.P_acct_id = -1) THEN

528:
529: BEGIN
530: PrintLn('begin of set_data');
531:
532: IF (GML_ACCT_GENERATE.P_acct_id IS NULL OR GML_ACCT_GENERATE.P_acct_id = -1) THEN
533: retcode := 1;
534: ELSIF GML_ACCT_GENERATE.P_acctg_unit_id IS NULL THEN
535: retcode := 2;
536: END IF;

Line 534: ELSIF GML_ACCT_GENERATE.P_acctg_unit_id IS NULL THEN

530: PrintLn('begin of set_data');
531:
532: IF (GML_ACCT_GENERATE.P_acct_id IS NULL OR GML_ACCT_GENERATE.P_acct_id = -1) THEN
533: retcode := 1;
534: ELSIF GML_ACCT_GENERATE.P_acctg_unit_id IS NULL THEN
535: retcode := 2;
536: END IF;
537:
538: IF retcode >0 THEN

Line 544: GML_ACCT_GENERATE.gen_combination_id( GML_ACCT_GENERATE.P_whse_co_code,

540: END IF;
541:
542: PrintLn('calling gen_combination_id');
543:
544: GML_ACCT_GENERATE.gen_combination_id( GML_ACCT_GENERATE.P_whse_co_code,
545: GML_ACCT_GENERATE.P_acct_id,
546: GML_ACCT_GENERATE.P_acctg_unit_id,
547: X_combination_id);
548:

Line 545: GML_ACCT_GENERATE.P_acct_id,

541:
542: PrintLn('calling gen_combination_id');
543:
544: GML_ACCT_GENERATE.gen_combination_id( GML_ACCT_GENERATE.P_whse_co_code,
545: GML_ACCT_GENERATE.P_acct_id,
546: GML_ACCT_GENERATE.P_acctg_unit_id,
547: X_combination_id);
548:
549: PrintLn('finished calling gen_combination_id');

Line 546: GML_ACCT_GENERATE.P_acctg_unit_id,

542: PrintLn('calling gen_combination_id');
543:
544: GML_ACCT_GENERATE.gen_combination_id( GML_ACCT_GENERATE.P_whse_co_code,
545: GML_ACCT_GENERATE.P_acct_id,
546: GML_ACCT_GENERATE.P_acctg_unit_id,
547: X_combination_id);
548:
549: PrintLn('finished calling gen_combination_id');
550: PrintLn('X_combination_id = '||to_char(X_combination_id));

Line 643: GML_ACCT_GENERATE.parse_account( v_co_code ,

639: PrintLn('calling parse_account');
640:
641: /* Parse the OPM account to set the of segments based on the segment
642: mapping of OPM and Oracle Financials */
643: GML_ACCT_GENERATE.parse_account( v_co_code ,
644: x_acctg_unit_no ||x_segment_delimiter|| x_acct_no,
645: 2,0, x_of_seg, x_segment_count ) ;
646:
647: PrintLn('finished calling parse_account');

Line 781: END GML_ACCT_GENERATE;

777: PrintLn('end of parse_account');
778:
779: END parse_account;
780:
781: END GML_ACCT_GENERATE;