How to display conflict field message when the conflict type is blackout Freeze on change form???

Divya K1
Tera Guru

Hi All,

If there is a Conflict and its conflict type is Blackout period freeze , it should display below message 

'CONFLICTS DETECTED, There is a Blackout schedule - Holiday freeze period, review the Conflict Tab for more details.

or leave message as is out of the box. (There is a Out of the box -- Notify Conflict Client Script)

Notify Client Script

function onLoad() {
if (g_form.getValue('conflict_status') == 'Conflict')
g_form.showErrorBox('conflict_status', getMessage("Conflicts detected, see the Conflicts section below"));
//g_form.showErrorBox('conflict_status', getMessage("CONFLICTS DETECTED, Blackout schedule - Holiday freeze period, review the Conflict Tab for more details."));
}

3 REPLIES 3

Sunjyot Singh
Kilo Guru

Hi,

 

For my instance by default this Client Script is inactive. Try activating it and see if it works.

 

Thanks.

Hi,

 

The above client script was already is in active but if the conflict type is Inside Blackout period, display message should display under conflict field is

CONFLICTS DETECTED, Blackout schedule - Holiday freeze period, review the Conflict Tab for more details.

 

or else if any other conflict type like not in maintaince window than out of the box message that Conflicts detected, see the Conflicts section below

 

how to do this???

Rahul Dev1
Giga Expert

Hi Divya 

You will get the message on top of the form, not the field message.

Make sure to check this property change.conflict.show_conflict_message and on the form you have conflict_status field or not?