Skip to Content
0

Manipulate Scanned Data on Agentry App

May 10, 2017 at 05:32 PM

138

avatar image
Former Member

Hi guys,

I just want to know if is possible manipulate scanned (barcode) data on agentry's app (SAP Inventory Manager) and how?. The issue is we have to read a barcode label for which only the first ten (10) digits are relevant to filter through a column and execute an action if a single match occurs on a list screen. I just want to split the barcode and take the first ten (10) digits and dismiss the rest... If this is possible, I would appreciate a detailed answer and if is not, also answer me to start to look out another solution.

Best Regards,

M

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Bill Froelich
May 10, 2017 at 06:10 PM
0

So there are a couple of ways you can approach this.

1) You have the ability via OpenScan to write your own scanner interface where you can then post process the value before handing it off to Agentry as a scan value to trigger the default built in Agentry actions.

2) You can create a No Match action in Agentry to take the value and perform your post processing. This would then require you to have your action handle the match of the list and trigger the appropriate equivalent of a scan match action based on the post processed value.

--Bill

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Ok, let me see if I understood... I guess what you are saying is: within the no match action, include a list selection step with property "selected row: By Rule".. and in that rule manipulate the last scan value. Sadly the only thing is.. when I tried to assign the screeset which contains my list, the other info was not set (see attachment). I'm working with PPC Platform, is there any restriction with this platform?... Because the screen i want to modify is a Windows Mobile Pocket PC List Screen... Not an IPAD/WPF :-(

BR,

M

img-1.png (8.4 kB)
img-2.png (12.0 kB)
img-3.png (7.1 kB)
0

I don't know if list selection works on PPC off the top of my head. However, given the minimal screen real estate when processing a scan even, rather than selecting the scanned value from the list you can display a detail screen of the selected value to show more detail about the item which also then contains buttons for the associated actions to perform on that item. When done you can then simply navigate back to the list and be ready to scan the next item.

Since I don't know the specifics of the business process you are working with it is hard to say for sure what the best path is. Just wanted to offer you an option.

--Bill

0
Former Member

Hi Bill...

Indeed, On the app we have several business scenarios like you mentioned. I scan a value, if that value match a value from the column where I set to filter the list, then the app opens up a detail screen (single match action) for that row to do something like: receive, marks or whatever...

Now the thing is that the value I have to scan, does not match exactly a value of the column. The barcode I have to scan, it's generated from a compose value for example: Matnr + qty + date. Also, it does not get saved on backend (SAP) either. This barcode label is a result from another process, which collects several data and put it on the barcode. As that value is not saved on SAP as it is shown on the label, that means I can't populate this data as a column on my list screen. That is why I have to do something to manipulate or split the code read by the scanner, prior the execution of the single match action...

I started to think that maybe I can't with agentry's standard barcode reader funtionality, because if I don't have the exact value to match a row through a column, the single match action will never be raised. On the other hand, the list selection step I think is not supported by PPC Platform, because as you can see on the screenshots when i select a PPC screenset, the other values are empty and cannot be selected.

Now, one last question: I can set a no match action and in that action configure an execution rule allowing me execute that action only if the rule is true. If the rule have the manipulation of the scan value, After I manipulate the scan value, how can I navigate to the match row and opens up the detail screen, if I don't have anything selected (no match action)?

BR,

M

0

You simply need to use the no match action to first parse out the value you care about and then open the detail screen targeting the correct record based on the matching value (I am assuming this value is unique across the collection).

--Bill

0