60: -- rn determine method
61: -- potentially create new messages for all these without tokens
62:
63: WHEN category_required THEN
64: FND_MESSAGE.SET_NAME('OFA', 'FA_NULL_CATEGORY');
65: p_error_message := fnd_message.get;
66: Return false;
67:
68: WHEN location_required THEN
61: -- potentially create new messages for all these without tokens
62:
63: WHEN category_required THEN
64: FND_MESSAGE.SET_NAME('OFA', 'FA_NULL_CATEGORY');
65: p_error_message := fnd_message.get;
66: Return false;
67:
68: WHEN location_required THEN
69: FND_MESSAGE.SET_NAME('OFA','FA_NULL_LOCATION');
65: p_error_message := fnd_message.get;
66: Return false;
67:
68: WHEN location_required THEN
69: FND_MESSAGE.SET_NAME('OFA','FA_NULL_LOCATION');
70: FND_MESSAGE.SET_TOKEN('LOCATION', 'FA_MASS_RETIREMENTS.LOCATION_ID', false);
71: p_error_message := fnd_message.get;
72: Return false;
73:
66: Return false;
67:
68: WHEN location_required THEN
69: FND_MESSAGE.SET_NAME('OFA','FA_NULL_LOCATION');
70: FND_MESSAGE.SET_TOKEN('LOCATION', 'FA_MASS_RETIREMENTS.LOCATION_ID', false);
71: p_error_message := fnd_message.get;
72: Return false;
73:
74: WHEN units_required THEN
67:
68: WHEN location_required THEN
69: FND_MESSAGE.SET_NAME('OFA','FA_NULL_LOCATION');
70: FND_MESSAGE.SET_TOKEN('LOCATION', 'FA_MASS_RETIREMENTS.LOCATION_ID', false);
71: p_error_message := fnd_message.get;
72: Return false;
73:
74: WHEN units_required THEN
75: FND_MESSAGE.SET_NAME('OFA','FA_NULL_FA_UNITS');
71: p_error_message := fnd_message.get;
72: Return false;
73:
74: WHEN units_required THEN
75: FND_MESSAGE.SET_NAME('OFA','FA_NULL_FA_UNITS');
76: FND_MESSAGE.SET_TOKEN('ASSET_UNITS', 'FA_MASS_RETIREMENTS.UNITS_TO_RETIRE', false);
77: p_error_message := fnd_message.get;
78: Return false;
79:
72: Return false;
73:
74: WHEN units_required THEN
75: FND_MESSAGE.SET_NAME('OFA','FA_NULL_FA_UNITS');
76: FND_MESSAGE.SET_TOKEN('ASSET_UNITS', 'FA_MASS_RETIREMENTS.UNITS_TO_RETIRE', false);
77: p_error_message := fnd_message.get;
78: Return false;
79:
80: WHEN group_asset_required THEN
73:
74: WHEN units_required THEN
75: FND_MESSAGE.SET_NAME('OFA','FA_NULL_FA_UNITS');
76: FND_MESSAGE.SET_TOKEN('ASSET_UNITS', 'FA_MASS_RETIREMENTS.UNITS_TO_RETIRE', false);
77: p_error_message := fnd_message.get;
78: Return false;
79:
80: WHEN group_asset_required THEN
81: FND_MESSAGE.SET_NAME('OFA','FA_NULL_GROUP_ASSETS');
77: p_error_message := fnd_message.get;
78: Return false;
79:
80: WHEN group_asset_required THEN
81: FND_MESSAGE.SET_NAME('OFA','FA_NULL_GROUP_ASSETS');
82: p_error_message := fnd_message.get;
83: Return false;
84:
85: END VALIDATE_CRITERIA;
78: Return false;
79:
80: WHEN group_asset_required THEN
81: FND_MESSAGE.SET_NAME('OFA','FA_NULL_GROUP_ASSETS');
82: p_error_message := fnd_message.get;
83: Return false;
84:
85: END VALIDATE_CRITERIA;
86: END FA_CUSTOM_RET_VAL_PKG;