Added predictive completion time based on cycle times for job scheduling. BOD-401
This commit is contained in:
@@ -69,6 +69,7 @@ export const QUERY_BODYSHOP = gql`
|
||||
enforce_class
|
||||
md_labor_rates
|
||||
deliverchecklist
|
||||
target_touchtime
|
||||
employees {
|
||||
id
|
||||
first_name
|
||||
@@ -136,6 +137,7 @@ export const UPDATE_SHOP = gql`
|
||||
enforce_class
|
||||
md_labor_rates
|
||||
deliverchecklist
|
||||
target_touchtime
|
||||
employees {
|
||||
id
|
||||
first_name
|
||||
|
||||
@@ -121,6 +121,28 @@ export const SUBSCRIPTION_JOBS_IN_PRODUCTION = gql`
|
||||
}
|
||||
`;
|
||||
|
||||
export const QUERY_LBR_HRS_BY_PK = gql`
|
||||
query QUERY_LBR_HRS_BY_PK($id: uuid!) {
|
||||
jobs_by_pk(id: $id) {
|
||||
id
|
||||
labhrs: joblines_aggregate(where: { mod_lbr_ty: { _eq: "LAB" } }) {
|
||||
aggregate {
|
||||
sum {
|
||||
mod_lb_hrs
|
||||
}
|
||||
}
|
||||
}
|
||||
larhrs: joblines_aggregate(where: { mod_lbr_ty: { _eq: "LAR" } }) {
|
||||
aggregate {
|
||||
sum {
|
||||
mod_lb_hrs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const QUERY_JOB_COSTING_DETAILS = gql`
|
||||
query QUERY_JOB_COSTING_DETAILS($id: uuid!) {
|
||||
jobs_by_pk(id: $id) {
|
||||
|
||||
Reference in New Issue
Block a user