From 3aea356c1da43de5ecc6b88894b3e5100897f47d Mon Sep 17 00:00:00 2001 From: rpm-mcarman <65228808+rpm-mcarman@users.noreply.github.com> Date: Wed, 29 Nov 2023 14:11:14 -0500 Subject: [PATCH] Added Delete Button to bom --- public/dmxAppConnect/config.js | 440 ++++++++++++++++++++++++++++++++- views/dspec.ejs | 5 +- 2 files changed, 442 insertions(+), 3 deletions(-) diff --git a/public/dmxAppConnect/config.js b/public/dmxAppConnect/config.js index 346e880..ecfa99c 100644 --- a/public/dmxAppConnect/config.js +++ b/public/dmxAppConnect/config.js @@ -7054,7 +7054,445 @@ dmx.config({ } ], "outputType": "array" - } + }, + "api_deleteItem": [ + { + "type": "object", + "name": "data", + "sub": [ + { + "type": "number", + "name": "createuserid" + }, + { + "type": "text", + "name": "createdate" + }, + { + "type": "number", + "name": "id" + }, + { + "type": "text", + "name": "updatedate" + }, + { + "type": "object", + "name": "designspec", + "sub": [ + { + "type": "text", + "name": "switchposition" + }, + { + "type": "text", + "name": "papertag" + }, + { + "type": "text", + "name": "pressurefitting" + }, + { + "type": "text", + "name": "basicclass" + }, + { + "type": "text", + "name": "makefrom" + }, + { + "type": "text", + "name": "curve" + }, + { + "type": "text", + "name": "voltage" + }, + { + "type": "text", + "name": "rotation" + }, + { + "type": "text", + "name": "oereman" + }, + { + "type": "boolean", + "name": "facrequired" + }, + { + "type": "number", + "name": "updateuserid" + }, + { + "type": "text", + "name": "swtch" + }, + { + "type": "number", + "name": "createuserid" + }, + { + "type": "text", + "name": "box" + }, + { + "type": "text", + "name": "suctionport" + }, + { + "type": "text", + "name": "suctionfitting" + }, + { + "type": "text", + "name": "workinstruction" + }, + { + "type": "object", + "name": "partnumber", + "sub": [ + { + "type": "number", + "name": "id" + } + ] + }, + { + "type": "object", + "name": "status", + "sub": [ + { + "type": "number", + "name": "id" + } + ] + }, + { + "type": "text", + "name": "approveuserid" + }, + { + "type": "boolean", + "name": "faccompleted" + }, + { + "type": "text", + "name": "terminalposition" + }, + { + "type": "text", + "name": "createdate" + }, + { + "type": "text", + "name": "remarks" + }, + { + "type": "text", + "name": "updatedate" + }, + { + "type": "text", + "name": "floatstock" + }, + { + "type": "text", + "name": "revisionlevel" + }, + { + "type": "text", + "name": "validation" + }, + { + "type": "text", + "name": "effectivedate" + }, + { + "type": "text", + "name": "pressureport" + }, + { + "type": "text", + "name": "gasket" + }, + { + "type": "text", + "name": "sae" + }, + { + "type": "text", + "name": "ftf" + }, + { + "type": "text", + "name": "ho" + }, + { + "type": "text", + "name": "jsp" + }, + { + "type": "text", + "name": "treatment" + }, + { + "type": "text", + "name": "pinion" + }, + { + "type": "text", + "name": "reasonforchange" + }, + { + "type": "text", + "name": "tagnumber" + }, + { + "type": "text", + "name": "bracket" + }, + { + "type": "text", + "name": "customernotification" + }, + { + "type": "text", + "name": "rtv" + }, + { + "type": "text", + "name": "servicereplacementref" + }, + { + "type": "text", + "name": "opening" + }, + { + "type": "text", + "name": "note" + }, + { + "type": "text", + "name": "pitch" + }, + { + "type": "text", + "name": "except" + }, + { + "type": "text", + "name": "additionalparts" + }, + { + "type": "text", + "name": "built" + }, + { + "type": "text", + "name": "drive" + }, + { + "type": "text", + "name": "approvedate" + }, + { + "type": "text", + "name": "mtgh" + }, + { + "type": "text", + "name": "othertag" + }, + { + "type": "text", + "name": "plrv" + }, + { + "type": "text", + "name": "frequency" + }, + { + "type": "number", + "name": "id" + }, + { + "type": "text", + "name": "metaltag" + }, + { + "type": "text", + "name": "application" + } + ] + }, + { + "type": "text", + "name": "new" + }, + { + "type": "text", + "name": "old" + }, + { + "type": "number", + "name": "viewlocation" + }, + { + "type": "object", + "name": "partnumber", + "sub": [ + { + "type": "text", + "name": "number" + }, + { + "type": "object", + "name": "replacedby", + "sub": [ + { + "type": "number", + "name": "id" + } + ] + }, + { + "type": "text", + "name": "file" + }, + { + "type": "text", + "name": "updatedate" + }, + { + "type": "text", + "name": "secondaryvendorpartnumber" + }, + { + "type": "number", + "name": "updateuserid" + }, + { + "type": "text", + "name": "weight" + }, + { + "type": "text", + "name": "primarycustomerpartnumber" + }, + { + "type": "text", + "name": "createdate" + }, + { + "type": "object", + "name": "status", + "sub": [ + { + "type": "number", + "name": "id" + } + ] + }, + { + "type": "text", + "name": "description" + }, + { + "type": "text", + "name": "comments" + }, + { + "type": "object", + "name": "partcode", + "sub": [ + { + "type": "number", + "name": "id" + } + ] + }, + { + "type": "text", + "name": "stdcost" + }, + { + "type": "text", + "name": "listprice" + }, + { + "type": "number", + "name": "createuserid" + }, + { + "type": "number", + "name": "id" + }, + { + "type": "text", + "name": "ppap" + }, + { + "type": "text", + "name": "primaryvendorpartnumber" + }, + { + "type": "object", + "name": "replaces", + "sub": [ + { + "type": "number", + "name": "id" + } + ] + } + ] + }, + { + "type": "number", + "name": "updateuserid" + } + ] + }, + { + "type": "object", + "name": "headers", + "sub": [ + { + "type": "text", + "name": "access-control-allow-headers" + }, + { + "type": "text", + "name": "access-control-allow-methods" + }, + { + "type": "text", + "name": "access-control-allow-origin" + }, + { + "type": "text", + "name": "access-control-expose-headers" + }, + { + "type": "text", + "name": "connection" + }, + { + "type": "text", + "name": "content-length" + }, + { + "type": "text", + "name": "content-type" + }, + { + "type": "text", + "name": "date" + } + ] + } + ] }, "repeattest": { "repeat1": { diff --git a/views/dspec.ejs b/views/dspec.ejs index 83de847..b6d4593 100644 --- a/views/dspec.ejs +++ b/views/dspec.ejs @@ -1,4 +1,5 @@ + @@ -131,7 +132,7 @@ - + @@ -143,7 +144,7 @@ - +