matmat
matmat

Reputation: 85

Intersystems Cache ObjectScript change property value during %Save()

Given:

I want that:

When objA is going to be saved (objA.%Save()), substitute with an empty string the rB invalid value and save it.

So far:

I have tried to make the substitution using callback methods ( %OnBeforeSave), but it seems that %ValidateObject is being called before.

Is there a way of doing value changes before %ValidateObject using callback methods?

Thanks in advance.

Upvotes: 0

Views: 498

Answers (1)

Related Questions