A/P Payment Batch Approval

Overview

A company wants only certain users to approve A/P Payment Batches. They configure workflow using Orchid Extender to control who can set A/P Payment Batches to "ready to post".

This A/P Payment batch workflow template is designed to be started automatically when the A/P Payment batch status is updated in Sage 300.

When a user sets the batch to Ready to post, the workflow will reset the Batch status to Check Creation in Progress (8) until the request is approved. This ensures the batches cannot be modified while the workflow is in progress.

When the request is approved, the batch status is set to Ready to Post and the batch is posted automatically.

When the batch is rejected, the status is reset to Open.

The workflow updates the batch description to include Submitted or Approved to inform users.

Sample files

You can import the"A/P Payment Batch Approval sample module. It includes a workflow template and required message templates. The workflow template is attached to the AP Payment batch status field.

AP Payment Batch Approval Module

Note: The module is supplied on an as is basis for training and demonstration purposes only and is not supported by Orchid Systems. If this code is deployed in a live production environment it is the responsibility of the End User to ensure that it is operating as required.

EXTENDER SETUP KEY STEPS

To start using the AP Payment approval module, you need to follow the steps below:

Step 1. Configure SMTP Email settings in Extender Options

This is required for the workflow to send emails to users, that an approval is required and when a batch is approved or rejected.

Refer to Extender Email Tab

Step 2. Configure Workflow Users

All Sage 300 users who need to approve batches on the workflow console need to be set as Workflow Users. Extender License and Workflow Users

Check Sage 300 users email addresses

Step 3. Create Workflow User Group

Create a workflow user group called APPAYMAPPROVER. You can add the required Sage 300 users to that group. Refer to Workflow User Groups for details.

If you don't create a workflow user group, you can select a Sage 300 user as the approver. See Step 6 below.

Step 4. Add Workflow colours

The AP Payment batch approval uses 2 colours:  URGENT if there are any errors, and ACCOUNTS for regular workflow records on the Console.

You can choose the colour you want for the console, as long as you create Workflow Colours with the same names. (Workflow Colours).

Step 5. Import the AP Payment Batch Approval.vi file

It will create a workflow template, message templates and link the workflow to the AP Payment batch view.

Step 6. Configure the AP Payment approval module

In Extender Setup > View Events, Scripts and Workflow,

  1. Select the AP0030 view.

  2. On the Workflow Tab, set the required values for your company

  3. In Parameter 1, enter the Sage 300 user or Workflow User Group (e.g. APPAYMAPPROVER created in Step 3) who can approve.

  4. Set the path where to save the Batch listing Report in Parameter 2.

Workflow template - Step by step guide

It is recommended to add the main steps as defined on the process flowchart first, and then configure the detailed actions for each step.

This tutorial highlights details about some important workflow actions. It is not a detailed training of each workflow action used in this template. For more details on workflow templates and actions, refer to For details, refer to Workflow Templates - Screen Guide.

testing Extender workflow setup

The workflow starts when the A/P Payment Batch Status is updated (by a user on a Sage 300 screen or by an import or a custom process using the Sage 300 Views).

Start the workflow

Log on to Sage 300 and set an A/P Payment batch to "Ready to Post".

The workflow is started and the batch status is reset to "Check creation in progress".

Approve or Reject the A/P Payment Batch

  1. Logon to Sage 300 as a user who can approve

    1. User needs to be set as a workflow user (in Extender License screen)

    2. User needs rights to post an AP Payment batch in Sage 300
      .

  2. Go to Extender Workflow > Console, notice the workflow instance record.

  3. Click on Values Tab to see the details.

  4. Use history to view the steps that the workflow has been following.

  5. Click Approve on the Workflow Console -

    1. This will post the batch and

    2. Send an email to the user who requested the approval.

  6. View the Extender Inquiries > Workflow Details Log

    1. Review the history of the batch being set to "Ready to Post" and approved.

    2. Drilldown to the AP Payment batch to check that the batch is posted

  7. Create another batch and repeat steps. Choose Reject on the console.

    1. This sets the batch to Open again.

    2. Amend the batch and set Ready to Post again.

    3. Approve the batch on the console.

    4. Review the Workflow Logs in Extender Inquiries

Repeat the steps

Optionally, Configure Information Manager

If you want to configure icons on Sage 300 screens to progress the workflow and to view workflow history, you need to configure Information Manager.

Software Required

Requirement!

This functionality is available in Extender Levels Configurator and Developer.

To use the Workflow console, configure the user as a "Workflow User". Refer to Understanding Workflow Users

To use the Tray Icon on the Sage 300 screens, you need to install Information Manager, configure the tray icons and configure the user as a "Workflow User".

Using with Remote Action Service

If you want to use the Remote Action module to approve records outside of Sage 300, you need to download and install the Remote Action Module on the Orchid website through your Sage 300 partner.

You can then use the AP Approval Extender module below.

AP Payment Batch Approval Module with Remote Action