DBA Data[Home] [Help]

APPS.AP_CARD_UTILITY_PKG dependencies on FND_MESSAGE

Line 89: fnd_message.set_encoded(p_error_message);

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

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

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

Line 121: l_error_message := l_debug_info||': '||FND_MESSAGE.GET;

117: l_chart_of_accounts_id);
118:
119: IF (l_flex_segment_delimiter IS NULL) THEN
120:
121: l_error_message := l_debug_info||': '||FND_MESSAGE.GET;
122: P_CCID:=''||'-1'||'';
123: return;
124: END IF;
125:

Line 136: l_error_message := FND_MESSAGE.GET;

132: 'GL#',
133: l_chart_of_accounts_id,
134: 'FA_COST_CTR',
135: l_cc_flex_segment_number)) THEN
136: l_error_message := FND_MESSAGE.GET;
137: P_CCID:=''||'-1'||'';
138: return;
139: END IF;
140:

Line 150: l_error_message := FND_MESSAGE.GET;

146: 'GL#',
147: l_chart_of_accounts_id,
148: 'GL_ACCOUNT',
149: l_flex_segment_number)) THEN
150: l_error_message := FND_MESSAGE.GET;
151: P_CCID:=''||'-1'||'';
152: return;
153: END IF;
154:

Line 168: l_error_message := FND_MESSAGE.GET;

164: P_CODE_COMBINATION_ID,
165: l_num_segments,
166: l_segments)) THEN
167:
168: l_error_message := FND_MESSAGE.GET;
169: P_CCID:=''||'-1'||'';
170: return;
171: END IF;
172: end if;

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

659: -- Custom validation failed; supply standard failure message if
660: -- custom error message is null
661: --
662: if (l_customError is null) then
663: FND_MESSAGE.SET_NAME('SQLAP','AP_COST_CENTER_INVALID');
664: p_cs_error:= fnd_message.get_encoded();
665: else
666: p_cs_error := l_customError;
667: end if;

Line 664: p_cs_error:= fnd_message.get_encoded();

660: -- custom error message is null
661: --
662: if (l_customError is null) then
663: FND_MESSAGE.SET_NAME('SQLAP','AP_COST_CENTER_INVALID');
664: p_cs_error:= fnd_message.get_encoded();
665: else
666: p_cs_error := l_customError;
667: end if;
668: end if;

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

679: if (NOT l_CostCenterValid) then
680: --
681: -- Failed; set standard failure message.
682: --
683: FND_MESSAGE.SET_NAME('SQLAP','AP_COST_CENTER_INVALID');
684: p_cs_error:= fnd_message.get_encoded();
685: end if;
686: end if;
687:

Line 684: p_cs_error:= fnd_message.get_encoded();

680: --
681: -- Failed; set standard failure message.
682: --
683: FND_MESSAGE.SET_NAME('SQLAP','AP_COST_CENTER_INVALID');
684: p_cs_error:= fnd_message.get_encoded();
685: end if;
686: end if;
687:
688: END ValidateCostCenter;

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

719:
720: return(FALSE); -- return TRUE if using this extension to perform validation
721:
722: -- Note: If any error occurred and p_cs_error needs to be set by getting
723: -- a FND message, make sure to use the following syntax:
724: --
725: -- p_CostCenterValid := FALSE;
726: --
727: -- FND_MESSAGE.SET_NAME('SQLAP', '');

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

723: -- a FND message, make sure to use the following syntax:
724: --
725: -- p_CostCenterValid := FALSE;
726: --
727: -- FND_MESSAGE.SET_NAME('SQLAP', '');
728: -- p_cs_error := FND_MESSAGE.GET_ENCODED();
729: --
730: -- return(TRUE);
731:

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

724: --
725: -- p_CostCenterValid := FALSE;
726: --
727: -- FND_MESSAGE.SET_NAME('SQLAP', '');
728: -- p_cs_error := FND_MESSAGE.GET_ENCODED();
729: --
730: -- return(TRUE);
731:
732: END CustomValidateCostCenter;