feat(ocme): cycle count implemeneted

This commit is contained in:
2025-03-20 14:02:19 -05:00
parent eb2c34c557
commit 74bcd6e805
6 changed files with 316 additions and 322 deletions

View File

@@ -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})