Capture additional information on jobline.
This commit is contained in:
@@ -330,7 +330,7 @@ async function DecodeLinFile(extensionlessFilePath, close_date) {
|
||||
"DB_HRS",
|
||||
"MOD_LB_HRS",
|
||||
"LBR_INC",
|
||||
// "LBR_OP",
|
||||
"LBR_OP",
|
||||
"LBR_HRS_J",
|
||||
// "LBR_TYP_J",
|
||||
// "LBR_OP_J",
|
||||
@@ -382,14 +382,6 @@ async function DecodeLinFile(extensionlessFilePath, close_date) {
|
||||
|
||||
jobline.alerts = claimsClerk({ jobline, joblines });
|
||||
|
||||
//Moved from V1 function as they may be needed later.
|
||||
delete jobline.lbr_inc;
|
||||
delete jobline.lbr_hrs_j;
|
||||
delete jobline.prt_dsmk_m; //Delete price markup for wheel repair
|
||||
delete jobline.prt_dsmk_p;
|
||||
delete jobline.glass_flag;
|
||||
delete jobline.price_j;
|
||||
delete jobline.line_ref;
|
||||
return jobline;
|
||||
});
|
||||
|
||||
|
||||
@@ -22,13 +22,18 @@ insert_permissions:
|
||||
- db_hrs
|
||||
- db_price
|
||||
- db_ref
|
||||
- glass_flag
|
||||
- id
|
||||
- ignore
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
- lbr_inc
|
||||
- lbr_op
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- misc_amt
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
@@ -37,6 +42,9 @@ insert_permissions:
|
||||
- part_type
|
||||
- price_diff
|
||||
- price_diff_pc
|
||||
- price_j
|
||||
- prt_dsmk_m
|
||||
- prt_dsmk_p
|
||||
- unq_seq
|
||||
- updated_at
|
||||
select_permissions:
|
||||
@@ -49,13 +57,18 @@ select_permissions:
|
||||
- db_hrs
|
||||
- db_price
|
||||
- db_ref
|
||||
- glass_flag
|
||||
- id
|
||||
- ignore
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
- lbr_inc
|
||||
- lbr_op
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- misc_amt
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
@@ -64,6 +77,9 @@ select_permissions:
|
||||
- part_type
|
||||
- price_diff
|
||||
- price_diff_pc
|
||||
- price_j
|
||||
- prt_dsmk_m
|
||||
- prt_dsmk_p
|
||||
- unq_seq
|
||||
- updated_at
|
||||
filter:
|
||||
@@ -83,13 +99,18 @@ update_permissions:
|
||||
- db_hrs
|
||||
- db_price
|
||||
- db_ref
|
||||
- glass_flag
|
||||
- id
|
||||
- ignore
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
- lbr_inc
|
||||
- lbr_op
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- line_ref
|
||||
- misc_amt
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
@@ -98,6 +119,9 @@ update_permissions:
|
||||
- part_type
|
||||
- price_diff
|
||||
- price_diff_pc
|
||||
- price_j
|
||||
- prt_dsmk_m
|
||||
- prt_dsmk_p
|
||||
- unq_seq
|
||||
- updated_at
|
||||
filter:
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "lbr_inc" boolean
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "lbr_inc" boolean
|
||||
null;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "lbr_hrs_j" boolean
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "lbr_hrs_j" boolean
|
||||
null;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "prt_dsmk_m" numeric
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "prt_dsmk_m" numeric
|
||||
null;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "prt_dsmk_p" numeric
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "prt_dsmk_p" numeric
|
||||
null;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "glass_flag" boolean
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "glass_flag" boolean
|
||||
null;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "price_j" boolean
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "price_j" boolean
|
||||
null;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "line_ref" numeric
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "line_ref" numeric
|
||||
null;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "lbr_op" text
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "lbr_op" text
|
||||
null;
|
||||
Reference in New Issue
Block a user