fixed a bug in the SAP batch conv transaction generation logic to exclude WMI wafers

This commit is contained in:
Infineon\StieberD 2025-02-11 16:01:45 -07:00
parent 5e00026748
commit bee72e52e3

View File

@ -112,9 +112,9 @@ Service AddBatchConvTransaction(WOMatKey)
StorLocFrom = '0400' StorLocFrom = '0400'
StorLocTo = '0500' StorLocTo = '0500'
end end
WONo = Field(WOMatKey, '*', 1) WONo = Field(WOMatKey, '*', 1)
Material = Xlate('WO_LOG', WONo, 'EPI_PART_NO', 'X') Material = Xlate('WO_LOG', WONo, 'EPI_PART_NO', 'X')
BatchQty = Xlate('WO_MAT', WOMatKey, 'CURR_WFR_CNT', 'X') BatchQty = obj_WO_Mat('CurrWaferCnt', WOMatKey:@RM:'':@RM:True$)
obj_SAP('AddTransaction', 'BATCH_CONV':@RM:Material:@RM:SAPBatchNo:@RM:StorLocFrom:@RM:StorLocTo:@RM:BatchQty) obj_SAP('AddTransaction', 'BATCH_CONV':@RM:Material:@RM:SAPBatchNo:@RM:StorLocFrom:@RM:StorLocTo:@RM:BatchQty)
LogMessage = '' LogMessage = ''
@ -1090,4 +1090,3 @@ ClearCursors:
return return