Total Pageviews

April 9, 2018

4/09/2018 03:47:00 PM
The Standard Functionality will close the order header by last day of the month when all the lines are closed. To Close the order header as soon as the line is closed or to close the lines as per business scenario the following steps will be help to achieve the functionality.

Note:This will affect only new orders that uses this newly modified Flow. 

For the existing orders, one needs to wait till the end of the month - the month in which the Sales Order was created. Please note that this happens only for the month the Sales order is created.
Please perform the following steps in test instance:

  •          Connect to the database using the Work flow Builder
  •         Go to OM order header work flow.
  •          In work flow builder , this needs to be done from to enable the customization
  •          ,Help -- About Oracle Work flow Builder, Check to allow customization.
  •          Open Work-flow Process - Order Flow - Generic, Close - Order
  •          Copy 'Order Flow - Generic' and 'Close - Order' and rename them,                                                 for example, 'XX Order Flow - Generic' and 'XX Close - Order', respectively.
  •          Right click activity 'Wait' (labeled WAIT-1) that is just before activity 'Close - Wait For Line' in process 'XX Close - Order'. 
  •         In the Properties, choose Node Attributes tab and place cursor on the "Day of the month" and remove the Value that is currently set as "Last". Change the following appropriate values as below


Changing the Relative Time parameter of activity WAIT-1 to calculated time as mentioned below
Wait Mode = "Relative Time"(Relative Time--to pause the activity until the number of days specified in the Relative Time activity attribute passes)
Day of Month = none
Click apply button
Save the work flow activity

Relative time can be calculated by following method
To Close immediately - 0
After two hour- 2/24 -  0.0833

One day - 1
Two day - 2

Notes on Wait activity 

 The Wait activity has following activity attributes:

  • Wait Mode--use this attribute to specify how to calculate the wait. You can choose one of the following wait modes:
  • Absolute Date--to pause the activity until the date specified in the Absolute Date activity attribute is reached.
  • Relative Time--to pause the activity until the number of days specified in the Relative Time activity attribute passes.
  • Day of Month--to pause the activity until a specified day of the month, as indicated in the Day of Month activity attribute.
  • Day of Week--to pause the activity until a specified day of the week, as indicated in the Day of Week activity attribute.
 
Related Posts Plugin for WordPress, Blogger...