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