Questions tagged [work-order]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
56 views

Cannot find layout

I am trying to retrieve a layout in FSL through package.xml from the Work Order object but the layout cannot be found. I tried retrieving using this: <types> <members>WorkOrder-FSL ...
Jaemy Malik's user avatar
0 votes
1 answer
40 views

Salesforce FieldService - Define template for subject of auto-generated WorkOrders

In Salesforce FieldService, I recently migrated my MaintenancePlans from using frequency fields (FF) (frequency and frequency type) to using MaintenanceWorkRules for auto-generating my maintenance ...
HeXor's user avatar
  • 215
0 votes
0 answers
172 views

How to I create Work Plans on Work Order Line Item update?

I have created a Work Plan Template with its Work plan entries and a Work plan selection rule. My selection rule create the Work Plan associate to an Work Order Line Item that has a specific Work Type....
FarKorE's user avatar
  • 25
-1 votes
1 answer
392 views

Display Created Date DateTime field as DD/MM/YYYY, HH:MM:SS (am/pm) in record detail page

I've been trying to figure out how to display Created Date field with the format: DD/MM/YYYY, HH:MM:SS [AM/PM] By default, Salesforce displays it as DD/MM/YYYY, HH:MM [AM/PM]. See picture below. I'm ...
Dabidee's user avatar
1 vote
0 answers
58 views

The price book entry is in a different price book than the one assigned to the Work Order, [closed]

hi i'm trying to test a class with price book entry and work order and Product Consumed but i got this error when i insert a product consumed: FIELD_INTEGRITY_EXCEPTION, The price book entry is in a ...
Laye's user avatar
  • 11
0 votes
1 answer
535 views

Where can I find standard validation rules?

In a developer org, although validation rule lists are empty, checks are performed against data. E.g. trying to create an Entitlement record may lead to an error "The number of Remaining Work ...
Corram's user avatar
  • 123
1 vote
1 answer
1k views

Adding an FSL flow based quick Action on FSL Mobile App

I have quick action on Work Order Object. This quick action is a type of Field Service Mobile Flow - https://help.salesforce.com/articleView?id=sf.mfs_flow_build.htm&type=5 I have added it to the ...
SfdcBat's user avatar
  • 4,751
1 vote
0 answers
746 views

FSL: Unable to retrieve slots using GetABSlots (AppointmentBookingService)

I'm trying to use the getABSlots method of the AppointmentBookingService class, after setting up the "complex work" of service appointments in our field service settings. This is how our ...
Lucas Calegari's user avatar
0 votes
0 answers
17 views

Need to create a specific workOrder when Maintaince Plan is created

I need help with some stuff, I need to create suppose 5 workOrder when the Maintain Plan is created via APEX ? When i access it's field's via apex it give me error. I have the Field Level Access (...
Malik's user avatar
  • 31
1 vote
0 answers
224 views

Insert Work Orders with randomized Latitude and Longitude Values for testing bulk scheduling in Field Service Lightning (FSL)

This code is supposed to insert 50 work orders with randomized geolocations. It's meant to create enough records of sample data to set the stage for demonstrating the power of bulk-scheduling/...
Christopher Ryan's user avatar
1 vote
0 answers
1k views

Auto Generation of Work Orders from Maintenance Plans Failing

We are trying to get auto generation of Work Orders and Service Appointments working, however when we try to generate Work Orders with the following generation types it always fails: Work Order ...
DC-Fencer's user avatar
  • 197
1 vote
1 answer
1k views

Give create permission to Work Order Line Item

I am creating a permission set. Need to give Create permission to the Work Order Line Item. Usually, I see the below section for the object, to give Create, Read, Edit and Delete access: But not ...
वरुण's user avatar
1 vote
1 answer
479 views

Retrieving StandardValueSet member WorkOrderPriority returns WorkOrderLineItemPriority

I'm struggling with retrieving standard picklist Priority from the WorkOrder object. I'm trying to determine if I'm doing something massively wrong, or if there is a bug in the metadata API. I have ...
user40383's user avatar
1 vote
1 answer
379 views

Activate WorkOrder object with project-scratch-def.json file

I'm trying to define my project-scratch-def.json file to enable the standard WorkOrder object, it appears the object is enabled under the Field Service section of the setup menu. I added the ...
zainogj's user avatar
  • 1,854
3 votes
1 answer
2k views

Available edits to Work Order Overview FSL mobile

I am attempting to make edits to what Salesforce refers to as the "work order carousel" on FSL mobile. Particularly the Work Order Overview layout. I would like to edit the Service Appointment card ...
S_McDonald's user avatar
1 vote
0 answers
76 views

EndDate and StartDate on Canceled WorkOrders

WorkOrders have a set of standard fields called StartDate and EndDate. According to the SOAP API documentation, they are defined as such: StartDate: The date when the work order goes into effect. ...
Charles Koppelman's user avatar
0 votes
1 answer
773 views

Standard Lightning Spinner turns constantly after a screen flow action execution on Work Order Object

I have a flow action on the work order object under the activity tab because its a classic behaviour in salesforce for Work Order and Case Object. When I launch the screen flow, the execution is good ...
Maxime Aubanel's user avatar
0 votes
1 answer
443 views

Process Builder: How can I call another object while creating Work Order?

I'm trying to make the following happen. When creating a Work Order there are two fields that hold a master-relationship (Accounts & Assets). I want to create a process that allows me to call the ...
Rey Rodriquez's user avatar
1 vote
0 answers
219 views

SFDX FieldService setting [duplicate]

I'm trying to work with WorkOrder object on my scratch org, but when I pull changes I'm getting error: sfdx force:source:pull -f -u 13285 --loglevel debug ERROR: Settings type: 'FieldService' is ...
Mystery's user avatar
  • 155
0 votes
1 answer
1k views

Work Order Line Item not being inserted in test class

I have a piece of code in my apex class which queries a work order with the corresponding Case ID. I have written the corresponding test method for this class, as follows: Case c = new Case(); insert ...
Rimii's user avatar
  • 361
0 votes
2 answers
3k views

Field is inaccessible in this context

We have a managed package app which makes dynamic queries where the customer can set which fields to query on an object. The customer has enabled in her org the service called 'Field Service ...
Peter Tempfli's user avatar
1 vote
0 answers
102 views

How to enable Work Orders using Metadata API

I was hoping to deploy a package to my production org, but it seems that I must check off "Enable Work Orders" in Field Service Settings on my own. Is that the case? I was hoping that there'd be a ...
Charles Koppelman's user avatar
1 vote
1 answer
344 views

Illegal assignment from List<WorkOrder> to List<WorkOrder>

Trying to run this very simple operation and getting exception as in title: list<workorder> o = [select id from workorder]; Wat?
dzh's user avatar
  • 4,016
0 votes
1 answer
394 views

Not able to access the WorkOrder object in visualforce page. Throwing System.Visualforexecution exception

I wrote following visualforce page <apex:page standardController="Case" extensions="WorkOrdersController" sidebar="true"> <apex:repeat var="testWorkOrder" value="{!...
Vishal's user avatar
  • 23
1 vote
1 answer
571 views

Uses for Work Orders [closed]

I'm excited by Work Orders, but only if they add improved reporting or trackability. I would love to see something like Taskray's or Jira's boards on WorkOrders, and to be able to report on our speed ...
Charles Koppelman's user avatar