DBA Data[Home] [Help]

APPS.AP_CARD_UTILITY_PKG dependencies on FND_MESSAGE

Line 93: fnd_message.set_encoded(p_error_message);

89: --we will get the message string. The reason I am doing this this way
90: --is to avoid a dependency between pcards and OIE.
91:
92: if instrb(l_error_message,chr(0)) <> 0 then
93: fnd_message.set_encoded(p_error_message);
94: l_error_message := fnd_message.get();
95: end if;
96: P_CCID:=''||'-1'||'';
97: return;

Line 94: l_error_message := fnd_message.get();

90: --is to avoid a dependency between pcards and OIE.
91:
92: if instrb(l_error_message,chr(0)) <> 0 then
93: fnd_message.set_encoded(p_error_message);
94: l_error_message := fnd_message.get();
95: end if;
96: P_CCID:=''||'-1'||'';
97: return;
98: end if; */

Line 125: --l_error_message := l_debug_info||': '||FND_MESSAGE.GET;

121: l_chart_of_accounts_id);
122:
123: IF (l_flex_segment_delimiter IS NULL) THEN
124:
125: --l_error_message := l_debug_info||': '||FND_MESSAGE.GET;
126: P_CCID:=''||'-1'||'';
127: return;
128: END IF;
129:

Line 140: --l_error_message := FND_MESSAGE.GET;

136: 'GL#',
137: l_chart_of_accounts_id,
138: 'FA_COST_CTR',
139: l_cc_flex_segment_number)) THEN
140: --l_error_message := FND_MESSAGE.GET;
141: P_CCID:=''||'-1'||'';
142: return;
143: END IF;
144:

Line 154: --l_error_message := FND_MESSAGE.GET;

150: 'GL#',
151: l_chart_of_accounts_id,
152: 'GL_ACCOUNT',
153: l_flex_segment_number)) THEN
154: --l_error_message := FND_MESSAGE.GET;
155: P_CCID:=''||'-1'||'';
156: return;
157: END IF;
158:

Line 172: --l_error_message := FND_MESSAGE.GET;

168: P_CODE_COMBINATION_ID,
169: l_num_segments,
170: l_segments)) THEN
171:
172: --l_error_message := FND_MESSAGE.GET;
173: P_CCID:=''||'-1'||'';
174: return;
175: END IF;
176: end if;

Line 220: P_ERROR_MESSAGE := FND_MESSAGE.GET() ; -- Bug 13360323. ;

216: P_ERROR_MESSAGE := null ;
217: EXCEPTION
218: WHEN OTHERS THEN
219: P_CCID:=''||'-1'||'';
220: P_ERROR_MESSAGE := FND_MESSAGE.GET() ; -- Bug 13360323. ;
221: return;
222: END;
223:
224:

Line 675: FND_MESSAGE.SET_NAME('SQLAP','AP_COST_CENTER_INVALID');

671: -- Custom validation failed; supply standard failure message if
672: -- custom error message is null
673: --
674: if (l_customError is null) then
675: FND_MESSAGE.SET_NAME('SQLAP','AP_COST_CENTER_INVALID');
676: FND_MSG_PUB.add;
677: raise INVALID_COST_CENTER;
678: else
679: p_cs_error := l_customError;

Line 699: FND_MESSAGE.SET_NAME('SQLAP','AP_COST_CENTER_INVALID');

695: if (NOT l_CostCenterValid) then
696: --
697: -- Failed; set standard failure message.
698: --
699: FND_MESSAGE.SET_NAME('SQLAP','AP_COST_CENTER_INVALID');
700: --FND_MSG_PUB.add; -- Commented for Bug 13360323
701: raise INVALID_COST_CENTER;
702: end if;
703: end if;

Line 742: -- a FND message, make sure to use the following syntax:

738:
739: return(FALSE); -- return TRUE if using this extension to perform validation
740:
741: -- Note: If any error occurred and p_cs_error needs to be set by getting
742: -- a FND message, make sure to use the following syntax:
743: --
744: -- p_CostCenterValid := FALSE;
745: --
746: -- FND_MESSAGE.SET_NAME('SQLAP', '');

Line 746: -- FND_MESSAGE.SET_NAME('SQLAP', '');

742: -- a FND message, make sure to use the following syntax:
743: --
744: -- p_CostCenterValid := FALSE;
745: --
746: -- FND_MESSAGE.SET_NAME('SQLAP', '');
747: -- p_cs_error := FND_MESSAGE.GET_ENCODED();
748: --
749: -- return(TRUE);
750:

Line 747: -- p_cs_error := FND_MESSAGE.GET_ENCODED();

743: --
744: -- p_CostCenterValid := FALSE;
745: --
746: -- FND_MESSAGE.SET_NAME('SQLAP', '');
747: -- p_cs_error := FND_MESSAGE.GET_ENCODED();
748: --
749: -- return(TRUE);
750:
751: END CustomValidateCostCenter;