Generate Sales Lines

Explanation

This activity is executed when the customer is defined on a work task, which has already created cost lines. Once the customer is defined on the work task, sales lines corresponding to the cost lines will be generated automatically in Sales tab. This scenario is applicable for example if the user mistakenly haven't defined the customer on the task and need to update it. In that case the revenue information for the already created transactions will be already created.

Sales part information for the sales line will be inherited as follows depending on the cost type and task transaction on the cost line.

Task TransactionCost TypeSales Part Inheritance
Work TaskPersonnelSales part will be fetched according to the following sequence if condition satisfies:
 - Time type exists and time type has a Sales part connected
 - Connected to a planning line and if plan line has a Sales part defined
 - Default Sales part connected to the Resource Group
 - Default Sales part connected to the Maintenance Organization
Work TaskTool/EquipmentSales part will be fetched according to the following sequence if condition satisfies:
- Connected to a demand line and if demand line has a Sales part defined
- Default Sales part connected to the Resource Group
Work TaskExternalSales part will be fetched according to the following sequence if condition satisfies:
 - Cost Category exists and cost category has a Sales part connected
 - Connected to a planning line and if planning line has a Sales part defined
Work TaskExpense
InventoryMaterialSales part connected to the respective planning line will be inherited
HR ExpenseExpenseSales part connected to the Expense code will be inherited
Internal/External PurchaseExternalSales part connected to the respective planning line will be inherited

How Sales lines are created from the reported time for the Crew demands, will be controlled by Crew Time Invoicing setting on the Resource Details page. Alternatively users can change the Crew Invoicing Setting according to their preference on the Demand line.

Note: Cost based invoicing is not possible to use in combination with the Crew Resources. The cost defined on a Crew Group or Crew is just used for getting planned cost to the Work Task. If cost based invoicing is needed, then "Crew Time Invoicing" needs to be set to "No" so, that the invoicing will be based on each individual Crew Member Time Report/Cost.

Prerequisites

System Effects