No Empty Line Items on Timesheet Tab Policy template
Use this template to create a business rule that enforces a company rule that there must be a minimum number of line items in a timesheet.
class_name = largesoft.br.rules.system.TSMinNumLIsAttached
Parameters
This template has these parameters:
- Line Item Type
- Select the type of line item to check in the timesheet.
- Min Number of Line Items
- Specify a minimum number of line items that must appear in a timesheet. For example, 1.
Example
This example shows the possible values for this business rule.
No empty line items on timesheet tab policy fields
This table shows the values for fields:
| Field | Value |
|---|---|
| Name | No Empty Timesheet Line Items P |
| Severity | Invalid |
| Notification | Interactive |
| Fire on Itemization | Left blank |
| Fire Scope | Left blank |
| Offline and Online Firing Options | Fire Offline and Online |
| Status | Active |
| Fire On | Submit TS |
No empty line items on timesheet tab policy strings
This table shows the values for strings:
| Strings | Value |
|---|---|
| Description | Determines number of line item on timesheet tab attached to the document. |
| Interactive Message | This timesheet does not have any line item on the timesheet tab. A timesheet cannot be submitted if it does not have a line item on the timesheet tab. |
| Policy | Timesheet cannot be submitted without a line item on the timesheet tab attached to it when applicable. |
| Report Message | No line items of timesheet tab attached to document. |
No empty line items on timesheet tab policy parameters
This table shows the values for parameters:
| Parameter | Value |
|---|---|
| Line Item Type | Timesheet Line Items |
| Min Number of Line Items | 1 |
No empty line items on timesheet tab policy applications
This table shows the values for applications:
| Name | Organization/Group |
|---|---|
| TS: Data Group | Group |