I recently encountered a customization challenge in the Fulfillment Workbench, and I’m seeking some guidance.
The issue involves auto-selecting serial numbers based on a user-defined input. Here’s the scenario:
The user enters a number, and the system is supposed to auto-select that many allocated checkboxes in the grid.
I have implemented this using a series of events in Application Studio, and the auto-selection works as intended—at least visually.
However, when I press the “Continue” button, only one serial number is actually selected and allocated.
Interestingly, if the user manually deselects and then re-selects all the checkboxes after the auto-selection, every selected serial number is allocated correctly. This behavior is quite puzzling.
I have checked the debug logs for both cases (auto-selection vs. manual re-selection), but there doesn’t seem to be any noticeable difference.
If anyone has encountered a similar issue or has insights into what might be causing this behavior, please share your thoughts.
How can I ensure that all the serial numbers selected via auto-selection are properly allocated without requiring manual intervention? Below are the entries for both the cases.
Auto Selection :-
As you can see in Info Message only 1 serial number is allocated, inspite of 3 serial number checked in allocation grid.
Thank you for your reply. I marked the rows by creating event in Application studio shown below. I have used dataview condition widget to iterate through whole grid while marking only those rows which are entered by user.
I have been selecting 3 serial number using event shown in above post but then too this service call only returns 1 serial number allocated. But when I manually select the check box it returns 3 serial number.
Hello EpiUsers,
Does anyone have any insights or suggestions regarding the above topic? @klincecum@dcamlin@Mark_Wonsil@josecgomez@hmwillett
Your guidance would be greatly appreciated and very helpful to me.
Unfortunately, I’m not familiar with serial number allocation, and I’m not currently set up to play around in there.
If you watch the events firing, does anything happen when you manually click the checkboxes? I’m wondering if there’s some kind of event firing when you click them that you may be inadvertently skipping over when your event automatically sets the value.
Wish I had more insight… I don’t really have experience in this area of the software.
Same, I have played with it in the past, but I have a very limited understanding of all the nuances. Not set up or have the time to learn it at the moment.
@dcamlin, as you said I have checked the trace log to find any event I’m missing. Surprisingly I found one thing that if I just select the selector column and then select continue, then also I’m able to allocate required serial number.
I’m a bit confused now, as this behavior seems to be related to grid properties or functionality. It appears that simply selecting rows doesn’t work—activating the grid itself might also be required. However, I’m currently stuck on how to achieve this.
When PartAllocSerial.NewAlloctedQty is updated to 1, it indicates that the “Allocated” checkbox is set to true. If you’re automating the selection of the checkbox for serial number allocation, you also need to manually update PartAllocSerial.NewAlloctedQty to 1 using a row update.