DBA Data[Home] [Help]

APPS.PO_DOCUMENT_UPDATE_PVT dependencies on FND_MESSAGE

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

1001: --------------------------------------------------------------------------
1002: IF (p_mass_update_releases = G_PARAMETER_YES)
1003: AND (g_document_type <> 'PA') THEN
1004:
1005: FND_MESSAGE.set_name('PO', 'PO_INVALID_MASS_UPDATE_REL');
1006: FND_MSG_PUB.add;
1007: RAISE FND_API.g_exc_unexpected_error;
1008: END IF;
1009:

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

7549:
7550: IF (l_line_location_id IS NULL) THEN
7551: -- PO_LINE_LOCATION_ID should have been assigned to the split shipment
7552: -- in create_split_shipments. If not, throw an unexpected error.
7553: FND_MESSAGE.set_name('PO', 'PO_GENERIC_ERROR');
7554: FND_MESSAGE.set_token('ERROR_TEXT',
7555: 'Could not find the new shipment for this split distribution.');
7556: FND_MSG_PUB.add;
7557: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 7554: FND_MESSAGE.set_token('ERROR_TEXT',

7550: IF (l_line_location_id IS NULL) THEN
7551: -- PO_LINE_LOCATION_ID should have been assigned to the split shipment
7552: -- in create_split_shipments. If not, throw an unexpected error.
7553: FND_MESSAGE.set_name('PO', 'PO_GENERIC_ERROR');
7554: FND_MESSAGE.set_token('ERROR_TEXT',
7555: 'Could not find the new shipment for this split distribution.');
7556: FND_MSG_PUB.add;
7557: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
7558: END IF;

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

8235: l_po_line_id := p_chg.line_changes.po_line_id(i);
8236:
8237: IF g_line_changes_index.EXISTS(l_po_line_id) THEN
8238: -- Error: This is a duplicate change for the same PO_LINE_ID.
8239: FND_MESSAGE.set_name('PO', 'PO_CHNG_DUP_LINE');
8240: FND_MSG_PUB.add;
8241: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8242: END IF;
8243:

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

8274: IF (l_line_location_id IS NOT NULL) THEN -- Existing shipment
8275:
8276: IF g_ship_changes_index.EXISTS(l_line_location_id) THEN
8277: -- Error: This is a duplicate change for the same LINE_LOCATION_ID.
8278: FND_MESSAGE.set_name('PO', 'PO_CHNG_DUP_SHIPMENT');
8279: FND_MSG_PUB.add;
8280: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8281: END IF;
8282:

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

8325: IF (l_po_distribution_id IS NOT NULL) THEN -- Existing distribution
8326:
8327: IF g_dist_changes_index.EXISTS(l_po_distribution_id) THEN
8328: -- Error: This is a duplicate change for the same PO_DISTRIBUTION_ID.
8329: FND_MESSAGE.set_name('PO', 'PO_CHNG_DUP_DISTRIBUTION');
8330: FND_MSG_PUB.add;
8331: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8332: END IF;
8333:

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

8659: --Name: add_error
8660: --Function:
8661: -- Adds an error message to p_api_errors.
8662: -- If p_message_text is null, retrieves the message text by calling the
8663: -- FND message dictionary with p_message_name and the token/value pairs
8664: -- for token substitution.
8665: --Pre-reqs:
8666: -- p_api_errors should be initialized.
8667: --Modifies:

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

8703: END IF;
8704:
8705: IF (p_message_text IS NULL) THEN
8706: l_progress := '010';
8707: FND_MESSAGE.set_name('PO', p_message_name);
8708:
8709: if (p_token_name1 is not null) then
8710: FND_MESSAGE.set_token(p_token_name1, p_token_value1);
8711: end if;

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

8706: l_progress := '010';
8707: FND_MESSAGE.set_name('PO', p_message_name);
8708:
8709: if (p_token_name1 is not null) then
8710: FND_MESSAGE.set_token(p_token_name1, p_token_value1);
8711: end if;
8712:
8713: IF (p_token_name2 IS NOT NULL) THEN
8714: FND_MESSAGE.set_token(p_token_name2, p_token_value2);

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

8710: FND_MESSAGE.set_token(p_token_name1, p_token_value1);
8711: end if;
8712:
8713: IF (p_token_name2 IS NOT NULL) THEN
8714: FND_MESSAGE.set_token(p_token_name2, p_token_value2);
8715: END IF;
8716:
8717: l_message_text := FND_MESSAGE.get;
8718: ELSE

Line 8717: l_message_text := FND_MESSAGE.get;

8713: IF (p_token_name2 IS NOT NULL) THEN
8714: FND_MESSAGE.set_token(p_token_name2, p_token_value2);
8715: END IF;
8716:
8717: l_message_text := FND_MESSAGE.get;
8718: ELSE
8719: l_message_text := p_message_text;
8720: END IF;
8721:

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

9157: END IF;
9158:
9159: IF l_error_message is NOT NULL
9160: THEN
9161: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');
9162: FND_MESSAGE.set_token('TRANSLATED_TOKEN', l_error_message);
9163: FND_MSG_PUB.add;
9164: RAISE FND_API.g_exc_error;
9165: END IF; --x_error_message is NULL

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

9158:
9159: IF l_error_message is NOT NULL
9160: THEN
9161: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');
9162: FND_MESSAGE.set_token('TRANSLATED_TOKEN', l_error_message);
9163: FND_MSG_PUB.add;
9164: RAISE FND_API.g_exc_error;
9165: END IF; --x_error_message is NULL
9166: END IF;