Added parts location to job line list view. BOD-208
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
- args:
|
||||
cascade: false
|
||||
read_only: false
|
||||
sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_parts_locations";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,6 @@
|
||||
- args:
|
||||
cascade: false
|
||||
read_only: false
|
||||
sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_parts_locations" jsonb NULL
|
||||
DEFAULT jsonb_build_array();
|
||||
type: run_sql
|
||||
@@ -0,0 +1,58 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- accountingconfig
|
||||
- address1
|
||||
- address2
|
||||
- appt_length
|
||||
- city
|
||||
- country
|
||||
- created_at
|
||||
- email
|
||||
- federal_tax_id
|
||||
- id
|
||||
- inhousevendorid
|
||||
- insurance_vendor_id
|
||||
- intakechecklist
|
||||
- invoice_tax_rates
|
||||
- logo_img_path
|
||||
- md_messaging_presets
|
||||
- md_order_statuses
|
||||
- md_referral_sources
|
||||
- md_responsibility_centers
|
||||
- md_ro_statuses
|
||||
- messagingservicesid
|
||||
- production_config
|
||||
- region_config
|
||||
- scoreboard_target
|
||||
- shopname
|
||||
- shoprates
|
||||
- speedprint
|
||||
- ssbuckets
|
||||
- state
|
||||
- state_tax_id
|
||||
- stripe_acct_id
|
||||
- template_header
|
||||
- textid
|
||||
- updated_at
|
||||
- zip_post
|
||||
computed_fields: []
|
||||
filter:
|
||||
associations:
|
||||
bodyshop:
|
||||
associations:
|
||||
user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
role: user
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,59 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- accountingconfig
|
||||
- address1
|
||||
- address2
|
||||
- appt_length
|
||||
- city
|
||||
- country
|
||||
- created_at
|
||||
- email
|
||||
- federal_tax_id
|
||||
- id
|
||||
- inhousevendorid
|
||||
- insurance_vendor_id
|
||||
- intakechecklist
|
||||
- invoice_tax_rates
|
||||
- logo_img_path
|
||||
- md_messaging_presets
|
||||
- md_order_statuses
|
||||
- md_parts_locations
|
||||
- md_referral_sources
|
||||
- md_responsibility_centers
|
||||
- md_ro_statuses
|
||||
- messagingservicesid
|
||||
- production_config
|
||||
- region_config
|
||||
- scoreboard_target
|
||||
- shopname
|
||||
- shoprates
|
||||
- speedprint
|
||||
- ssbuckets
|
||||
- state
|
||||
- state_tax_id
|
||||
- stripe_acct_id
|
||||
- template_header
|
||||
- textid
|
||||
- updated_at
|
||||
- zip_post
|
||||
computed_fields: []
|
||||
filter:
|
||||
associations:
|
||||
bodyshop:
|
||||
associations:
|
||||
user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
role: user
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,52 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- accountingconfig
|
||||
- address1
|
||||
- address2
|
||||
- appt_length
|
||||
- city
|
||||
- country
|
||||
- created_at
|
||||
- email
|
||||
- federal_tax_id
|
||||
- id
|
||||
- inhousevendorid
|
||||
- insurance_vendor_id
|
||||
- intakechecklist
|
||||
- invoice_tax_rates
|
||||
- logo_img_path
|
||||
- md_messaging_presets
|
||||
- md_order_statuses
|
||||
- md_referral_sources
|
||||
- md_responsibility_centers
|
||||
- md_ro_statuses
|
||||
- production_config
|
||||
- scoreboard_target
|
||||
- shopname
|
||||
- shoprates
|
||||
- speedprint
|
||||
- ssbuckets
|
||||
- state
|
||||
- state_tax_id
|
||||
- updated_at
|
||||
- zip_post
|
||||
filter:
|
||||
associations:
|
||||
bodyshop:
|
||||
associations:
|
||||
user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -0,0 +1,53 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- accountingconfig
|
||||
- address1
|
||||
- address2
|
||||
- appt_length
|
||||
- city
|
||||
- country
|
||||
- created_at
|
||||
- email
|
||||
- federal_tax_id
|
||||
- id
|
||||
- inhousevendorid
|
||||
- insurance_vendor_id
|
||||
- intakechecklist
|
||||
- invoice_tax_rates
|
||||
- logo_img_path
|
||||
- md_messaging_presets
|
||||
- md_order_statuses
|
||||
- md_parts_locations
|
||||
- md_referral_sources
|
||||
- md_responsibility_centers
|
||||
- md_ro_statuses
|
||||
- production_config
|
||||
- scoreboard_target
|
||||
- shopname
|
||||
- shoprates
|
||||
- speedprint
|
||||
- ssbuckets
|
||||
- state
|
||||
- state_tax_id
|
||||
- updated_at
|
||||
- zip_post
|
||||
filter:
|
||||
associations:
|
||||
bodyshop:
|
||||
associations:
|
||||
user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -0,0 +1,5 @@
|
||||
- args:
|
||||
cascade: false
|
||||
read_only: false
|
||||
sql: ALTER TABLE "public"."joblines" DROP COLUMN "location";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,5 @@
|
||||
- args:
|
||||
cascade: false
|
||||
read_only: false
|
||||
sql: ALTER TABLE "public"."joblines" ADD COLUMN "location" text NULL;
|
||||
type: run_sql
|
||||
@@ -0,0 +1,76 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
job:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- act_price
|
||||
- alt_co_id
|
||||
- alt_overrd
|
||||
- alt_part_i
|
||||
- alt_partm
|
||||
- alt_partno
|
||||
- bett_amt
|
||||
- bett_pctg
|
||||
- bett_tax
|
||||
- bett_type
|
||||
- cert_part
|
||||
- created_at
|
||||
- db_hrs
|
||||
- db_price
|
||||
- db_ref
|
||||
- est_seq
|
||||
- glass_flag
|
||||
- id
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
- lbr_inc
|
||||
- lbr_op
|
||||
- lbr_op_j
|
||||
- lbr_tax
|
||||
- lbr_typ_j
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- misc_amt
|
||||
- misc_sublt
|
||||
- misc_tax
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
- notes
|
||||
- oem_partno
|
||||
- op_code_desc
|
||||
- paint_stg
|
||||
- paint_tone
|
||||
- part_qty
|
||||
- part_type
|
||||
- price_inc
|
||||
- price_j
|
||||
- prt_dsmk_m
|
||||
- prt_dsmk_p
|
||||
- removed
|
||||
- status
|
||||
- tax_part
|
||||
- unq_seq
|
||||
- updated_at
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,77 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
job:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- act_price
|
||||
- alt_co_id
|
||||
- alt_overrd
|
||||
- alt_part_i
|
||||
- alt_partm
|
||||
- alt_partno
|
||||
- bett_amt
|
||||
- bett_pctg
|
||||
- bett_tax
|
||||
- bett_type
|
||||
- cert_part
|
||||
- created_at
|
||||
- db_hrs
|
||||
- db_price
|
||||
- db_ref
|
||||
- est_seq
|
||||
- glass_flag
|
||||
- id
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
- lbr_inc
|
||||
- lbr_op
|
||||
- lbr_op_j
|
||||
- lbr_tax
|
||||
- lbr_typ_j
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- location
|
||||
- misc_amt
|
||||
- misc_sublt
|
||||
- misc_tax
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
- notes
|
||||
- oem_partno
|
||||
- op_code_desc
|
||||
- paint_stg
|
||||
- paint_tone
|
||||
- part_qty
|
||||
- part_type
|
||||
- price_inc
|
||||
- price_j
|
||||
- prt_dsmk_m
|
||||
- prt_dsmk_p
|
||||
- removed
|
||||
- status
|
||||
- tax_part
|
||||
- unq_seq
|
||||
- updated_at
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,77 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: true
|
||||
columns:
|
||||
- act_price
|
||||
- alt_co_id
|
||||
- alt_overrd
|
||||
- alt_part_i
|
||||
- alt_partm
|
||||
- alt_partno
|
||||
- bett_amt
|
||||
- bett_pctg
|
||||
- bett_tax
|
||||
- bett_type
|
||||
- cert_part
|
||||
- created_at
|
||||
- db_hrs
|
||||
- db_price
|
||||
- db_ref
|
||||
- est_seq
|
||||
- glass_flag
|
||||
- id
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
- lbr_inc
|
||||
- lbr_op
|
||||
- lbr_op_j
|
||||
- lbr_tax
|
||||
- lbr_typ_j
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- misc_amt
|
||||
- misc_sublt
|
||||
- misc_tax
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
- notes
|
||||
- oem_partno
|
||||
- op_code_desc
|
||||
- paint_stg
|
||||
- paint_tone
|
||||
- part_qty
|
||||
- part_type
|
||||
- price_inc
|
||||
- price_j
|
||||
- prt_dsmk_m
|
||||
- prt_dsmk_p
|
||||
- removed
|
||||
- status
|
||||
- tax_part
|
||||
- unq_seq
|
||||
- updated_at
|
||||
computed_fields: []
|
||||
filter:
|
||||
job:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,78 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: true
|
||||
columns:
|
||||
- act_price
|
||||
- alt_co_id
|
||||
- alt_overrd
|
||||
- alt_part_i
|
||||
- alt_partm
|
||||
- alt_partno
|
||||
- bett_amt
|
||||
- bett_pctg
|
||||
- bett_tax
|
||||
- bett_type
|
||||
- cert_part
|
||||
- created_at
|
||||
- db_hrs
|
||||
- db_price
|
||||
- db_ref
|
||||
- est_seq
|
||||
- glass_flag
|
||||
- id
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
- lbr_inc
|
||||
- lbr_op
|
||||
- lbr_op_j
|
||||
- lbr_tax
|
||||
- lbr_typ_j
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- location
|
||||
- misc_amt
|
||||
- misc_sublt
|
||||
- misc_tax
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
- notes
|
||||
- oem_partno
|
||||
- op_code_desc
|
||||
- paint_stg
|
||||
- paint_tone
|
||||
- part_qty
|
||||
- part_type
|
||||
- price_inc
|
||||
- price_j
|
||||
- prt_dsmk_m
|
||||
- prt_dsmk_p
|
||||
- removed
|
||||
- status
|
||||
- tax_part
|
||||
- unq_seq
|
||||
- updated_at
|
||||
computed_fields: []
|
||||
filter:
|
||||
job:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,76 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- act_price
|
||||
- alt_co_id
|
||||
- alt_overrd
|
||||
- alt_part_i
|
||||
- alt_partm
|
||||
- alt_partno
|
||||
- bett_amt
|
||||
- bett_pctg
|
||||
- bett_tax
|
||||
- bett_type
|
||||
- cert_part
|
||||
- created_at
|
||||
- db_hrs
|
||||
- db_price
|
||||
- db_ref
|
||||
- est_seq
|
||||
- glass_flag
|
||||
- id
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
- lbr_inc
|
||||
- lbr_op
|
||||
- lbr_op_j
|
||||
- lbr_tax
|
||||
- lbr_typ_j
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- misc_amt
|
||||
- misc_sublt
|
||||
- misc_tax
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
- notes
|
||||
- oem_partno
|
||||
- op_code_desc
|
||||
- paint_stg
|
||||
- paint_tone
|
||||
- part_qty
|
||||
- part_type
|
||||
- price_inc
|
||||
- price_j
|
||||
- prt_dsmk_m
|
||||
- prt_dsmk_p
|
||||
- removed
|
||||
- status
|
||||
- tax_part
|
||||
- unq_seq
|
||||
- updated_at
|
||||
filter:
|
||||
job:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -0,0 +1,77 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- act_price
|
||||
- alt_co_id
|
||||
- alt_overrd
|
||||
- alt_part_i
|
||||
- alt_partm
|
||||
- alt_partno
|
||||
- bett_amt
|
||||
- bett_pctg
|
||||
- bett_tax
|
||||
- bett_type
|
||||
- cert_part
|
||||
- created_at
|
||||
- db_hrs
|
||||
- db_price
|
||||
- db_ref
|
||||
- est_seq
|
||||
- glass_flag
|
||||
- id
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
- lbr_inc
|
||||
- lbr_op
|
||||
- lbr_op_j
|
||||
- lbr_tax
|
||||
- lbr_typ_j
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- location
|
||||
- misc_amt
|
||||
- misc_sublt
|
||||
- misc_tax
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
- notes
|
||||
- oem_partno
|
||||
- op_code_desc
|
||||
- paint_stg
|
||||
- paint_tone
|
||||
- part_qty
|
||||
- part_type
|
||||
- price_inc
|
||||
- price_j
|
||||
- prt_dsmk_m
|
||||
- prt_dsmk_p
|
||||
- removed
|
||||
- status
|
||||
- tax_part
|
||||
- unq_seq
|
||||
- updated_at
|
||||
filter:
|
||||
job:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -475,6 +475,7 @@ tables:
|
||||
- logo_img_path
|
||||
- md_messaging_presets
|
||||
- md_order_statuses
|
||||
- md_parts_locations
|
||||
- md_referral_sources
|
||||
- md_responsibility_centers
|
||||
- md_ro_statuses
|
||||
@@ -521,6 +522,7 @@ tables:
|
||||
- logo_img_path
|
||||
- md_messaging_presets
|
||||
- md_order_statuses
|
||||
- md_parts_locations
|
||||
- md_referral_sources
|
||||
- md_responsibility_centers
|
||||
- md_ro_statuses
|
||||
@@ -1711,6 +1713,7 @@ tables:
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- location
|
||||
- misc_amt
|
||||
- misc_sublt
|
||||
- misc_tax
|
||||
@@ -1766,6 +1769,7 @@ tables:
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- location
|
||||
- misc_amt
|
||||
- misc_sublt
|
||||
- misc_tax
|
||||
@@ -1832,6 +1836,7 @@ tables:
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- location
|
||||
- misc_amt
|
||||
- misc_sublt
|
||||
- misc_tax
|
||||
|
||||
Reference in New Issue
Block a user