IO-223 ARMS Updates.
This commit is contained in:
@@ -21,7 +21,7 @@ const entegralEndpoint =
|
||||
const client = require("../graphql-client/graphql-client").client;
|
||||
const uuid = require("uuid").v4;
|
||||
|
||||
const momentFormat = "yyyy-MM-DDTHH:mm:ss.SSSSSSSZ";
|
||||
const momentFormat = "yyyy-MM-DDTHH:mm:ss.SSS";
|
||||
|
||||
exports.default = async (req, res) => {
|
||||
//Query for the List of Bodyshop Clients.
|
||||
@@ -47,7 +47,7 @@ exports.default = async (req, res) => {
|
||||
RqUID: transId,
|
||||
DocumentInfo: {
|
||||
BMSVer: "4.0.0",
|
||||
DocumentType: "Repair Order",
|
||||
DocumentType: "RO",
|
||||
DocumentVerCode: "EM",
|
||||
DocumentVerNum: GetSupplementNumber(job.joblines), //TODO Get Supplement Number
|
||||
DocumentStatus: GetDocumentstatus(job, bodyshop),
|
||||
@@ -63,8 +63,10 @@ exports.default = async (req, res) => {
|
||||
UploadDateTime: moment().format(momentFormat),
|
||||
},
|
||||
RepairEvent: {
|
||||
ArrivalDateTime:
|
||||
CreatedDateTime:
|
||||
job.date_open && moment(job.date_open).format(momentFormat),
|
||||
ArrivalDateTime:
|
||||
job.actual_in && moment(job.actual_in).format(momentFormat),
|
||||
ArrivalOdometerReading: job.kmin,
|
||||
TargetCompletionDateTime:
|
||||
job.scheduled_completion &&
|
||||
|
||||
Reference in New Issue
Block a user