This commit is contained in:
2021-07-13 19:58:46 +00:00
parent 228054aed0
commit 2be84aaa1c

View File

@@ -1329,4 +1329,26 @@ BUILD 115
- Role object and Translation: renamed "Dispatch" roles to "Service" roles as "Dispatch" is a sub-set of all Service manager tasks and roles
i.e. "Dispatch", "Dispatch - restricted" now "Service", "Service - restricted"
this also ties in more tightly with the user interface menu options making it clearer where it applies
this also ties in more tightly with the user interface menu options making it clearer where it applies
- Work order Cost field restrictions
Only staff user types can even *potentially* see costs of anything on work order.
Non staff user types can not see costs at all no matter what role is set for them: customer headoffice or subcontractor types.
Cost restrictions are not only hidden in work order user interface but are also sent as zeros in the data from the server so viewing the network traffic will still not reveal the costs to a cost restricted user.
Cost restrictions also apply to reporting so a report with cost fields on it will show those values as zero if the current user is restricted from seeing costs
Specifically on work order, costs potentially not shown are for following objects: WorkorderItemParts, WorkOrderItemLabor, WorkOrderItemTravel, WorkOrderItemLoan
WorkOrderItemParts costs: in addition to above restrictions, user must have one of the following roles: InventoryRestricted, Inventory, BizAdmin (full), Accounting
This means all Technician (and any other) role users will not see costs for these parts by default unless they also have one of those specific roles
WorkOrderItemLabor / WorkOrderItemTravel / WorkOrderItemLoan costs: in addition to staff user restrictions, user must have one of the following roles: ServiceRestricted, Service, BizAdmin (full), Accounting
This means all Technician (and any other) role users will not see costs for these rates by default unless they also have one of those specific roles
New reporting fields
Three new boolean fields are now set on work order header data to indicate which costs are hidden:
HasPartCosts, HasTravelAndLaborRateCosts, HasLoanItemCosts