IO-2009 Better handling of MPI discounts.

This commit is contained in:
Patrick Fic
2022-08-16 14:29:28 -07:00
parent d5c27fc9ae
commit b744720efe
6 changed files with 169 additions and 144 deletions

View File

@@ -209,6 +209,8 @@ query QUERY_JOBS_FOR_RECEIVABLES_EXPORT($ids: [uuid!]!) {
prt_dsmk_p
prt_dsmk_m
tax_part
line_ref
unq_seq
}
}
bodyshops(where: {associations: {active: {_eq: true}}}) {
@@ -402,6 +404,8 @@ query QUERY_JOBS_FOR_PBS_EXPORT($id: uuid!) {
profitcenter_part
db_ref
prt_dsmk_p
unq_seq
line_ref
}
}
@@ -1112,6 +1116,7 @@ exports.QUERY_JOB_COSTING_DETAILS = ` query QUERY_JOB_COSTING_DETAILS($id: uuid!
joblines(where: { removed: { _eq: false } }) {
id
db_ref
line_ref
unq_seq
line_ind
tax_part
@@ -1220,6 +1225,7 @@ exports.QUERY_JOB_COSTING_DETAILS_MULTI = ` query QUERY_JOB_COSTING_DETAILS_MULT
id
db_ref
unq_seq
line_ref
line_ind
tax_part
line_desc
@@ -1443,7 +1449,8 @@ exports.GET_CDK_ALLOCATIONS = `query QUERY_JOB_CLOSE_DETAILS($id: uuid!) {
op_code_desc
profitcenter_labor
profitcenter_part
prt_dsmk_p
line_ref
unq_seq
}
}
}