My Oracle Support Banner

Unable To Hide Labor Item Field In Mobile Field Service - Debrief Labor Screen (Doc ID 2808885.1)

Last updated on SEPTEMBER 28, 2021

Applies to:

Oracle Mobile Field Service - Version 12.2.10 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.10 version, General / Server

When trying to hide the labor item field using this code:

function onLaborDetailsLoadHook(successCb)
{
console.log("onLaborDetailsLoadHook:::::labor reason check");
console.log("hiding item field");
console.log("hiding item field_1");
console.log("hiding item field_2");
var retObj = {LABOR_DETAILS:[{ID:
LABOR_INV_ITEM_ID,readOnly:true,display:'hide'}]};
console.log("onLaborDetailsLoadHook : "+retObj.LABOR_REASON);
executeCustomFeatureJS(successCb,["S@"+JSON.stringify(retObj)]);
  //executeCustomFeatureJS(successCb,["S@"]);
}

it fails.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create customization to hide labor item field as per Doc ID 2274420.1 Oracle Mobile Field Service Multiplatform Client Side Customization

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.