Alex Gray
Member
Hi,
I was hoping maybe someone can advise on this weird issue.
Firstly sorry if it is a newb question but I was unable to find anything related to my issue.
I am creating a NER function to update a record in a custom table.
This part is all successful, data updated, and in the correct format
5501.Update [Index 3: StockCode, Serial Number]
BF szDSIStockCode [Z55LITM] = TK DSI Stock Code [Z55LITM]
BF szDSISerialNumber [Z55LOTN] = TK DSI Serial Number [Z55LOTN]
BF jdDSIExpiryDate [Z55EPRY] -> TK DSI Expiry Date [Z55EPRY]
BF szDSIWarehouse [Z55MCU] -> TK DSI Warehouse [Z55MCU]
I then attempt to retrieve this updated record to return data back from NER and here the issue starts.
BF szDSIWarehouse [Z55MCU] somehow ends up with extra characters prepended to the return. (Original value "6002")
The data type has no rules, formatting applied to it, just 12 char String value.
Test in patwell return something similar to
Debugging in VS
On top of that, the date BF jdDSIExpiryDate [Z55EPRY] is returned blank for some reason.
Would anybody be able to advise on possible cause or direction in which I should dig to solve this mystery?
F5501.Select [Index 3: StockCode, Serial Number]
BF szDSIStockCode [Z55LITM] = TK DSI Stock Code [Z55LITM]
BF szDSISerialNumber [Z55LOTN] = TK DSI Serial Number [Z55LOTN]
F5501.FetchNext [Index 3: StockCode, Serial Number]
BF szDSIStockCode [Z55LITM] <- TK DSI Stock Code [Z55LITM]
BF szDSISerialNumber [Z55LOTN] <- TK DSI Serial Number [Z55LOTN]
BF cDSIFlag [Z55FLAG] <- TK DSI Flag [Z55FLAG]
BF jdDSIExpiryDate [Z55EPRY] <- TK DSI Expiry Date [Z55EPRY]
BF szDSIWarehouse [Z55MCU] <- TK DSI Warehouse [Z55MCU]
BF szDSITransactionTime [Z55TIME] <- TK DSI Transaction Time [Z55TIME]
Thanks ahead for your time
I was hoping maybe someone can advise on this weird issue.
Firstly sorry if it is a newb question but I was unable to find anything related to my issue.
I am creating a NER function to update a record in a custom table.
This part is all successful, data updated, and in the correct format
5501.Update [Index 3: StockCode, Serial Number]
BF szDSIStockCode [Z55LITM] = TK DSI Stock Code [Z55LITM]
BF szDSISerialNumber [Z55LOTN] = TK DSI Serial Number [Z55LOTN]
BF jdDSIExpiryDate [Z55EPRY] -> TK DSI Expiry Date [Z55EPRY]
BF szDSIWarehouse [Z55MCU] -> TK DSI Warehouse [Z55MCU]
I then attempt to retrieve this updated record to return data back from NER and here the issue starts.
BF szDSIWarehouse [Z55MCU] somehow ends up with extra characters prepended to the return. (Original value "6002")
The data type has no rules, formatting applied to it, just 12 char String value.
Test in patwell return something similar to

Debugging in VS

On top of that, the date BF jdDSIExpiryDate [Z55EPRY] is returned blank for some reason.
Would anybody be able to advise on possible cause or direction in which I should dig to solve this mystery?
F5501.Select [Index 3: StockCode, Serial Number]
BF szDSIStockCode [Z55LITM] = TK DSI Stock Code [Z55LITM]
BF szDSISerialNumber [Z55LOTN] = TK DSI Serial Number [Z55LOTN]
F5501.FetchNext [Index 3: StockCode, Serial Number]
BF szDSIStockCode [Z55LITM] <- TK DSI Stock Code [Z55LITM]
BF szDSISerialNumber [Z55LOTN] <- TK DSI Serial Number [Z55LOTN]
BF cDSIFlag [Z55FLAG] <- TK DSI Flag [Z55FLAG]
BF jdDSIExpiryDate [Z55EPRY] <- TK DSI Expiry Date [Z55EPRY]
BF szDSIWarehouse [Z55MCU] <- TK DSI Warehouse [Z55MCU]
BF szDSITransactionTime [Z55TIME] <- TK DSI Transaction Time [Z55TIME]
Thanks ahead for your time