feat(ocme): cycle count implemeneted
This commit is contained in:
@@ -12,7 +12,14 @@
|
||||
|
||||
// // add the lane in so we dont crash
|
||||
// if(req.body.lane){
|
||||
// filterdOCMELane = ocmeInventory.replaceAll('[lane]', data.lane)
|
||||
// if(data.laneType === "laneID"){
|
||||
// get the mapped lane id
|
||||
// where alpla_laneID = 30286
|
||||
// filterdOCMELane = ocmeInventory.replaceAll("where alpla_laneDescription = '[lane]'", `where alpla_laneID = ${data.lane}`)
|
||||
|
||||
// } else {
|
||||
// filterdOCMELane = ocmeInventory.replaceAll('[lane]', data.lane)
|
||||
// }
|
||||
// // get lanes
|
||||
// const laneData = await runQuery(filterdOCMELane, 'Getting current ocme lanes linked')
|
||||
// res.status(200).json({success: true,message: `All current lanes from the ocme system.`, totalpallets: laneData.length,data: laneData})
|
||||
|
||||
Reference in New Issue
Block a user