Query : Nullify a Boolean Field in OCH
Hello All
I have a requirement in the project where in there is an existing value Y or N in the Boolean field.
The data coming from Batch is Null whereby I need to make the field to Null in OCH.
So I have tried the below script whereby the batch would send me a value ‘X’ , if they need to nullify the column
I have tried the Prewrite record script at the BC level:
if (this.GetFieldValue("Field Name") == "X")
this.SetFieldValue("Field Name ","")
But the issue is , its setting the field to N and not to Null.
Kindly let me know if anyone has done any similar implementation and can provide me some help on the same.