Set the Ad Hoc checkbox on Fulfilment Workbench - Allocation Process Criteria

Hi

I am wanting to set the default value of the ‘Ad Hoc’ check box on the Fulfilment Workbench - Allocation Process Criteria (slide out panel) to unchecked by default.

Is there a simple way to do this? I have looked in Application Studio but can’t see a way of achieving this.

Any help would be great.

Add an onCreate event.

Event with Row Update setting PartAllocTran.AddHoc to an expression of false (lowercase).

Results:

1 Like

Perfect. Thank you.

@dcamlin Can I ask what you are using to see all that information in the console window? I don’t see that much info.

Once you open the debugger, you can click anywhere on the Kinetic form (so it is in focus) and press CTRL + ALT + 8.

In the Console window, you should then see this:
image

Alternatively, in the Console, you can type this in:
image

image

Either way, that turns on the debug logging so you can watch events fire.

2 Likes

If you do type it in… the debugger remembers what you entered.

So the next time you go into the debugger, you can just click in the console prompt and hit the up-arrow and it loads the last command you entered. Press enter and your logging is up and running.

Another good one to know is CTRL+ALT+V… or, again, typing in:
image

This dumps your dataviews into the console. So you can open each dataview and see what information it is holding at that point in time.

So, if you ever customize events where data is getting loaded into a dataview, this is valuable so you can verify the information that is coming into a particular dataview is actually coming in, and is correct, etc.

And again, if you type them in, it remembers the commands. So I can open debugger, go to the console… hit the up-arrow, and turn on logging. Then hit the up-arrow a two times and it finds my “View” command and I can jump right into that.

image

The only thing you need to remember is that logging has to be turned on first before you can pull up the Views.

1 Like

Just to tag along with useful console tips; once debugging is turned on, you can use Ctrl+Alt+1 to show all of the data rules (in tree format, use Ctrl+Alt+2 to get them in table format) to see what rules are being triggered or not triggered for the different dataviews.

2 Likes