Factory loc < ca_location, usp_location > Attributes: id <location_uuid> UUID UNIQUE producer_id LOCAL STRING(20) persistent_id LOCAL STRING(60) last_mod_by last_update_user STRING(64) last_mod_dt last_update_date DATE version_number INTEGER creation_user STRING(64) creation_date DATE exclude_registration INTEGER delete_time DATE name location_name STRING(100) REQUIRED delete_flag inactive SREL -> actbool.enum REQUIRED description comment<comments> STRING(255) site site_id SREL -> site.id address1 address_1 STRING(50) address2 address_2 STRING(50) address3 address_3 STRING(50) address4 address_4 STRING(50) address5 address_5 STRING(50) address6 address_6 STRING(50) mail_address_1 STRING(50) mail_address_2 STRING(50) mail_address_3 STRING(50) mail_address_4 STRING(50) mail_address_5 STRING(50) mail_address_6 STRING(50) pri_phone_number STRING(40) fax_number STRING(40) city STRING(50) state SREL -> state.id primary_contact primary_contact_uuid SREL -> cnt.id SERVICE_PROVIDER_ELIGIBLE zip STRING(20) country SREL -> country.id county STRING(50) contact_address_flag INTEGER parent_location_uuid UUID location_type_id INTEGER service_groups BREL <- lrel_svc_locs_svc_groups.loc (LREL cnt) {loc = ? } service_chgcat BREL <- lrel_svc_locs_svc_chgcat.loc (LREL chgcat) {loc = ?} service_pcat BREL <- lrel_svc_locs_svc_pcat.loc (LREL pcat) {loc = ?} service_isscat BREL <- lrel_svc_locs_svc_isscat.loc (LREL isscat) {loc = ?} audit_userid LOCAL SREL -> cnt.id TENANCY_UNRESTRICTED tenant SREL -> tenant.id timezone SREL -> tz.code linked_id_usp_location id<location_uuid> UUID UNIQUE |