91: return(v_return_val);
92: END;
93:
94: else
95: app_exception.invalid_argument('LOT_CONTROL_VALIDATE',
96: 'CURR_LOT_CONTROL', curr_lot_control);
97: end if;
98: end lot_control_validate;
99:
127: * When changing to 1 we need to validate whether same base model configurations
128: * are having the same serial if so error out */
129:
130: if curr_serial_control is null then
131: app_exception.invalid_argument(
132: 'SERIAL_CONTROL_VALIDATE',
133: 'CURR_SERIAL_CONTROL',
134: curr_serial_control);
135: elsif curr_serial_control = 4 then -- At item Level
301: v_return_val := 1; close ser_config;
302: return(v_return_val);
303: END;
304: else
305: app_exception.invalid_argument(
306: 'SERIAL_CONTROL_VALIDATE',
307: 'CURR_SERIAL_CONTROL',
308: curr_serial_control);
309: end if;