DBA Data[Home] [Help]

APPS.PO_WF_BUILD_ACCOUNT_INIT dependencies on PO_DEBUG

Line 11: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;

7: -- Added debug comments to FND logs instead on PO_WF_DEBUG logs
8: g_pkg_name CONSTANT VARCHAR2(100) := 'PO_WF_BUILD_ACCOUNT_INIT';
9: g_log_head CONSTANT VARCHAR2(1000) := 'po.plsql.'||g_pkg_name||'.';
10:
11: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;
12: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;
13: -- End
14:
15: /****************************************************************************

Line 12: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;

8: g_pkg_name CONSTANT VARCHAR2(100) := 'PO_WF_BUILD_ACCOUNT_INIT';
9: g_log_head CONSTANT VARCHAR2(1000) := 'po.plsql.'||g_pkg_name||'.';
10:
11: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;
12: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;
13: -- End
14:
15: /****************************************************************************
16: * The following are local/Private procedure that support the workflow APIs: *

Line 168: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);

164: l_progress VARCHAR2(10) := '000';
165: BEGIN
166:
167: IF g_debug_stmt THEN
168: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);
169: END IF;
170:
171: -- Initialize workflow item attributes
172:

Line 1141: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1137: -- Added debug comments to FND logs instead on PO_WF_DEBUG logs
1138: l_progress := '050';
1139:
1140: IF g_debug_stmt THEN
1141: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1142: p_token => l_progress,
1143: p_message => 'Set WF item UNIT_PRICE to ' ||
1144: PO_WF_UTIL_PKG.GetItemAttrNumber (
1145: itemtype => itemtype,

Line 1157: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);

1153: l_progress := '060';
1154:
1155: -- Done setting WF item attributes
1156: IF g_debug_stmt THEN
1157: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
1158: END IF;
1159:
1160: END set_ag_wf_attributes;
1161:

Line 1204: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);

1200:
1201: BEGIN
1202:
1203: IF g_debug_stmt THEN
1204: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);
1205: END IF;
1206:
1207: -- Calling AP routine to get raw and derived parameters for project
1208: -- accounting accounts.

Line 1212: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1208: -- accounting accounts.
1209: IF (x_project_id IS NOT NULL) THEN
1210: BEGIN
1211: IF g_debug_stmt THEN
1212: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1213: p_token => l_progress,
1214: p_message => 'project_id = ' || x_project_id);
1215: END IF;
1216:

Line 1294: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);

1290: END IF; -- IF (x_project_id IS NOT NULL)
1291: -- done setting AP project accounting attributes.
1292:
1293: IF g_debug_stmt THEN
1294: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
1295: END IF;
1296: END derive_pa_params;
1297:
1298: /**************************************************************************

Line 1373: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);

1369: l_api_name CONSTANT VARCHAR2(100) := 'generate_destination_accounts';
1370: BEGIN
1371:
1372: IF g_debug_stmt THEN
1373: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);
1374: END IF;
1375:
1376: l_progress := '000';
1377:

Line 1402: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1398: l_block_activity_label := NULL;
1399: END IF;
1400:
1401: IF g_debug_stmt THEN
1402: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1403: p_token => l_progress,
1404: p_message => 'Block Activity='||l_block_activity_label);
1405: END IF;
1406:

Line 1434: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1430: x_dest_charge_account_flex := concat_segs;
1431: x_dest_charge_account_desc := concat_descrs;
1432:
1433: IF g_debug_stmt THEN
1434: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1435: p_token => l_progress,
1436: p_message => 'dest_charge_account_id = '||
1437: x_dest_charge_account_id);
1438: END IF;

Line 1454: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1450: BEGIN
1451: fnd_message.clear;
1452:
1453: IF g_debug_stmt THEN
1454: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1455: p_token => l_progress,
1456: p_message => 'Terminating the workflow because'||
1457: ' invalid dest charge account was generated.');
1458: END IF;

Line 1465: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1461: 'BLOCK_DEST_VAR_ACC_GENERATE', 'FAILURE');
1462: EXCEPTION
1463: WHEN OTHERS THEN
1464: IF g_debug_stmt THEN
1465: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1466: p_token => l_progress,
1467: p_message =>
1468: 'Exception when completing WF for dest accounts '||
1469: 'Item key='|| Wf_Itemkey);

Line 1473: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,

1469: 'Item key='|| Wf_Itemkey);
1470: END IF;
1471:
1472: IF g_debug_unexp THEN
1473: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
1474: p_progress => l_progress);
1475: END IF;
1476: END;
1477: END IF; -- IF (ccid IS NULL OR ccid = 0 OR ccid = -1 )

Line 1480: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1476: END;
1477: END IF; -- IF (ccid IS NULL OR ccid = 0 OR ccid = -1 )
1478:
1479: IF g_debug_stmt THEN
1480: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1481: p_token => l_progress,
1482: p_message =>
1483: 'DESTINATION CHARGE ACCOUNT: ccid:' || to_char(ccid) ||
1484: ' concat_segs:' || concat_segs ||

Line 1498: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1494: aname => 'DEST_CHARGE_ACCOUNT_ID',
1495: avalue => x_dest_charge_account_id );
1496:
1497: IF g_debug_stmt THEN
1498: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1499: p_token => l_progress,
1500: p_message => 'Generating Destination Variance Account...');
1501: END IF;
1502:

Line 1538: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1534: END IF;
1535:
1536: l_progress := '070';
1537: IF g_debug_stmt THEN
1538: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1539: p_token => l_progress,
1540: p_message =>
1541: 'DESTINATION VARIANCE ACCOUNT: ccid:' || to_char(ccid) ||
1542: ' concat_segs:' || concat_segs

Line 1562: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1558: l_progress := '100';
1559: IF (NOT x_success) THEN
1560: l_progress := '110';
1561: IF g_debug_stmt THEN
1562: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1563: p_token => l_progress,
1564: p_message =>
1565: 'PO account generate failure for Destination Accounts: => '
1566: || FB_ERROR_MSG);

Line 1576: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1572: -- then send them out as NULL's.
1573:
1574: l_progress := '120';
1575: IF g_debug_stmt THEN
1576: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1577: p_token => l_progress,
1578: p_message => 'Destination Account Generation skipped...');
1579: END IF;
1580:

Line 1601: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);

1597:
1598: l_progress := '140';
1599:
1600: IF g_debug_stmt THEN
1601: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
1602: END IF;
1603: EXCEPTION
1604: WHEN OTHERS THEN
1605: po_message_s.sql_error('generate_destination_accounts',

Line 1608: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,

1604: WHEN OTHERS THEN
1605: po_message_s.sql_error('generate_destination_accounts',
1606: l_progress, sqlcode);
1607: IF g_debug_unexp THEN
1608: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
1609: p_progress => l_progress);
1610: END IF;
1611: RAISE;
1612: END generate_destination_accounts;

Line 1754: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);

1750:
1751: BEGIN
1752:
1753: IF g_debug_stmt THEN
1754: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);
1755: END IF;
1756:
1757: -- Start_Workflow_internal --
1758: l_progress := '000';

Line 1798: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1794: x_flex_field_struc_num,
1795: ItemType);
1796:
1797: IF g_debug_stmt THEN
1798: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1799: p_token => l_progress,
1800: p_message => 'x_account_generation_flow_type='
1801: || x_account_generation_flow_type
1802: || 'item_key=' || wf_itemkey);

Line 1925: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1921: aname => 'ENCUMBRANCE_DATE',
1922: avalue => x_gl_encumbered_date);
1923:
1924: IF g_debug_stmt THEN
1925: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1926: p_token => l_progress,
1927: p_message => 'Before calling FND_FLEX_WORKFLOW.generate_partial');
1928: END IF;
1929:

Line 1961: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1957: fnd_message.clear;
1958: END IF;
1959:
1960: IF g_debug_stmt THEN
1961: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1962: p_token => l_progress,
1963: p_message =>
1964: 'Terminating the workflow because invalid charge'||
1965: ' Account was generated.');

Line 1974: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1970: 'BLOCK_BUDGET_ACC_GENERATION', 'FAILURE');
1971: EXCEPTION
1972: WHEN OTHERS THEN
1973: IF g_debug_stmt THEN
1974: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1975: p_token => l_progress,
1976: p_message => 'Exception when completing WF.' ||
1977: ' item_key='||Wf_Itemkey);
1978: END IF;

Line 1981: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,

1977: ' item_key='||Wf_Itemkey);
1978: END IF;
1979:
1980: IF g_debug_unexp THEN
1981: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
1982: p_progress => l_progress);
1983: END IF;
1984: END;
1985: END IF; -- IF (x_success AND ( ccid IS NULL OR ccid = 0 OR ccid = -1 ))

Line 2001: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

1997: concat_ids || ' concat_descrs:' || concat_descrs ||
1998: ' FB_ERROR_MSG:' || FB_ERROR_MSG;
1999:
2000: IF g_debug_stmt THEN
2001: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2002: p_token => l_progress,
2003: p_message => l_debug_msg);
2004: END IF;
2005:

Line 2018: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2014: ELSE -- ELSE IF x_code_combination_id IS not NULL
2015:
2016: l_progress := '110';
2017: IF g_debug_stmt THEN
2018: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2019: p_token => l_progress,
2020: p_message =>
2021: 'The Charge Account ID passed to the Workflow is not null ='||
2022: x_code_combination_id);

Line 2055: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2051: -- No Budget Acct is generated for the distributions of financing pay
2052: -- items or advances because we never encumber these distributions
2053:
2054: IF g_debug_stmt THEN
2055: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2056: p_token => l_progress,
2057: p_message => 'Generating Budget Account...');
2058: END IF;
2059:

Line 2105: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2101: concat_ids || ' concat_descrs:' || concat_descrs ||
2102: ' FB_ERROR_MSG:' || FB_ERROR_MSG;
2103:
2104: IF g_debug_stmt THEN
2105: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2106: p_token => l_progress,
2107: p_message => l_debug_msg);
2108: END IF;
2109:

Line 2115: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2111:
2112: l_progress := '160';
2113:
2114: IF g_debug_stmt THEN
2115: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2116: p_token => l_progress,
2117: p_message => 'Skipping Budget Account generation...');
2118: END IF;
2119:

Line 2162: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2158:
2159: l_progress := '180';
2160:
2161: IF g_debug_stmt THEN
2162: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2163: p_token => l_progress,
2164: p_message =>
2165: 'Generating Accrual Account: x_block_activity_label = '||
2166: x_block_activity_label);

Line 2204: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2200: || concat_ids || ' concat_descrs:' || concat_descrs ||
2201: ' FB_ERROR_MSG:' || FB_ERROR_MSG;
2202:
2203: IF g_debug_stmt THEN
2204: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2205: p_token => l_progress,
2206: p_message => l_debug_msg);
2207: END IF;
2208:

Line 2219: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2215: aname => 'ACCRUAL_ACCOUNT_ID',
2216: avalue => x_accrual_account_id );
2217:
2218: IF g_debug_stmt THEN
2219: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2220: p_token => l_progress,
2221: p_message => 'Generating Variance Account...');
2222: END IF;
2223:

Line 2264: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2260: concat_ids || ' concat_descrs:' || concat_descrs ||
2261: ' FB_ERROR_MSG:'|| FB_ERROR_MSG;
2262:
2263: IF g_debug_stmt THEN
2264: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2265: p_token => l_progress,
2266: p_message => l_debug_msg);
2267: END IF;
2268:

Line 2311: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2307:
2308: IF (NOT x_success) THEN
2309: l_debug_msg := 'PO ACCOUNT GENERATE FAILURE: => ' || FB_ERROR_MSG;
2310: IF g_debug_stmt THEN
2311: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2312: p_token => l_progress,
2313: p_message => l_debug_msg);
2314: END IF;
2315: END IF;

Line 2348: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2344:
2345: IF (g_po_wf_debug = 'Y') THEN
2346: IF (x_success) THEN
2347: IF g_debug_stmt THEN
2348: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2349: p_token => l_progress,
2350: p_message =>
2351: 'After generate_destination_accounts():'||
2352: ' x_success = TRUE' ||

Line 2358: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2354: ' x_dest_variance_account_id='|| x_dest_variance_account_id);
2355: END IF;
2356: ELSE
2357: IF g_debug_stmt THEN
2358: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2359: p_token => l_progress,
2360: p_message =>
2361: 'After generate_destination_accounts():'||
2362: ' x_success = FALSE' ||

Line 2371: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);

2367: END IF;
2368: --< Shared Proc FPJ End >
2369:
2370: IF g_debug_stmt THEN
2371: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
2372: END IF;
2373:
2374: PO_WF_UTIL_PKG.clear_wf_cache; -- bug5075361
2375: RETURN x_success;

Line 2379: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2375: RETURN x_success;
2376: ELSE
2377: FB_ERROR_MSG := 'Invalid Item Type OR Item Key';
2378: IF g_debug_stmt THEN
2379: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2380: p_token => l_progress,
2381: p_message => FB_ERROR_MSG);
2382: END IF;
2383:

Line 2385: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);

2381: p_message => FB_ERROR_MSG);
2382: END IF;
2383:
2384: IF g_debug_stmt THEN
2385: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
2386: END IF;
2387:
2388: PO_WF_UTIL_PKG.clear_wf_cache; -- bug5075361
2389: RETURN FALSE;

Line 2393: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);

2389: RETURN FALSE;
2390: END IF; -- IF ( ItemType IS NOT NULL ) AND ( Wf_Itemkey IS NOT NULL) -- )
2391:
2392: IF g_debug_stmt THEN
2393: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
2394: END IF;
2395:
2396: EXCEPTION
2397: WHEN OTHERS THEN

Line 2402: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,

2398: PO_WF_UTIL_PKG.clear_wf_cache; -- bug5075361
2399: po_message_s.sql_error('Start_Workflow_internal',
2400: l_progress, sqlcode);
2401: IF g_debug_unexp THEN
2402: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
2403: p_progress => l_progress);
2404: END IF;
2405: RAISE;
2406: END Start_Workflow_internal;

Line 2523: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);

2519: l_api_name CONSTANT VARCHAR2(100) := 'start_workflow';
2520:
2521: BEGIN
2522: IF g_debug_stmt THEN
2523: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);
2524: END IF;
2525:
2526: -- Start_Workflow --
2527: l_progress := '000';

Line 2530: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2526: -- Start_Workflow --
2527: l_progress := '000';
2528:
2529: IF g_debug_stmt THEN
2530: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2531: p_token => l_progress,
2532: p_message =>
2533: 'x_destination_organization_id='||x_destination_organization_id);
2534: END IF;

Line 2545: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2541: x_ou_id => l_ship_to_ou_id, -- OUT
2542: x_return_status => l_return_status); -- OUT
2543:
2544: IF g_debug_stmt THEN
2545: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2546: p_token => l_progress,
2547: p_message => 'Call PO_SHARED_PROC_PVT.get_ou_and_coa_from_inv_org:' ||
2548: ' return_status='||l_return_status||
2549: ', ship_to_ou_coa_id='||l_ship_to_ou_coa_id||

Line 2576: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2572: -- Second, in case of SPS, to build the Destination Accounts,
2573: -- if POU's COA <> DOU's COA.
2574:
2575: IF g_debug_stmt THEN
2576: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2577: p_token => l_progress,
2578: p_message => 'First call to Start_Workflow_internal with POUs COA');
2579: END IF;
2580:

Line 2688: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2684:
2685: IF (g_po_wf_debug = 'Y') THEN
2686: IF (x_success) THEN
2687: IF g_debug_stmt THEN
2688: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2689: p_token => l_progress,
2690: p_message =>
2691: 'After first call to Start Workflow Internal():'||
2692: ' x_success = TRUE' ||

Line 2702: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2698: ' x_dest_variance_account_id='|| x_dest_variance_account_id);
2699: END IF;
2700: ELSE
2701: IF g_debug_stmt THEN
2702: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2703: p_token => l_progress,
2704: p_message =>
2705: 'After first call to Start Workflow Internal():'||
2706: ' x_success = FALSE' ||

Line 2740: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2736: l_progress := '060';
2737:
2738: IF (g_po_wf_debug = 'Y') THEN
2739: IF g_debug_stmt THEN
2740: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2741: p_token => l_progress,
2742: p_message => 'Second call to Start_Workflow_internal with DOUs COA');
2743: END IF;
2744: END IF;

Line 2850: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2846:
2847: IF (g_po_wf_debug = 'Y') THEN
2848: IF (x_success) THEN
2849: IF g_debug_stmt THEN
2850: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2851: p_token => l_progress,
2852: p_message =>
2853: 'After second call to Start Workflow_Internal():'||
2854: ' x_success = TRUE' ||

Line 2864: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

2860: ' x_dest_variance_account_id='|| x_dest_variance_account_id);
2861: END IF;
2862: ELSE
2863: IF g_debug_stmt THEN
2864: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2865: p_token => l_progress,
2866: p_message =>
2867: 'After second call to Start Workflow_Internal():'||
2868: ' x_success = FALSE' ||

Line 2880: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);

2876: END IF;
2877: END IF;
2878:
2879: IF g_debug_stmt THEN
2880: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
2881: END IF;
2882:
2883: RETURN x_success;
2884: END IF; -- if ( l_is_SPS_distribution AND

Line 2888: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);

2884: END IF; -- if ( l_is_SPS_distribution AND
2885: -- (x_coa_id <> l_ship_to_ou_coa_id)) --)
2886:
2887: IF g_debug_stmt THEN
2888: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
2889: END IF;
2890:
2891: RETURN x_success;
2892: EXCEPTION

Line 2897: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,

2893: WHEN OTHERS THEN
2894: po_message_s.sql_error('PO_WF_BUILD_ACCOUNT_INIT.Start_Workflow', l_progress,
2895: sqlcode);
2896: IF g_debug_unexp THEN
2897: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
2898: p_progress => l_progress);
2899: END IF;
2900: APP_EXCEPTION.raise_exception;
2901: END Start_Workflow;