Invoice Workflow Setup
Introduction
An invoice workflow features the following components:
Component | Description | Example |
---|---|---|
Status |
Possible invoice status |
Paid |
Status Workflow |
Transition between statuses |
Entered → Paid |
Before you can use an Invoice Workflow, it must be set up.
Prerequisites
To set up invoice workflows, you need to:
Have these user licenses | Have these permissions | Complete these tasks and review these topics before continuing |
---|---|---|
|
Best Practices
To make administration easier, add one invoice workflow that applies to all invoice types.
Make sure that every invoice workflow has one status with Initial Status Console selected.
Step-by-Step Guides
You can configure:
Configure Statuses
-
Access FieldFX Back Office
-
From Setup, enter
object
in the Quick Find box, then select Objects. -
Click Status.
-
Complete the following:
In this Field… Do this… Custom Fields & Relationships
Click SObject Record Type.
Picklist Options in Values
-
Click New.
-
Enter
Invoice
.
Record Types
Select Invoice.
-
Click Save.
-
Click Back to Status at the top of the page.
-
-
Complete the following:
In this Field… Do this… Custom Fields & Relationships
Click SObject.
Picklist Options in Values
-
Click New.
-
Enter
Invoice__c
.
Record Types list
Select Invoice.
-
-
Complete the following:
In this Field… Do this… Field Dependencies
Click Edit next to SObject Record Type.
Invoice__c column
-
Select Invoice
-
Click Include Values.
-
Click Save.
-
Click Back to Status at the top of the page.
-
-
Complete the following:
In this Field… Do this… Record Types
Click Invoice.
SObject Record Type
Click Edit next to it.
Default
Select "Invoice".
-
Click Save.
-
-
Grant permission to use the Invoice record type on the Status object.
Configure Status Workflows
-
From Setup, enter
object
in the Quick Find box, then select Objects. -
Click Status Workflow
-
Complete the following:
In this Field… Do this… Custom Fields & Relationships
Click SObject Record Type.
Picklist Options in Values
-
Click New.
-
Enter
Invoice
-
Click Save
-
Click Back to Status Workflow at the top of the page.
-
-
Complete the following:
In this Field… Do this… Custom Fields & Relationships
-
Click SObject.
Picklist Options in Values
-
Click New.
-
Enter
Invoice__c
.
-
Click Save.
-
-
Complete the following:
In this Field… Do this… Field Dependencies
-
Click Edit next to SObject Record Type.
-
Select Invoice in the Invoice__c column.
-
Click Include Values.
-
-
Click Save.
Configure the Invoice Page Layout
-
From Setup, enter
object
in the Quick Find box, then select Objects. -
Click Invoice.
-
Under Page Layouts, click Edit next to Invoice Layout.
-
Complete the following:
-
Add the Status field to the layout.
-
On the toolbar, select Visualforce Pages.
-
Drag Section from the toolbar to the top of the layout.
-
In Section Name, enter
Workflow
. -
Click OK.
-
Drag the Workflow Visualforce page from the toolbar into the Workflow section.
-
Click Save on the toolbar.
-
-
Grant permission to use the Visualforce page for invoice workflows:
-
From Setup, enter
permission
in the Quick Find box, then select Permission Sets. -
Open a permission set for Visualforce pages.
-
Under Apps, click Visualforce Page Access.
-
Click Edit.
-
Add
FX5.InvoiceWorkflow
to Enabled Visualforce Pages. -
Click Save.
-
Repeat this step for other permission sets as needed.
-
Adding an Invoice Workflow
-
Add statuses:
-
Open the Statuses tab
-
Click New
-
In Record Type, select "Invoice"
-
Click Continue
-
Complete the following:
In this Field… Do this… Status Name
Enter the name of the status.
SObject
select "Invoice__c".
Object Record Type
(Optional)-
Select an invoice type.
If you add an invoice workflow for a specific invoice type, you must add an invoice workflow for every invoice type.
-
If this is the first status for new invoices, select Initial Status Console.
Read Only Apps
-
Specify whether to make invoices read-only when they reach this status.
-
Select Prevent Report to prevent users from attaching FX Reports to invoices in this status.
-
-
For other invoice types,
-
Click Save & New and repeat this step.
-
-
Click Save to finish.
-
-
Add status workflows:
-
Open the Status Workflows tab
-
Click New
-
Complete these fields:
In this field… Do this… SObject
Select "Invoice__c".
SObject Record Type
Select an invoice type.
Application
Select the app where the transition occurs.
If the transition occurs in FieldFX Back Office, select "Console".
Old Status
Select the first status for the workflow.
New Status
Select the final status for the workflow.
Command Text
Enter a name for the workflow button users can select to transition an invoice to the New Status.
Sequence Number
Enter a sequence number to use for the status workflow
Sequence numbers control the order of statuses in lists. Refer to the sequence number article for more information.
Confirmation Text
-
For other status changes, click Save & New and repeat this step.
-
Click Save to finish.
-
-
Grant sharing access to statuses in the invoice workflow.
-
Grant sharing access to status workflows in the invoice workflow.