Merged in feature/IO-2520-Kaizen-Data-Pump (pull request #1513)
IO-2520 Kaizen Data Pump Approved-by: Dave Richer
This commit is contained in:
@@ -244,6 +244,7 @@ const CreateRepairOrderTag = (job, errorCallback) => {
|
||||
},
|
||||
InsuranceCompany: job.ins_co_nm || "",
|
||||
Claim: job.clm_no || "",
|
||||
DMSAllocation: job.dms_allocation || "",
|
||||
Contacts: {
|
||||
CSR: job.employee_csr_rel
|
||||
? `${
|
||||
@@ -643,7 +644,8 @@ const CreateJobLines = (joblines) => {
|
||||
part_qty: jobline.part_qty,
|
||||
part_price: jobline.act_price,
|
||||
labor_type: jobline.mod_lbr_ty,
|
||||
labor_hours: jobline.mod_lb_hrs
|
||||
labor_hours: jobline.mod_lb_hrs,
|
||||
labor_sale: jobline.lbr_amt
|
||||
});
|
||||
});
|
||||
return repairLines;
|
||||
@@ -660,7 +662,10 @@ const CreateTimeTickets = (timetickets) => {
|
||||
.trim(),
|
||||
productive_hrs: ticket.productivehrs,
|
||||
actual_hrs: ticket.actualhrs,
|
||||
cost_center: ticket.cost_center
|
||||
cost_center: ticket.cost_center,
|
||||
flat_rate: ticket.flat_rate,
|
||||
rate: ticket.rate,
|
||||
ticket_cost: ticket.flat_rate ? ticket.rate * ticket.productive_hrs : ticket.rate * ticket.actual_hrs
|
||||
});
|
||||
});
|
||||
return timeTickets;
|
||||
|
||||
@@ -1139,6 +1139,7 @@ exports.KAIZEN_QUERY = `query KAIZEN_EXPORT($start: timestamptz, $bodyshopid: uu
|
||||
date_open
|
||||
date_repairstarted
|
||||
date_void
|
||||
dms_allocation
|
||||
employee_body_rel {
|
||||
first_name
|
||||
last_name
|
||||
@@ -1184,6 +1185,7 @@ exports.KAIZEN_QUERY = `query KAIZEN_EXPORT($start: timestamptz, $bodyshopid: uu
|
||||
}
|
||||
db_price
|
||||
id
|
||||
lbr_amt
|
||||
lbr_op
|
||||
line_desc
|
||||
line_ind
|
||||
|
||||
Reference in New Issue
Block a user