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 167: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);

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

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

1129: -- Added debug comments to FND logs instead on PO_WF_DEBUG logs
1130: l_progress := '050';
1131:
1132: IF g_debug_stmt THEN
1133: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1134: p_token => l_progress,
1135: p_message => 'Set WF item UNIT_PRICE to ' ||
1136: PO_WF_UTIL_PKG.GetItemAttrNumber (
1137: itemtype => itemtype,

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

1145: l_progress := '060';
1146:
1147: -- Done setting WF item attributes
1148: IF g_debug_stmt THEN
1149: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
1150: END IF;
1151:
1152: END set_ag_wf_attributes;
1153:

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

1188:
1189: BEGIN
1190:
1191: IF g_debug_stmt THEN
1192: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);
1193: END IF;
1194:
1195: -- Calling AP routine to get raw and derived parameters for project
1196: -- accounting accounts.

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

1196: -- accounting accounts.
1197: IF (x_project_id IS NOT NULL) THEN
1198: BEGIN
1199: IF g_debug_stmt THEN
1200: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1201: p_token => l_progress,
1202: p_message => 'project_id = ' || x_project_id);
1203: END IF;
1204:

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

1278: END IF; -- IF (x_project_id IS NOT NULL)
1279: -- done setting AP project accounting attributes.
1280:
1281: IF g_debug_stmt THEN
1282: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
1283: END IF;
1284: END derive_pa_params;
1285:
1286: /**************************************************************************

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

1357: l_api_name CONSTANT VARCHAR2(100) := 'generate_destination_accounts';
1358: BEGIN
1359:
1360: IF g_debug_stmt THEN
1361: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);
1362: END IF;
1363:
1364: l_progress := '000';
1365:

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

1386: l_block_activity_label := NULL;
1387: END IF;
1388:
1389: IF g_debug_stmt THEN
1390: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1391: p_token => l_progress,
1392: p_message => 'Block Activity='||l_block_activity_label);
1393: END IF;
1394:

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

1418: x_dest_charge_account_flex := concat_segs;
1419: x_dest_charge_account_desc := concat_descrs;
1420:
1421: IF g_debug_stmt THEN
1422: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1423: p_token => l_progress,
1424: p_message => 'dest_charge_account_id = '||
1425: x_dest_charge_account_id);
1426: END IF;

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

1438: BEGIN
1439: fnd_message.clear;
1440:
1441: IF g_debug_stmt THEN
1442: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1443: p_token => l_progress,
1444: p_message => 'Terminating the workflow because'||
1445: ' invalid dest charge account was generated.');
1446: END IF;

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

1449: 'BLOCK_DEST_VAR_ACC_GENERATE', 'FAILURE');
1450: EXCEPTION
1451: WHEN OTHERS THEN
1452: IF g_debug_stmt THEN
1453: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1454: p_token => l_progress,
1455: p_message =>
1456: 'Exception when completing WF for dest accounts '||
1457: 'Item key='|| Wf_Itemkey);

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

1457: 'Item key='|| Wf_Itemkey);
1458: END IF;
1459:
1460: IF g_debug_unexp THEN
1461: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
1462: p_progress => l_progress);
1463: END IF;
1464: END;
1465: END IF; -- IF (ccid IS NULL OR ccid = 0 OR ccid = -1 )

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

1464: END;
1465: END IF; -- IF (ccid IS NULL OR ccid = 0 OR ccid = -1 )
1466:
1467: IF g_debug_stmt THEN
1468: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1469: p_token => l_progress,
1470: p_message =>
1471: 'DESTINATION CHARGE ACCOUNT: ccid:' || to_char(ccid) ||
1472: ' concat_segs:' || concat_segs ||

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

1482: aname => 'DEST_CHARGE_ACCOUNT_ID',
1483: avalue => x_dest_charge_account_id );
1484:
1485: IF g_debug_stmt THEN
1486: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1487: p_token => l_progress,
1488: p_message => 'Generating Destination Variance Account...');
1489: END IF;
1490:

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

1522: END IF;
1523:
1524: l_progress := '070';
1525: IF g_debug_stmt THEN
1526: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1527: p_token => l_progress,
1528: p_message =>
1529: 'DESTINATION VARIANCE ACCOUNT: ccid:' || to_char(ccid) ||
1530: ' concat_segs:' || concat_segs

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

1546: l_progress := '100';
1547: IF (NOT x_success) THEN
1548: l_progress := '110';
1549: IF g_debug_stmt THEN
1550: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1551: p_token => l_progress,
1552: p_message =>
1553: 'PO account generate failure for Destination Accounts: => '
1554: || FB_ERROR_MSG);

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

1560: -- then send them out as NULL's.
1561:
1562: l_progress := '120';
1563: IF g_debug_stmt THEN
1564: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1565: p_token => l_progress,
1566: p_message => 'Destination Account Generation skipped...');
1567: END IF;
1568:

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

1585:
1586: l_progress := '140';
1587:
1588: IF g_debug_stmt THEN
1589: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
1590: END IF;
1591: EXCEPTION
1592: WHEN OTHERS THEN
1593: po_message_s.sql_error('generate_destination_accounts',

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

1592: WHEN OTHERS THEN
1593: po_message_s.sql_error('generate_destination_accounts',
1594: l_progress, sqlcode);
1595: IF g_debug_unexp THEN
1596: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
1597: p_progress => l_progress);
1598: END IF;
1599: RAISE;
1600: END generate_destination_accounts;

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

1737:
1738: BEGIN
1739:
1740: IF g_debug_stmt THEN
1741: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);
1742: END IF;
1743:
1744: -- Start_Workflow_internal --
1745: l_progress := '000';

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

1781: x_flex_field_struc_num,
1782: ItemType);
1783:
1784: IF g_debug_stmt THEN
1785: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1786: p_token => l_progress,
1787: p_message => 'x_account_generation_flow_type='
1788: || x_account_generation_flow_type
1789: || 'item_key=' || wf_itemkey);

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

1907: aname => 'ENCUMBRANCE_DATE',
1908: avalue => x_gl_encumbered_date);
1909:
1910: IF g_debug_stmt THEN
1911: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1912: p_token => l_progress,
1913: p_message => 'Before calling FND_FLEX_WORKFLOW.generate_partial');
1914: END IF;
1915:

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

1943: fnd_message.clear;
1944: END IF;
1945:
1946: IF g_debug_stmt THEN
1947: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1948: p_token => l_progress,
1949: p_message =>
1950: 'Terminating the workflow because invalid charge'||
1951: ' Account was generated.');

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

1956: 'BLOCK_BUDGET_ACC_GENERATION', 'FAILURE');
1957: EXCEPTION
1958: WHEN OTHERS THEN
1959: IF g_debug_stmt THEN
1960: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1961: p_token => l_progress,
1962: p_message => 'Exception when completing WF.' ||
1963: ' item_key='||Wf_Itemkey);
1964: END IF;

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

1963: ' item_key='||Wf_Itemkey);
1964: END IF;
1965:
1966: IF g_debug_unexp THEN
1967: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
1968: p_progress => l_progress);
1969: END IF;
1970: END;
1971: END IF; -- IF (x_success AND ( ccid IS NULL OR ccid = 0 OR ccid = -1 ))

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

1983: concat_ids || ' concat_descrs:' || concat_descrs ||
1984: ' FB_ERROR_MSG:' || FB_ERROR_MSG;
1985:
1986: IF g_debug_stmt THEN
1987: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1988: p_token => l_progress,
1989: p_message => l_debug_msg);
1990: END IF;
1991:

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

2000: ELSE -- ELSE IF x_code_combination_id IS not NULL
2001:
2002: l_progress := '110';
2003: IF g_debug_stmt THEN
2004: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2005: p_token => l_progress,
2006: p_message =>
2007: 'The Charge Account ID passed to the Workflow is not null ='||
2008: x_code_combination_id);

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

2036: -- No Budget Acct is generated for the distributions of financing pay
2037: -- items or advances because we never encumber these distributions
2038:
2039: IF g_debug_stmt THEN
2040: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2041: p_token => l_progress,
2042: p_message => 'Generating Budget Account...');
2043: END IF;
2044:

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

2086: concat_ids || ' concat_descrs:' || concat_descrs ||
2087: ' FB_ERROR_MSG:' || FB_ERROR_MSG;
2088:
2089: IF g_debug_stmt THEN
2090: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2091: p_token => l_progress,
2092: p_message => l_debug_msg);
2093: END IF;
2094:

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

2096:
2097: l_progress := '160';
2098:
2099: IF g_debug_stmt THEN
2100: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2101: p_token => l_progress,
2102: p_message => 'Skipping Budget Account generation...');
2103: END IF;
2104:

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

2141:
2142: l_progress := '180';
2143:
2144: IF g_debug_stmt THEN
2145: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2146: p_token => l_progress,
2147: p_message =>
2148: 'Generating Accrual Account: x_block_activity_label = '||
2149: x_block_activity_label);

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

2183: || concat_ids || ' concat_descrs:' || concat_descrs ||
2184: ' FB_ERROR_MSG:' || FB_ERROR_MSG;
2185:
2186: IF g_debug_stmt THEN
2187: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2188: p_token => l_progress,
2189: p_message => l_debug_msg);
2190: END IF;
2191:

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

2198: aname => 'ACCRUAL_ACCOUNT_ID',
2199: avalue => x_accrual_account_id );
2200:
2201: IF g_debug_stmt THEN
2202: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2203: p_token => l_progress,
2204: p_message => 'Generating Variance Account...');
2205: END IF;
2206:

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

2243: concat_ids || ' concat_descrs:' || concat_descrs ||
2244: ' FB_ERROR_MSG:'|| FB_ERROR_MSG;
2245:
2246: IF g_debug_stmt THEN
2247: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2248: p_token => l_progress,
2249: p_message => l_debug_msg);
2250: END IF;
2251:

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

2290:
2291: IF (NOT x_success) THEN
2292: l_debug_msg := 'PO ACCOUNT GENERATE FAILURE: => ' || FB_ERROR_MSG;
2293: IF g_debug_stmt THEN
2294: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2295: p_token => l_progress,
2296: p_message => l_debug_msg);
2297: END IF;
2298: END IF;

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

2327:
2328: IF (g_po_wf_debug = 'Y') THEN
2329: IF (x_success) THEN
2330: IF g_debug_stmt THEN
2331: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2332: p_token => l_progress,
2333: p_message =>
2334: 'After generate_destination_accounts():'||
2335: ' x_success = TRUE' ||

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

2337: ' x_dest_variance_account_id='|| x_dest_variance_account_id);
2338: END IF;
2339: ELSE
2340: IF g_debug_stmt THEN
2341: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2342: p_token => l_progress,
2343: p_message =>
2344: 'After generate_destination_accounts():'||
2345: ' x_success = FALSE' ||

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

2350: END IF;
2351: --< Shared Proc FPJ End >
2352:
2353: IF g_debug_stmt THEN
2354: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
2355: END IF;
2356:
2357: PO_WF_UTIL_PKG.clear_wf_cache; -- bug5075361
2358: RETURN x_success;

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

2358: RETURN x_success;
2359: ELSE
2360: FB_ERROR_MSG := 'Invalid Item Type OR Item Key';
2361: IF g_debug_stmt THEN
2362: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2363: p_token => l_progress,
2364: p_message => FB_ERROR_MSG);
2365: END IF;
2366:

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

2364: p_message => FB_ERROR_MSG);
2365: END IF;
2366:
2367: IF g_debug_stmt THEN
2368: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
2369: END IF;
2370:
2371: PO_WF_UTIL_PKG.clear_wf_cache; -- bug5075361
2372: RETURN FALSE;

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

2372: RETURN FALSE;
2373: END IF; -- IF ( ItemType IS NOT NULL ) AND ( Wf_Itemkey IS NOT NULL) -- )
2374:
2375: IF g_debug_stmt THEN
2376: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
2377: END IF;
2378:
2379: EXCEPTION
2380: WHEN OTHERS THEN

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

2381: PO_WF_UTIL_PKG.clear_wf_cache; -- bug5075361
2382: po_message_s.sql_error('Start_Workflow_internal',
2383: l_progress, sqlcode);
2384: IF g_debug_unexp THEN
2385: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
2386: p_progress => l_progress);
2387: END IF;
2388: RAISE;
2389: END Start_Workflow_internal;

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

2501: l_api_name CONSTANT VARCHAR2(100) := 'start_workflow';
2502:
2503: BEGIN
2504: IF g_debug_stmt THEN
2505: PO_DEBUG.debug_begin(p_log_head => g_log_head||l_api_name);
2506: END IF;
2507:
2508: -- Start_Workflow --
2509: l_progress := '000';

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

2508: -- Start_Workflow --
2509: l_progress := '000';
2510:
2511: IF g_debug_stmt THEN
2512: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2513: p_token => l_progress,
2514: p_message =>
2515: 'x_destination_organization_id='||x_destination_organization_id);
2516: END IF;

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

2523: x_ou_id => l_ship_to_ou_id, -- OUT
2524: x_return_status => l_return_status); -- OUT
2525:
2526: IF g_debug_stmt THEN
2527: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2528: p_token => l_progress,
2529: p_message => 'Call PO_SHARED_PROC_PVT.get_ou_and_coa_from_inv_org:' ||
2530: ' return_status='||l_return_status||
2531: ', ship_to_ou_coa_id='||l_ship_to_ou_coa_id||

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

2554: -- Second, in case of SPS, to build the Destination Accounts,
2555: -- if POU's COA <> DOU's COA.
2556:
2557: IF g_debug_stmt THEN
2558: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2559: p_token => l_progress,
2560: p_message => 'First call to Start_Workflow_internal with POUs COA');
2561: END IF;
2562:

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

2665:
2666: IF (g_po_wf_debug = 'Y') THEN
2667: IF (x_success) THEN
2668: IF g_debug_stmt THEN
2669: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2670: p_token => l_progress,
2671: p_message =>
2672: 'After first call to Start Workflow Internal():'||
2673: ' x_success = TRUE' ||

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

2679: ' x_dest_variance_account_id='|| x_dest_variance_account_id);
2680: END IF;
2681: ELSE
2682: IF g_debug_stmt THEN
2683: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2684: p_token => l_progress,
2685: p_message =>
2686: 'After first call to Start Workflow Internal():'||
2687: ' x_success = FALSE' ||

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

2717: l_progress := '060';
2718:
2719: IF (g_po_wf_debug = 'Y') THEN
2720: IF g_debug_stmt THEN
2721: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2722: p_token => l_progress,
2723: p_message => 'Second call to Start_Workflow_internal with DOUs COA');
2724: END IF;
2725: END IF;

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

2826:
2827: IF (g_po_wf_debug = 'Y') THEN
2828: IF (x_success) THEN
2829: IF g_debug_stmt THEN
2830: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2831: p_token => l_progress,
2832: p_message =>
2833: 'After second call to Start Workflow_Internal():'||
2834: ' x_success = TRUE' ||

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

2840: ' x_dest_variance_account_id='|| x_dest_variance_account_id);
2841: END IF;
2842: ELSE
2843: IF g_debug_stmt THEN
2844: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2845: p_token => l_progress,
2846: p_message =>
2847: 'After second call to Start Workflow_Internal():'||
2848: ' x_success = FALSE' ||

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

2856: END IF;
2857: END IF;
2858:
2859: IF g_debug_stmt THEN
2860: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
2861: END IF;
2862:
2863: RETURN x_success;
2864: END IF; -- if ( l_is_SPS_distribution AND

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

2864: END IF; -- if ( l_is_SPS_distribution AND
2865: -- (x_coa_id <> l_ship_to_ou_coa_id)) --)
2866:
2867: IF g_debug_stmt THEN
2868: PO_DEBUG.debug_end(p_log_head => g_log_head||l_api_name);
2869: END IF;
2870:
2871: RETURN x_success;
2872: EXCEPTION

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

2873: WHEN OTHERS THEN
2874: po_message_s.sql_error('PO_WF_BUILD_ACCOUNT_INIT.Start_Workflow', l_progress,
2875: sqlcode);
2876: IF g_debug_unexp THEN
2877: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
2878: p_progress => l_progress);
2879: END IF;
2880: APP_EXCEPTION.raise_exception;
2881: END Start_Workflow;