4006: DECLARE
4007: l_location_required_flag mtl_transaction_types.location_required_flag%TYPE;
4008: BEGIN
4009: l_location_required_flag := 'N';
4010: -- Call the inv_validate.check_location_required_setup procedure
4011: -- and pass l_line_rec_type.transaction_type_id as parameter to
4012: -- check if the Location has to be made mandatory. If this procedure
4013: -- returns 'Y' then check if the Location Code is specified or not.
4014: -- If it is not specified then error out the interface record.
4011: -- and pass l_line_rec_type.transaction_type_id as parameter to
4012: -- check if the Location has to be made mandatory. If this procedure
4013: -- returns 'Y' then check if the Location Code is specified or not.
4014: -- If it is not specified then error out the interface record.
4015: inv_validate.check_location_required_setup(
4016: p_transaction_type_id => l_line_rec_type.transaction_type_id,
4017: p_required_flag => l_location_required_flag);
4018:
4019: IF l_location_required_flag = 'Y' AND