433: pragma AUTONOMOUS_TRANSACTION;
434: l_error_message VARCHAR2(2000) := NULL;
435:
436: BEGIN
437: FND_MESSAGE.set_name('PO', X_MESSAGE_NAME);
438:
439: if (X_token_name is not null) then
440: FND_MESSAGE.set_token(X_token_name, X_token_value);
441: end if;
436: BEGIN
437: FND_MESSAGE.set_name('PO', X_MESSAGE_NAME);
438:
439: if (X_token_name is not null) then
440: FND_MESSAGE.set_token(X_token_name, X_token_value);
441: end if;
442:
443: l_error_message := FND_MESSAGE.get;
444:
439: if (X_token_name is not null) then
440: FND_MESSAGE.set_token(X_token_name, X_token_value);
441: end if;
442:
443: l_error_message := FND_MESSAGE.get;
444:
445: insert into PO_INTERFACE_ERRORS (
446: INTERFACE_TYPE,
447: INTERFACE_TRANSACTION_ID,