DBA Data[Home] [Help]

APPS.PO_DOCUMENT_UPDATE_PVT dependencies on FND_MESSAGE

Line 1028: FND_MESSAGE.set_name('PO', 'PO_INVALID_MASS_UPDATE_REL');

1024: --------------------------------------------------------------------------
1025: IF (p_mass_update_releases = G_PARAMETER_YES)
1026: AND (g_document_type <> 'PA') THEN
1027:
1028: FND_MESSAGE.set_name('PO', 'PO_INVALID_MASS_UPDATE_REL');
1029: FND_MSG_PUB.add;
1030: RAISE FND_API.g_exc_unexpected_error;
1031: END IF;
1032:

Line 7665: FND_MESSAGE.set_name('PO', 'PO_GENERIC_ERROR');

7661:
7662: IF (l_line_location_id IS NULL) THEN
7663: -- PO_LINE_LOCATION_ID should have been assigned to the split shipment
7664: -- in create_split_shipments. If not, throw an unexpected error.
7665: FND_MESSAGE.set_name('PO', 'PO_GENERIC_ERROR');
7666: FND_MESSAGE.set_token('ERROR_TEXT',
7667: 'Could not find the new shipment for this split distribution.');
7668: FND_MSG_PUB.add;
7669: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 7666: FND_MESSAGE.set_token('ERROR_TEXT',

7662: IF (l_line_location_id IS NULL) THEN
7663: -- PO_LINE_LOCATION_ID should have been assigned to the split shipment
7664: -- in create_split_shipments. If not, throw an unexpected error.
7665: FND_MESSAGE.set_name('PO', 'PO_GENERIC_ERROR');
7666: FND_MESSAGE.set_token('ERROR_TEXT',
7667: 'Could not find the new shipment for this split distribution.');
7668: FND_MSG_PUB.add;
7669: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
7670: END IF;

Line 8374: FND_MESSAGE.set_name('PO', 'PO_CHNG_DUP_LINE');

8370: l_po_line_id := p_chg.line_changes.po_line_id(i);
8371:
8372: IF g_line_changes_index.EXISTS(l_po_line_id) THEN
8373: -- Error: This is a duplicate change for the same PO_LINE_ID.
8374: FND_MESSAGE.set_name('PO', 'PO_CHNG_DUP_LINE');
8375: FND_MSG_PUB.add;
8376: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8377: END IF;
8378:

Line 8413: FND_MESSAGE.set_name('PO', 'PO_CHNG_DUP_SHIPMENT');

8409: IF (l_line_location_id IS NOT NULL) THEN -- Existing shipment
8410:
8411: IF g_ship_changes_index.EXISTS(l_line_location_id) THEN
8412: -- Error: This is a duplicate change for the same LINE_LOCATION_ID.
8413: FND_MESSAGE.set_name('PO', 'PO_CHNG_DUP_SHIPMENT');
8414: FND_MSG_PUB.add;
8415: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8416: END IF;
8417:

Line 8464: FND_MESSAGE.set_name('PO', 'PO_CHNG_DUP_DISTRIBUTION');

8460: IF (l_po_distribution_id IS NOT NULL) THEN -- Existing distribution
8461:
8462: IF g_dist_changes_index.EXISTS(l_po_distribution_id) THEN
8463: -- Error: This is a duplicate change for the same PO_DISTRIBUTION_ID.
8464: FND_MESSAGE.set_name('PO', 'PO_CHNG_DUP_DISTRIBUTION');
8465: FND_MSG_PUB.add;
8466: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8467: END IF;
8468:

Line 8798: -- FND message dictionary with p_message_name and the token/value pairs

8794: --Name: add_error
8795: --Function:
8796: -- Adds an error message to p_api_errors.
8797: -- If p_message_text is null, retrieves the message text by calling the
8798: -- FND message dictionary with p_message_name and the token/value pairs
8799: -- for token substitution.
8800: --Pre-reqs:
8801: -- p_api_errors should be initialized.
8802: --Modifies:

Line 8842: FND_MESSAGE.set_name('PO', p_message_name);

8838: END IF;
8839:
8840: IF (p_message_text IS NULL) THEN
8841: l_progress := '010';
8842: FND_MESSAGE.set_name('PO', p_message_name);
8843:
8844: if (p_token_name1 is not null) then
8845: FND_MESSAGE.set_token(p_token_name1, p_token_value1);
8846: end if;

Line 8845: FND_MESSAGE.set_token(p_token_name1, p_token_value1);

8841: l_progress := '010';
8842: FND_MESSAGE.set_name('PO', p_message_name);
8843:
8844: if (p_token_name1 is not null) then
8845: FND_MESSAGE.set_token(p_token_name1, p_token_value1);
8846: end if;
8847:
8848: IF (p_token_name2 IS NOT NULL) THEN
8849: FND_MESSAGE.set_token(p_token_name2, p_token_value2);

Line 8849: FND_MESSAGE.set_token(p_token_name2, p_token_value2);

8845: FND_MESSAGE.set_token(p_token_name1, p_token_value1);
8846: end if;
8847:
8848: IF (p_token_name2 IS NOT NULL) THEN
8849: FND_MESSAGE.set_token(p_token_name2, p_token_value2);
8850: END IF;
8851:
8852: l_message_text := FND_MESSAGE.get;
8853: ELSE

Line 8852: l_message_text := FND_MESSAGE.get;

8848: IF (p_token_name2 IS NOT NULL) THEN
8849: FND_MESSAGE.set_token(p_token_name2, p_token_value2);
8850: END IF;
8851:
8852: l_message_text := FND_MESSAGE.get;
8853: ELSE
8854: l_message_text := p_message_text;
8855: END IF;
8856:

Line 9296: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');

9292: END IF;
9293:
9294: IF l_error_message is NOT NULL
9295: THEN
9296: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');
9297: FND_MESSAGE.set_token('TRANSLATED_TOKEN', l_error_message);
9298: FND_MSG_PUB.add;
9299: RAISE FND_API.g_exc_error;
9300: END IF; --x_error_message is NULL

Line 9297: FND_MESSAGE.set_token('TRANSLATED_TOKEN', l_error_message);

9293:
9294: IF l_error_message is NOT NULL
9295: THEN
9296: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');
9297: FND_MESSAGE.set_token('TRANSLATED_TOKEN', l_error_message);
9298: FND_MSG_PUB.add;
9299: RAISE FND_API.g_exc_error;
9300: END IF; --x_error_message is NULL
9301: END IF;