How to add a lineitem before or after the current one in Batch
Pilot Verify in IBM Datacap Taskmaster Capture
Question
How to add a lineitem before or after the current one in Batch Pilot Verify in IBM Datacap Taskmaster Capture
Answer
Applications such as APT and MClaims provide the ability to add and remove lineitems. When adding a new lineitem, it may be placed either before or after the one already being reviewed by the operator. APT offers two buttons in order to allow operators to create a lineitem either before or after, however they desire; in other applications, the default behavior may only be present for a newly created lineitem to be placed before the one that already has focus.
This default behavior can be changed by setting the AddAfter variable to True inside the panel scripting. The value of the variable is checked by the AddField subroutine, which is standard within an auto-formed panel. For example, if there is only one button within the panel to add lineitems, this could be set at the global level. If adding another button to mimic APT, the variable could be set to True or False accordingly inside the button click events.
Example:
btnAddBefore_Click
- Call AddField("Lineitem")
btnAddAfter_Click
AddAfter = True
Call AddField("Lineitem")
AddAfter = False
No comments:
Post a Comment