Supplier Invoice Account Generation User Replaced Accounts


Example of Supplier Invoice Account Generation utilizing the “Compare Number” function for a user replacing the invoice distribution line account on workbench form.

It is required to include the “Compare Number” and “Copy Values from Code Combination” functions, for the account to be replaced by the user on the workbench form, immediately after the function "Start Generating Code Combination".





Compare Number” function

* Node attributes tab

Name: Test Value
Type:  Item Attribute
Value: Supplier Invoice Account Ccid

  


Compare Number” function 

* Node attributes tab

Name: Reference Value
Type:  Constant
Value: 0

  


  
Depending on the result of the function 'Compare Number’:
1. If the result is "Equal", zero in this case, (i.e. Test Value = Reference Value) then; complete custom workflow to create the account.
2. If the result is "Default", account populated in this case, (i.e. Test Value! = Reference value) then; go to function 'Copy Values from Code Combination' to copy into the workflow the user entered account and resume custom workflow.

This is the section of the flow that will pass the user entered account. This function copies the code combination entered by the user. This function is followed by the custom workflow.

In the “Assign Value to Segment” function, the replace existing value functionality can be achieved for any segment of the code combination if it is set to "False".
  



  • Function: Copy Values from Code Combination
  • Tab: Node attributes tab 
  • Name: Code Combination ID
  • Type:  Item Attribute
  • Value: Supplier Invoice Account CCID



  


  • Function: Copy Values from Code Combination 
  • Tab: Node attributes tab 
  • Name: Replace existing value
  • Type:  Constant
  • Value: True








In the “Assign Value to Segment” function, the replace existing value functionality can be achieved for any segment of the code combination if it is set to "False". Setting this to False will replace the generated account value with the user-entered value on the AP Workbench Invoice Distribution form, from the Copy Values from Code Combination function.

  



No comments:

Post a Comment