Removed Est_number from Job. Potential Breaking changes. IO-553

This commit is contained in:
Patrick Fic
2021-01-07 15:25:32 -08:00
parent 3da3fb96e2
commit 0c83a62dd2
64 changed files with 1730 additions and 269 deletions

View File

@@ -20,7 +20,7 @@ export const QUERY_JOBS_FOR_EXPORT = gql`
v_make_desc
v_model_yr
v_color
est_number
clm_total
clm_no
ins_co_nm
@@ -59,7 +59,7 @@ export const QUERY_PAYMENTS_FOR_EXPORT = gql`
amount
job {
ro_number
est_number
id
ownr_fn
ownr_ln

View File

@@ -196,7 +196,7 @@ export const QUERY_SCHEDULE_LOAD_DATA = gql`
where: { scheduled_completion: { _gte: $start, _lte: $end } }
) {
id
est_number
ro_number
scheduled_completion
labhrs: joblines_aggregate(where: { mod_lbr_ty: { _eq: "LAB" } }) {
@@ -217,7 +217,7 @@ export const QUERY_SCHEDULE_LOAD_DATA = gql`
arrJobs: jobs(where: { scheduled_in: { _gte: $start, _lte: $end } }) {
id
scheduled_in
est_number
ro_number
labhrs: joblines_aggregate(where: { mod_lbr_ty: { _eq: "LAB" } }) {
aggregate {

View File

@@ -45,7 +45,6 @@ export const QUERY_AVAILABLE_SUPPLEMENT_JOBS = gql`
job {
id
ro_number
est_number
}
}
}

View File

@@ -168,7 +168,7 @@ export const QUERY_INTAKE_CHECKLIST = gql`
jobs_by_pk(id: $jobId) {
id
ro_number
est_number
scheduled_completion
scheduled_delivery
intakechecklist

View File

@@ -90,7 +90,7 @@ export const QUERY_CONTRACT_BY_PK = gql`
fuelout
job {
id
est_number
ro_number
v_make_desc
v_model_desc
@@ -162,7 +162,7 @@ export const QUERY_ACTIVE_CONTRACTS_PAGINATED = gql`
jobid
job {
id
est_number
ro_number
ownr_fn
ownr_ln

View File

@@ -126,7 +126,7 @@ export const QUERY_CC_BY_PK = gql`
driver_fn
job {
ro_number
est_number
ownr_ln
ownr_fn
ownr_co_nm

View File

@@ -69,7 +69,7 @@ export const QUERY_CSI_RESPONSE_PAGINATED = gql`
ownr_fn
ownr_ln
ro_number
est_number
id
}
}

View File

@@ -4,7 +4,7 @@ export const QUERY_ALL_ACTIVE_JOBS = gql`
query QUERY_ALL_ACTIVE_JOBS($statuses: [String!]!) {
jobs(
where: { status: { _in: $statuses } }
order_by: { est_number: desc }
order_by: { created_at: desc }
) {
ownr_fn
ownr_ln
@@ -26,7 +26,7 @@ export const QUERY_ALL_ACTIVE_JOBS = gql`
actual_completion
actual_delivery
actual_in
est_number
id
ins_co_nm
ins_ct_fn
@@ -83,7 +83,7 @@ export const QUERY_PARTS_QUEUE = gql`
actual_completion
actual_delivery
actual_in
est_number
id
ins_co_nm
ins_ct_fn
@@ -115,7 +115,7 @@ export const SUBSCRIPTION_JOBS_IN_PRODUCTION = gql`
id
status
ro_number
est_number
ownr_fn
ownr_ln
v_model_yr
@@ -217,7 +217,6 @@ export const QUERY_LBR_HRS_BY_PK = gql`
export const QUERY_JOB_COSTING_DETAILS = gql`
query QUERY_JOB_COSTING_DETAILS($id: uuid!) {
jobs_by_pk(id: $id) {
est_number
ro_number
clm_total
id
@@ -338,7 +337,7 @@ export const GET_JOB_BY_PK = gql`
special_coverage_policy
scheduled_delivery
converted
est_number
ro_number
clm_total
inproduction
@@ -576,7 +575,7 @@ export const QUERY_JOB_CARD_DETAILS = gql`
actual_completion
actual_delivery
actual_in
est_number
id
ins_co_nm
ins_ct_fn
@@ -641,7 +640,7 @@ export const QUERY_TECH_JOB_DETAILS = gql`
actual_completion
actual_delivery
actual_in
est_number
id
ins_co_nm
clm_no
@@ -748,7 +747,6 @@ export const INSERT_NEW_JOB = gql`
insert_jobs(objects: $job) {
returning {
id
est_number
}
}
}
@@ -773,7 +771,7 @@ export const ACTIVE_JOBS_FOR_AUTOCOMPLETE = gql`
ownr_fn
ownr_ln
ro_number
est_number
vehicleid
v_make_desc
v_model_desc
@@ -803,7 +801,7 @@ export const SEARCH_JOBS_FOR_AUTOCOMPLETE = gql`
ownr_fn
ownr_ln
ro_number
est_number
vehicleid
v_make_desc
v_model_desc
@@ -818,7 +816,7 @@ export const SEARCH_JOBS_BY_ID_FOR_AUTOCOMPLETE = gql`
ownr_fn
ownr_ln
ro_number
est_number
vehicleid
v_make_desc
v_model_desc
@@ -1095,7 +1093,7 @@ export const QUERY_JOBS_IN_PRODUCTION = gql`
) {
id
ro_number
est_number
ownr_co_nm
ownr_fn
ownr_ln
@@ -1150,7 +1148,7 @@ export const QUERY_ALL_JOBS_PAGINATED = gql`
actual_completion
actual_delivery
actual_in
est_number
id
ins_co_nm
ins_ct_fn

View File

@@ -41,7 +41,6 @@ export const QUERY_OWNER_BY_ID = gql`
jobs {
id
ro_number
est_number
clm_no
status
clm_total

View File

@@ -29,7 +29,6 @@ export const QUERY_ALL_PAYMENTS_PAGINATED = gql`
job {
id
ro_number
est_number
ownr_fn
ownr_ln
ownr_co_nm

View File

@@ -10,7 +10,7 @@ export const SUBSCRIPTION_SCOREBOARD = gql`
job {
id
ro_number
est_number
}
}
}

View File

@@ -5,7 +5,7 @@ export const GLOBAL_SEARCH_QUERY = gql`
search_jobs(args: { search: $search }) {
id
ro_number
est_number
clm_total
clm_no
v_model_yr

View File

@@ -115,7 +115,7 @@ export const QUERY_ACTIVE_TIME_TICKETS = gql`
memo
job {
id
est_number
ownr_fn
ownr_ln
ownr_co_nm
@@ -145,7 +145,7 @@ export const QUERY_ACTIVE_SHIFT_TIME_TICKETS = gql`
memo
job {
id
est_number
ownr_fn
ownr_ln
ownr_co_nm

View File

@@ -31,7 +31,7 @@ export const QUERY_VEHICLE_BY_ID = gql`
id
ro_number
ownr_fn
est_number
ownr_ln
owner {
id