IO-233 WIP CDK
This commit is contained in:
@@ -177,6 +177,7 @@ query QUERY_JOBS_FOR_CDK_EXPORT($id: uuid!) {
|
||||
ca_customer_gst
|
||||
bodyshop {
|
||||
id
|
||||
md_ro_statuses
|
||||
md_responsibility_centers
|
||||
accountingconfig
|
||||
cdk_dealerid
|
||||
@@ -1067,3 +1068,29 @@ exports.SET_QBO_AUTH = `mutation SET_QBO_AUTH($email: String!, $qbo_auth: jsonb!
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
exports.MARK_JOB_EXPORTED = `
|
||||
mutation MARK_JOB_EXPORTED($jobId: uuid!, $job: jobs_set_input!, $log: exportlog_insert_input!) {
|
||||
update_jobs(where: {id: {_eq: $jobId}}, _set: $job) {
|
||||
returning {
|
||||
id
|
||||
date_exported
|
||||
status
|
||||
alt_transport
|
||||
ro_number
|
||||
production_vars
|
||||
lbr_adjustments
|
||||
}
|
||||
}
|
||||
insert_exportlog_one(object: $log) {
|
||||
id
|
||||
}
|
||||
}
|
||||
`;
|
||||
exports.INSERT_EXPORT_LOG = `
|
||||
mutation INSERT_EXPORT_LOG($log: exportlog_insert_input!) {
|
||||
insert_exportlog_one(object: $log) {
|
||||
id
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user