DBA Data[Home] [Help]

APPS.PO_DOCUMENT_UPDATE_PVT dependencies on STANDARD

Line 262: -- If FND_API.G_TRUE, the API will initialize the standard API message list.

258: --IN:
259: --p_api_version
260: -- API version number expected by the caller
261: --p_init_msg_list
262: -- If FND_API.G_TRUE, the API will initialize the standard API message list.
263: --p_changes
264: -- object with the changes to make to the document
265: --p_run_submission_checks
266: -- FND_API.G_TRUE: The API will perform field-level validations as well as

Line 285: -- based on the source of the update; pass in NULL for the standard logic.

281: -- the PO Approval workflow; if NULL, the API will use the buyer (AGENT_ID) on
282: -- the document.
283: --p_update_source
284: -- Used to select different program logic (i.e. validation, derivation)
285: -- based on the source of the update; pass in NULL for the standard logic.
286: -- Use the G_UPDATE_SOURCE_XXX constants (ex. G_UPDATE_SOURCE_OM).
287: --p_override_date
288: -- Date that will be used to unreserve the document; only used if the
289: -- document is encumbered.

Line 363: -- Standard API initialization:

359:
360: SAVEPOINT PO_DOCUMENT_UPDATE_PVT_SP;
361: x_return_status := FND_API.G_RET_STS_SUCCESS;
362:
363: -- Standard API initialization:
364: IF NOT FND_API.compatible_api_call (
365: p_current_version_number => l_api_version,
366: p_caller_version_number => p_api_version,
367: p_api_name => l_api_name,

Line 984: -- (standard PO, planned PO, blanket PA, scheduled release, blanket release)

980: p_entity_type => G_ENTITY_TYPE_CHANGES );
981: RETURN;
982: END IF;
983: -- Check that the requested changes are for a supported document type.
984: -- (standard PO, planned PO, blanket PA, scheduled release, blanket release)
985: l_progress := '010';
986:
987: IF (g_document_type = 'PO'
988: AND g_document_subtype IN ('STANDARD','PLANNED')) OR

Line 988: AND g_document_subtype IN ('STANDARD','PLANNED')) OR

984: -- (standard PO, planned PO, blanket PA, scheduled release, blanket release)
985: l_progress := '010';
986:
987: IF (g_document_type = 'PO'
988: AND g_document_subtype IN ('STANDARD','PLANNED')) OR
989: (g_document_type = 'PA' AND g_document_subtype = 'BLANKET') OR
990: (g_document_type = 'RELEASE'
991: AND g_document_subtype IN ('SCHEDULED','BLANKET')) THEN
992: null;

Line 1773: -- SQL What: Returns the number of standard/planned shipments

1769: AND (NOT line_has_ship_qty_amt_change(p_chg, i)) THEN
1770: -- The line has a quantity/amount change, but none of its shipments
1771: -- have quantity/amount changes.
1772:
1773: -- SQL What: Returns the number of standard/planned shipments
1774: -- for this line that are not cancelled or finally closed.
1775: SELECT count(*)
1776: INTO l_shipment_count
1777: FROM po_line_locations

Line 1779: AND shipment_type in ('STANDARD', 'PLANNED')

1775: SELECT count(*)
1776: INTO l_shipment_count
1777: FROM po_line_locations
1778: WHERE po_line_id = p_chg.line_changes.po_line_id(i)
1779: AND shipment_type in ('STANDARD', 'PLANNED')
1780: AND nvl(cancel_flag,'N') <> 'Y'
1781: AND NVL(closed_code,'OPEN') <> 'FINALLY CLOSED';
1782:
1783: IF (l_shipment_count > 1) THEN -- The line has multiple shipments

Line 2319: -- Check: A standard/planned PO cannot have any shipment price changes.

2315: p_entity_type => G_ENTITY_TYPE_LINES );
2316: END IF;
2317:
2318: ----------------------------------------------------------------------------
2319: -- Check: A standard/planned PO cannot have any shipment price changes.
2320: ----------------------------------------------------------------------------
2321: IF (g_document_type = 'PO') THEN
2322: IF (g_is_complex_work_po=FALSE) THEN -- 2323: FOR i IN 1..p_chg.shipment_changes.get_count LOOP

Line 2336: END IF; -- standard/planned PO

2332: p_entity_id => G_ENTITY_TYPE_LINES );
2333: END IF;
2334: END LOOP; -- shipment changes
2335: END IF; --complex PO changes
2336: END IF; -- standard/planned PO
2337:
2338: ----------------------------------------------------------------------------
2339: -- Checks for Services Procurement fields and line types:
2340: ----------------------------------------------------------------------------

Line 2411: -- lines with a purchase basis of Temp Labor on standard POs.

2407: END IF; -- value basis
2408:
2409: --------------------------------------------------------------------------
2410: -- Services Check: Only allow start date and end date changes for
2411: -- lines with a purchase basis of Temp Labor on standard POs.
2412: --------------------------------------------------------------------------
2413: l_progress := '070';
2414: IF NOT ((g_document_type = 'PO') AND (g_document_subtype = 'STANDARD')
2415: AND (p_chg.line_changes.c_purchase_basis(i) = 'TEMP LABOR')) THEN

Line 2414: IF NOT ((g_document_type = 'PO') AND (g_document_subtype = 'STANDARD')

2410: -- Services Check: Only allow start date and end date changes for
2411: -- lines with a purchase basis of Temp Labor on standard POs.
2412: --------------------------------------------------------------------------
2413: l_progress := '070';
2414: IF NOT ((g_document_type = 'PO') AND (g_document_subtype = 'STANDARD')
2415: AND (p_chg.line_changes.c_purchase_basis(i) = 'TEMP LABOR')) THEN
2416: -- This is not a Temp Labor line on a standard PO.
2417:
2418: IF (p_chg.line_changes.start_date(i) IS NOT NULL) THEN

Line 2416: -- This is not a Temp Labor line on a standard PO.

2412: --------------------------------------------------------------------------
2413: l_progress := '070';
2414: IF NOT ((g_document_type = 'PO') AND (g_document_subtype = 'STANDARD')
2415: AND (p_chg.line_changes.c_purchase_basis(i) = 'TEMP LABOR')) THEN
2416: -- This is not a Temp Labor line on a standard PO.
2417:
2418: IF (p_chg.line_changes.start_date(i) IS NOT NULL) THEN
2419: add_error ( p_api_errors => g_api_errors,
2420: x_return_status => x_return_status,

Line 3009: -- SQL Why: To retrieve the lines on a standard/planned PO that may

3005: l_progress VARCHAR2(3) := '000';
3006:
3007: -- SQL What: Retrieves all the lines of the given PO that refer to
3008: -- a global agrement or quotation.
3009: -- SQL Why: To retrieve the lines on a standard/planned PO that may
3010: -- need to be re-priced from the price breaks.
3011: CURSOR po_line_ref_csr (p_po_header_id PO_HEADERS.po_header_id%TYPE) IS
3012: SELECT po_line_id, manual_price_change_flag
3013: FROM po_lines POL

Line 3019: -- SQL What: Retrieves all the standard/planned shipments of the

3015: AND (POL.from_header_id IS NOT NULL OR
3016: --
3017: POL.contract_id IS NOT NULL);
3018:
3019: -- SQL What: Retrieves all the standard/planned shipments of the
3020: -- given PO line that are not cancelled or finally closed.
3021: -- SQL Why: To roll down a line price change on a standard/planned PO
3022: -- to the shipments of that line.
3023: CURSOR po_shipment_csr (p_po_line_id PO_LINES.po_line_id%TYPE) IS

Line 3021: -- SQL Why: To roll down a line price change on a standard/planned PO

3017: POL.contract_id IS NOT NULL);
3018:
3019: -- SQL What: Retrieves all the standard/planned shipments of the
3020: -- given PO line that are not cancelled or finally closed.
3021: -- SQL Why: To roll down a line price change on a standard/planned PO
3022: -- to the shipments of that line.
3023: CURSOR po_shipment_csr (p_po_line_id PO_LINES.po_line_id%TYPE) IS
3024: SELECT line_location_id
3025: FROM po_line_locations

Line 3029: AND shipment_type IN ('PLANNED','STANDARD');

3025: FROM po_line_locations
3026: WHERE po_line_id = p_po_line_id
3027: AND (NVL(cancel_flag,'N') <> 'Y')
3028: AND (NVL(closed_code,'OPEN') <> 'FINALLY CLOSED')
3029: AND shipment_type IN ('PLANNED','STANDARD');
3030:
3031: l_po_line_id PO_LINES.po_line_id%TYPE;
3032: l_line_location_id PO_LINE_LOCATIONS.line_location_id%TYPE;
3033: l_new_price PO_LINE_LOCATIONS.price_override%TYPE;

Line 3213: -- Derivation #3: For a Standard PO sourced to a quotation, GA, or contract,

3209: END IF; -- document type is release
3210:
3211: l_progress := '030';
3212:
3213: -- Derivation #3: For a Standard PO sourced to a quotation, GA, or contract,
3214: -- if no new line price is specified, and there are quantity changes
3215: -- on a line, or need-by date or ship-to location changes on the first
3216: -- shipment of a line, get a new price from the price break.
3217:

Line 3218: IF (g_document_type = 'PO') AND (g_document_subtype = 'STANDARD') THEN

3214: -- if no new line price is specified, and there are quantity changes
3215: -- on a line, or need-by date or ship-to location changes on the first
3216: -- shipment of a line, get a new price from the price break.
3217:
3218: IF (g_document_type = 'PO') AND (g_document_subtype = 'STANDARD') THEN
3219:
3220: -- Loop through the lines that reference a quotation, GA, or contract.
3221: OPEN po_line_ref_csr ( g_po_header_id );
3222: LOOP

Line 3358: END IF; -- document type is standard PO or planned PO

3354: END IF; -- l_new_price
3355:
3356: END LOOP; -- PO lines with a GA or quotation reference
3357: CLOSE po_line_ref_csr;
3358: END IF; -- document type is standard PO or planned PO
3359:
3360: l_progress := '040';
3361:
3362: -- Derivation #4: For a standard or planned PO, roll down any line

Line 3362: -- Derivation #4: For a standard or planned PO, roll down any line

3358: END IF; -- document type is standard PO or planned PO
3359:
3360: l_progress := '040';
3361:
3362: -- Derivation #4: For a standard or planned PO, roll down any line
3363: -- price changes to all shipments that are not finally closed or cancelled.
3364:
3365: IF (g_document_type = 'PO') and (g_is_complex_work_po=FALSE ) THEN
3366: FOR i IN 1..p_chg.line_changes.get_count LOOP

Line 3417: END IF; -- document type is standard PO or planned PO

3413: END LOOP; -- split shipment changes
3414:
3415: END IF; -- new price is not null
3416: END LOOP; -- line changes
3417: END IF; -- document type is standard PO or planned PO
3418:
3419:
3420: -- BEGIN INVCONV sschinch 09/07/04
3421: /** l_progress := '050';

Line 3642: IF ((g_document_type = 'PO') AND (g_document_subtype = 'STANDARD'))

3638: END IF;
3639: END IF;
3640:
3641: --
3642: IF ((g_document_type = 'PO') AND (g_document_subtype = 'STANDARD'))
3643: OR ((g_document_type = 'PA') AND (g_document_subtype = 'BLANKET')) THEN
3644: IF p_chg.line_changes.unit_price(i) IS NOT NULL THEN
3645: -- If the new price is different from the current price,
3646: -- record a Manual Price Change and

Line 4298: AND shipment_type IN ('STANDARD','PLANNED');

4294: INTO l_line_location_id
4295: FROM po_line_locations
4296: WHERE po_line_id = p_po_line_id
4297: AND shipment_num = l_min_shipment_num
4298: AND shipment_type IN ('STANDARD','PLANNED');
4299:
4300: RETURN l_line_location_id;
4301: EXCEPTION
4302: WHEN FND_API.g_exc_unexpected_error THEN

Line 4466: -- For a standard or planned PO, roll up any shipment quantity/amount

4462: END LOOP; -- distribution changes
4463:
4464: l_progress := '050';
4465:
4466: -- For a standard or planned PO, roll up any shipment quantity/amount
4467: -- changes to the line quantity/amount, if needed.
4468: IF g_document_type = 'PO' THEN
4469:
4470: -- Rollup each shipment quantity/amount change (including split shipments)

Line 4630: END IF; -- document type is standard PO or planned PO

4626:
4627: END IF; -- ship_has_qty_amt_change
4628: END LOOP; -- shipment changes
4629:
4630: END IF; -- document type is standard PO or planned PO
4631:
4632: EXCEPTION
4633: WHEN FND_API.g_exc_unexpected_error THEN
4634: PO_DEBUG.handle_unexp_error ( p_pkg_name => g_pkg_name,

Line 4756: AND shipment_type in ('STANDARD', 'PLANNED')

4752: SELECT line_location_id
4753: INTO l_line_location_id
4754: FROM po_line_locations
4755: WHERE po_line_id = p_chg.line_changes.po_line_id(i)
4756: AND shipment_type in ('STANDARD', 'PLANNED')
4757: AND NVL(cancel_flag,'N') <> 'Y'
4758: AND NVL(closed_code,'OPEN') <> 'FINALLY CLOSED';
4759:
4760: l_ship_chg_i := find_ship_change(p_chg, l_line_location_id);

Line 5315: AND shipment_type IN ('STANDARD', 'PLANNED');

5311: INTO l_qty_received,
5312: l_qty_billed
5313: FROM po_line_locations
5314: WHERE po_line_id = l_po_line_id
5315: AND shipment_type IN ('STANDARD', 'PLANNED');
5316:
5317: IF (l_new_qty < greatest(l_qty_received, l_qty_billed)
5318: and l_new_qty < l_orig_qty) THEN --
5319: add_error ( p_api_errors => g_api_errors,

Line 5336: AND shipment_type IN ('STANDARD', 'PLANNED','PREPAYMENT');

5332: INTO l_qty_received,
5333: l_qty_billed
5334: FROM po_line_locations
5335: WHERE po_line_id = l_po_line_id
5336: AND shipment_type IN ('STANDARD', 'PLANNED','PREPAYMENT');
5337:
5338: IF (l_new_qty < greatest(l_qty_received, l_qty_billed)) THEN
5339: add_error ( p_api_errors => g_api_errors,
5340: x_return_status => x_return_status,

Line 5355: -- Check: If there is a Standard PO price change, call an API to

5351: END IF; -- l_new_qty
5352:
5353: -- Bug 3312906 START
5354: --------------------------------------------------------------------------
5355: -- Check: If there is a Standard PO price change, call an API to
5356: -- determine whether price updates are allowed for this line.
5357: --------------------------------------------------------------------------
5358: l_progress := '040';
5359: IF (g_document_type = 'PO') AND (g_document_subtype='STANDARD')

Line 5359: IF (g_document_type = 'PO') AND (g_document_subtype='STANDARD')

5355: -- Check: If there is a Standard PO price change, call an API to
5356: -- determine whether price updates are allowed for this line.
5357: --------------------------------------------------------------------------
5358: l_progress := '040';
5359: IF (g_document_type = 'PO') AND (g_document_subtype='STANDARD')
5360: AND (l_new_price <> l_current_price) THEN
5361:
5362: l_last_msg_list_index := FND_MSG_PUB.count_msg;
5363:

Line 5396: END IF; -- document type is standard PO

5392: g_retroactive_price_change := G_PARAMETER_YES;
5393: PO_LINES_SV2.retroactive_change(l_po_line_id);
5394: END IF;
5395:
5396: END IF; -- document type is standard PO
5397: -- Bug 3312906 END
5398:
5399: --------------------------------------------------------------------------
5400: -- Check: (Services) Validate that the start date is not later than

Line 5458: AND shipment_type = 'STANDARD';

5454: INTO l_amt_received,
5455: l_amt_billed
5456: FROM po_line_locations
5457: WHERE po_line_id = l_po_line_id
5458: AND shipment_type = 'STANDARD';
5459:
5460: IF (l_new_amount < greatest(l_amt_received, l_amt_billed)) THEN
5461: add_error ( p_api_errors => g_api_errors,
5462: x_return_status => x_return_status,

Line 5477: -- on standard POs.

5473: --
5474: l_progress := '200';
5475: --------------------------------------------------------------------------
5476: -- (Services) Perform OTL-related checks for Rate-Based Temp Labor lines
5477: -- on standard POs.
5478: --------------------------------------------------------------------------
5479: IF (g_document_type = 'PO') AND (g_document_subtype = 'STANDARD')
5480: AND (p_chg.line_changes.c_value_basis(i) = 'RATE')
5481: AND (p_chg.line_changes.c_purchase_basis(i) = 'TEMP LABOR') THEN

Line 5479: IF (g_document_type = 'PO') AND (g_document_subtype = 'STANDARD')

5475: --------------------------------------------------------------------------
5476: -- (Services) Perform OTL-related checks for Rate-Based Temp Labor lines
5477: -- on standard POs.
5478: --------------------------------------------------------------------------
5479: IF (g_document_type = 'PO') AND (g_document_subtype = 'STANDARD')
5480: AND (p_chg.line_changes.c_value_basis(i) = 'RATE')
5481: AND (p_chg.line_changes.c_purchase_basis(i) = 'TEMP LABOR') THEN
5482:
5483: l_progress := '210';

Line 6770: -- For Standard PO's modify without unreserve.

6766: x_return_status := FND_API.G_RET_STS_SUCCESS;
6767:
6768: -- For POs/releases, if encumbrance is on, unreserve before making changes.
6769: -- <13503748: Edit without unreserve ER >
6770: -- For Standard PO's modify without unreserve.
6771:
6772: l_clm_doc_flag := PO_PARTIAL_FUNDING_PKG.is_clm_document(
6773: PO_CORE_S.g_doc_type_PO,
6774: p_chg.po_header_id);

Line 6777: IF (((l_clm_doc_flag = 'N' AND g_document_subtype <> 'STANDARD') OR

6773: PO_CORE_S.g_doc_type_PO,
6774: p_chg.po_header_id);
6775:
6776: IF (g_document_type <> 'PA') THEN
6777: IF (((l_clm_doc_flag = 'N' AND g_document_subtype <> 'STANDARD') OR
6778: l_clm_doc_flag = 'Y' )
6779: AND (PO_CORE_S.is_encumbrance_on (
6780: p_doc_type => g_document_type,
6781: p_org_id => NULL )) ) THEN

Line 6862: AND distribution_type = 'STANDARD';

6858: UPDATE po_distributions_all /* Changed po_distributions to po_distributions_all */
6859: SET amount_changed_flag = 'Y'
6860: WHERE po_line_id = p_chg.line_changes.po_line_id(i)
6861: AND Nvl(amount_changed_flag, 'N') <> 'Y'
6862: AND distribution_type = 'STANDARD';
6863: END IF;
6864: -- <13503748: Edit without unreserve ER END>
6865:
6866:

Line 6922: AND distribution_type = 'STANDARD';

6918: UPDATE po_distributions_all
6919: SET amount_changed_flag = 'Y'
6920: WHERE line_location_id = p_chg.shipment_changes.po_line_location_id(i)
6921: AND Nvl(amount_changed_flag, 'N') <> 'Y'
6922: AND distribution_type = 'STANDARD';
6923: END IF;
6924:
6925: -- <13503748: Edit without unreserve ER END>
6926:

Line 6955: AND distribution_type = 'STANDARD';

6951: UPDATE po_distributions_all
6952: SET amount_changed_flag = 'Y'
6953: WHERE po_distribution_id = p_chg.distribution_changes.po_distribution_id(i)
6954: AND Nvl(amount_changed_flag, 'N') <> 'Y'
6955: AND distribution_type = 'STANDARD';
6956: END IF;
6957:
6958: -- <13503748: Edit without unreserve ER END>
6959:

Line 6960: -- (Services) For standard PO, re-default the price differentials if needed.

6956: END IF;
6957:
6958: -- <13503748: Edit without unreserve ER END>
6959:
6960: -- (Services) For standard PO, re-default the price differentials if needed.
6961: IF (g_document_type = 'PO') AND (g_document_subtype = 'STANDARD') THEN
6962:
6963: FOR i IN 1..p_chg.line_changes.get_count LOOP
6964: l_new_from_line_loc_id := p_chg.line_changes.t_from_line_location_id(i);

Line 6961: IF (g_document_type = 'PO') AND (g_document_subtype = 'STANDARD') THEN

6957:
6958: -- <13503748: Edit without unreserve ER END>
6959:
6960: -- (Services) For standard PO, re-default the price differentials if needed.
6961: IF (g_document_type = 'PO') AND (g_document_subtype = 'STANDARD') THEN
6962:
6963: FOR i IN 1..p_chg.line_changes.get_count LOOP
6964: l_new_from_line_loc_id := p_chg.line_changes.t_from_line_location_id(i);
6965:

Line 6984: -- Delete price differentials from Standard PO.

6980: l_ga_entity_type := 'BLANKET LINE';
6981: l_ga_entity_id := p_chg.line_changes.c_from_line_id(i);
6982: END IF;
6983:
6984: -- Delete price differentials from Standard PO.
6985: PO_PRICE_DIFFERENTIALS_PVT.delete_price_differentials (
6986: p_entity_type => l_po_entity_type,
6987: p_entity_id => l_po_entity_id
6988: );

Line 6990: -- Copy price differentials from GA to Standard PO.

6986: p_entity_type => l_po_entity_type,
6987: p_entity_id => l_po_entity_id
6988: );
6989:
6990: -- Copy price differentials from GA to Standard PO.
6991: PO_PRICE_DIFFERENTIALS_PVT.default_price_differentials (
6992: p_from_entity_type => l_ga_entity_type,
6993: p_from_entity_id => l_ga_entity_id,
6994: p_to_entity_type => l_po_entity_type,

Line 7089: -- For a new revision of a standard PO or a PA, if signature was required

7085: l_progress := '080';
7086: IF (g_document_type IN ('PO', 'PA')) THEN
7087:
7088: --
7089: -- For a new revision of a standard PO or a PA, if signature was required
7090: -- on any of the previous revisions, then Acceptance Required should be
7091: -- set to Document and Signature ('S').
7092:
7093: IF ((g_document_type = 'PO' AND g_document_subtype = 'STANDARD')

Line 7093: IF ((g_document_type = 'PO' AND g_document_subtype = 'STANDARD')

7089: -- For a new revision of a standard PO or a PA, if signature was required
7090: -- on any of the previous revisions, then Acceptance Required should be
7091: -- set to Document and Signature ('S').
7092:
7093: IF ((g_document_type = 'PO' AND g_document_subtype = 'STANDARD')
7094: OR (g_document_type = 'PA'))
7095: AND (l_new_revision_num <> g_revision_num) -- revision has changed
7096: AND PO_SIGNATURE_PVT.was_signature_required(g_po_header_id) THEN
7097:

Line 8172: -- on the releases of the blanket or standard POs of the GA with the

8168: -- mode, where we start the workflow in the background and return
8169: -- immediately, without issuing any commits.
8170: --p_mass_update_releases
8171: -- Blankets / GAs only: If 'Y', we will update the price
8172: -- on the releases of the blanket or standard POs of the GA with the
8173: -- retroactive price change on the blanket/GA line.
8174: --p_retroactive_price_change
8175: -- This parameter is used for performance reasons only.
8176: -- Releases / Standard POs only: If 'Y', indicates that

Line 8176: -- Releases / Standard POs only: If 'Y', indicates that

8172: -- on the releases of the blanket or standard POs of the GA with the
8173: -- retroactive price change on the blanket/GA line.
8174: --p_retroactive_price_change
8175: -- This parameter is used for performance reasons only.
8176: -- Releases / Standard POs only: If 'Y', indicates that
8177: -- this release/PO has been updated with a retroactive price change.
8178: -- If NULL or 'N', start_wf_process will query the database to figure out
8179: -- if there was a retroactive price change.
8180: --Notes:

Line 8227: -- Standard API initialization:

8223: END IF;
8224:
8225: x_return_status := FND_API.G_RET_STS_SUCCESS;
8226:
8227: -- Standard API initialization:
8228: IF NOT FND_API.compatible_api_call (
8229: p_current_version_number => l_api_version,
8230: p_caller_version_number => p_api_version,
8231: p_api_name => l_proc_name,

Line 8898: -- Adds the messages on the standard API message list (starting from

8894: -------------------------------------------------------------------------------
8895: --Start of Comments
8896: --Name: add_message_list_errors
8897: --Function:
8898: -- Adds the messages on the standard API message list (starting from
8899: -- p_start_index) to p_api_errors. Deletes the messages from the API message
8900: -- list once they have been transferred.
8901: --Pre-reqs:
8902: -- p_api_errors should be initialized.

Line 9184: -- Standard API specification parameter

9180: -- po entity LINE/SHIPMENT/DISTRIBUTION is to be deleted
9181: --Parameters:
9182: --IN:
9183: --p_init_msg_list
9184: -- Standard API specification parameter
9185: -- Pass FND_API.G_FALSE if message list has already been initialized for
9186: -- transaction else pass FND_API.G_TRUE
9187: --p_calling_program
9188: -- Calling module.

Line 9209: -- Standard API specification parameter

9205: --p_doc_type
9206: -- Document type of the PO [PO/PA]
9207: --OUT:
9208: --x_return_status
9209: -- Standard API specification parameter
9210: -- Can hold one of the following values:
9211: -- FND_API.G_RET_STS_SUCCESS (='S')
9212: -- FND_API.G_RET_STS_ERROR (='E')
9213: -- FND_API.G_RET_STS_UNEXP_ERROR (='U')

Line 9250: -- Standard start of API savepoint

9246: PO_LOG.proc_begin(d_module, 'p_doc_type', p_doc_type); PO_LOG.proc_begin(d_module, 'p_doc_subtype', p_doc_subtype); PO_LOG.proc_begin(d_module, 'p_doc_header_id', p_doc_header_id);
9247: PO_LOG.proc_begin(d_module, 'p_ga_flag', p_ga_flag); PO_LOG.proc_begin(d_module, 'p_conterms_exist_flag', p_conterms_exist_flag); PO_LOG.proc_begin(d_module, 'p_po_line_id', p_po_line_id);
9248: PO_LOG.proc_begin(d_module, 'p_line_loc_id', p_line_loc_id); PO_LOG.proc_begin(d_module, 'p_distribution_id', p_distribution_id);
9249: END IF;
9250: -- Standard start of API savepoint
9251: SAVEPOINT PO_PROCESS_DELETE_ACTION;
9252:
9253: --Initialize message list if necessary (p_init_msg_list is set to TRUE)
9254: IF FND_API.to_Boolean(p_init_msg_list)