You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

VBS validation rule on Local Global Transfer

We are trying build a validation rule to fire when the "Who's the new Legal Employer?" from When and why and the delivered "Legal Employers That Share This Department" extensible flexfield (EFF) are not equal.

"Who's the new Legal Employer?" != "Legal Employers That Share This Department"

The expression we've built is returning all results as True and thus displaying the validation warning message even when the result should be false.

/* eslint-disable dot-notation */
define([], () => {
'use strict';

/**
*

  • @param {object} context
  • @return {boolean}
    */
    function runCondition(context) {
    const { $componentContext, $fields, $modules, $user, $value } = context;
if ($componentContext.LegalEmployer !== $fields['oracle-eflexfield-DEPARTMENT'].DEPARTMENT_PAGE.ORA_PER_LEGAL_EMP_ASSOC_DEPT.oraPerLegalEmployer.$value()) {

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!