Purpose:
- To create a “normalized” SharePoint list structure for tracking client billing.
Scenario:
- 2 Lists are need to track basic billing:
1) Billing Rates
2) Billing Items
**Billing Items will have a look up column on Billing Rates List
Goal:
- Calculate Billing Item Charge Column by retrieving the value of the selected Billing Rate.
Solution Summary:
- Create a workflow and attach it to all new and edited items in Billing Items.
First, lets look at the two custom list structures.
- Billing Rates
- Billing Items
- This is how the “Charge” column was created using the “calculated” type.

*Note: the calculation is created BEFORE the workflow is created and attached.
Now the fun part, create a basic workflow to copy the Rate Value from the Billing Rates into the [Billing Items].Rate Value
- In SharePoint Designer with the Site Open, Create a new Workflow
- In the “Define” Wizard Window: name it; select the SharePoint list, and check all boxes.

- Name The Step (here it’s called “Update Rate Value Column” from “Step 1”) and pull down Conditions and click on “Compare Billing Items Field”

- Set Conditions as a catch for invalid workflow process, here we will change field to “Quantity” and value to “0.00”
- Pull Down Actions and choose Set Field In Current Item


- In “Find the List Item” – Click on the function button marked with an “fx” use Soruce: Current Item and select “Rate Name” for Field.
- Click Yes on the Warning Dialog Box

Now let’s check if the workflow is working properly
- Create 1 or 2 Billing Rate Entries
- Enter the some data, but ignore the Rate Value entry.
Notice that rate value (necessary for invoices) has been copied from Billing Rates, and the Charge is calculated in the list itself.






0 comments:
Post a Comment