Credit Memo Workflow Setup
Prerequisites
-
To set up credit memo workflows, you need the following licenses:
-
To set up credit memo workflows, you must:
-
To set up credit memo workflows, you need:
-
System permissions:
-
Customize Application
-
Manage Sharing
-
View Setup and Configuration
-
Basics
A credit memo workflow features the following components:
Component | Description | Example |
---|---|---|
Status |
Possible credit memo status |
Paid |
Status Workflow |
Transition between statuses |
Entered > Paid |
Best Practices
To make administration easier, add one a credit memo workflow that applies to all credit memo types.
Make sure that every credit memo workflow has one status with Initial Status Console selected.
Setting Up Credit Memo Workflows
Configure Statuses
-
Access FieldFX Back Office
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Status
-
Complete the following:
-
Under Custom Fields & Relationships, click SObject Record Type
-
Under Picklist Options in Values, click New
-
Enter "Credit_Memo"
-
In the Record Types list, select Credit Memo
-
Click Save
-
Click Back to Status at the top of the page
-
-
Complete the following:
-
Under Custom Fields & Relationships, click SObject
-
Under Picklist Options in Values, click New
-
Enter "Credit_Memo__c"
-
In the Record Types list, select Credit Memo
-
Click Save
-
-
Complete the following:
-
Under Field Dependencies, click Edit next to SObject Record Type
-
Select Credit_Memo in the Credit_Memo__c column
-
Click Include Values
-
Click Save
-
Click Back to Status at the top of the page
-
-
Complete the following:
-
Under Record Types, click Credit Memo
-
Click Edit next to SObject Record Type
-
In Default, select "Credit_Memo"
-
Click Save
-
-
Grant permission to use the Credit Memo 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:
-
Under Custom Fields & Relationships, click SObject Record Type
-
Under Picklist Options in Values, click New
-
Enter "Credit_Memo"
-
Click Save
-
Click Back to Status Workflow at the top of the page
-
-
Complete the following:
-
Under Custom Fields & Relationships, click SObject
-
Under Picklist Options in Values, click New
-
Enter "Credit_Memo__c"
-
Click Save
-
-
Complete the following:
-
Under Field Dependencies, click Edit next to SObject Record Type
-
Select Credit_Memo in the Credit_Memo__c column
-
Click Include Values
-
Click Save
-
Configure the Credit Memo Page Layout
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Credit Memo
-
Under Page Layouts, click Edit next to Credit Memo 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 credit memo 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 the following to Enabled Visualforce Pages:
-
FX5.CreditMemoWorkflow
-
-
Click Save
-
Repeat steps a to f for other permission sets as needed
-
Adding a Credit Memo Workflow
-
Add statuses:
-
Open the Statuses tab
-
Click New
-
In Record Type, select "Credit Memo"
-
Click Continue
-
Complete the following:
-
In Status Name, enter the name of the status
-
In SObject, select "Credit_Memo__c"
-
(Optional) In SObject Record Type, select a credit memo type
-
Select Initial Status Console if this is the first status for new credit memos
-
In Read Only Apps, specify whether to make credit memos read-only when they reach this status
-
Select Prevent Report to prevent users from attaching FX Reports to credit memos in this status
-
-
Click Save & New
-
Repeat steps c to f for other page layouts
-
Click Save to finish
-
-
Add status workflows:
-
Open the Status Workflows tab
-
Click New
-
In SObject, select "Credit_Memo__c"
-
In SObject Record Type, select a credit memo type
-
In Application, select the app where the transition occurs
-
In the Old Status field, select the first status for the workflow
-
In the New Status field, select the final status for the workflow
-
In Command Text, enter a name for the workflow button users can select to transition a credit memo to the New Status
-
In Sequence Number, enter a sequence number to use for the status workflow
-
In Confirmation Text, enter the message to display when users transition a credit memo to the New Status
-
Click Save & New
-
Repeat steps c to k for other types of credit memos
-
Click Save to finish
-
-
Grant sharing access to statuses in the credit memo workflow
-
Grant sharing access to status workflows in the credit memo workflow