Siebel Field Service Guide > Charges and Invoices > Workflows for Charges and Invoices >

FS - Generate All Agreement Charges Workflow


The FS - Generate All Agreement Charges workflow automates the process of generating charges from all agreement line items.

You can run this workflow as a batch process.

Figure 14 shows this workflow.

Figure 14. FS - Generate All Agreement Charges Workflow

Workflow Description. This workflow performs the following actions:

  1. GenerateAgreementItemList. This step generates a list of agreement line items.
  2. GetNextAgreementItemID. This step retrieves each agreement line item from the list.
  3. GetNextAgreementID. This step retrieves each agreement from the list. This step calls the FS - Generate Agreement Charge wo Goto Charges View workflow.

    In this subprocess, the user interface steps are removed because the workflow is expected to run as a batch process with little or no intervention from the user.

  4. True? This step determines whether more agreement line items exist to process. If no more agreement line items exist, then the workflow terminates. If more agreement line items exist, then the workflow continues to the next step.
  5. ProcessOneAgreementItem. This step actually generates the agreement charge.

Setting the Advance To Date in the Workflow

The workflow retrieves the Advance To date from the object ID of the FS Agreement Item business component that is passed into the workflow. The Advance To field on the business component is a calculated field that defaults to the current date. Typically, this default date is not a problem because most administrators run the job using the job scheduler.

However, if you want to set a different Advance To date, then you can change the calculated field of the business component or edit the input parameters for the workflow so that the Advance To date changes when calling the business services.

Siebel Field Service Guide Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.