|
|
@ -541,7 +541,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
|
} |
|
|
|
|
|
|
|
BarcodeItem barcode_item = new BarcodeItem(); |
|
|
|
barcode_item.BarcodeItemID = helper.GetIDKey("BARCODEITEM_ID").Result; |
|
|
|
barcode_item.BarcodeItemID = helper.GetSequenceIDKeyAsync("BARCODE_ITEM_ID_SEQ").Result; |
|
|
|
barcode_item.BarcodeID = barcodeID; |
|
|
|
barcode_item.WipID = wipID; |
|
|
|
barcode_item.StationID = stationID; |
|
|
@ -605,7 +605,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
|
} |
|
|
|
|
|
|
|
BarcodeItem barcode_item = new BarcodeItem(); |
|
|
|
barcode_item.BarcodeItemID = helper.GetIDKey("BARCODEITEM_ID").Result; |
|
|
|
barcode_item.BarcodeItemID = helper.GetSequenceIDKeyAsync("BARCODE_ITEM_ID_SEQ").Result; |
|
|
|
barcode_item.BarcodeID = barcodeID; |
|
|
|
barcode_item.WipID = wipID; |
|
|
|
barcode_item.StationID = stationID; |
|
|
@ -686,7 +686,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
|
} |
|
|
|
|
|
|
|
BarcodeItem barcode_item = new BarcodeItem(); |
|
|
|
barcode_item.BarcodeItemID = helper.GetIDKey("BARCODEITEM_ID").Result; |
|
|
|
barcode_item.BarcodeItemID = helper.GetSequenceIDKeyAsync("BARCODE_ITEM_ID_SEQ").Result; |
|
|
|
barcode_item.BarcodeID = barcodeID; |
|
|
|
barcode_item.WipID = wipID; |
|
|
|
barcode_item.StationID = stationID; |
|
|
@ -765,7 +765,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
|
} |
|
|
|
|
|
|
|
BarcodeItem barcode_item = new BarcodeItem(); |
|
|
|
barcode_item.BarcodeItemID = helper.GetIDKey("BARCODEITEM_ID").Result; |
|
|
|
barcode_item.BarcodeItemID = helper.GetSequenceIDKeyAsync("BARCODE_ITEM_ID_SEQ").Result; |
|
|
|
barcode_item.BarcodeID = barcodeID; |
|
|
|
barcode_item.WipID = wipID; |
|
|
|
barcode_item.StationID = stationID; |
|
|
@ -833,7 +833,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
|
kpDateTime = jo["kpDateTime"].ToString(); |
|
|
|
|
|
|
|
BarcodeItem barcode_item = new BarcodeItem(); |
|
|
|
barcode_item.BarcodeItemID = helper.GetIDKey("BARCODEITEM_ID").Result; |
|
|
|
barcode_item.BarcodeItemID = helper.GetSequenceIDKeyAsync("BARCODE_ITEM_ID_SEQ").Result; |
|
|
|
barcode_item.BarcodeID = barcodeID; |
|
|
|
barcode_item.WipID = wipID; |
|
|
|
barcode_item.StationID = stationID; |
|
|
@ -872,7 +872,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
|
{ |
|
|
|
ResultModel<BarcodeItem> result = new ResultModel<BarcodeItem>(); |
|
|
|
Helper helper = new Helper(_context); |
|
|
|
barcodeItem.BarcodeItemID = helper.GetIDKey("BARCODEITEM_ID").Result; |
|
|
|
barcodeItem.BarcodeItemID = helper.GetSequenceIDKeyAsync("BARCODE_ITEM_ID_SEQ").Result; |
|
|
|
|
|
|
|
if (PartNoExists(barcodeItem.PartNo)) |
|
|
|
{ |
|
|
@ -912,7 +912,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
|
{ |
|
|
|
ResultModel<BarcodeItem> result = new ResultModel<BarcodeItem>(); |
|
|
|
Helper helper = new Helper(_context); |
|
|
|
barcodeItem.BarcodeItemID = helper.GetIDKey("BARCODEITEM_ID").Result; |
|
|
|
barcodeItem.BarcodeItemID = helper.GetSequenceIDKeyAsync("BARCODE_ITEM_ID_SEQ").Result; |
|
|
|
barcodeItem.B.BarcodeID = barcodeItem.BarcodeID; |
|
|
|
|
|
|
|
if (PartNoExists(barcodeItem.PartNo)) |
|
|
|