Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Get the value of "SiteuseType" before user makes the update — Cloud Customer Connect
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

Get the value of "SiteuseType" before user makes the update

Received Response
11
Views
1
Comments
in Sales 1 comment

Summary:

Get the value of "SiteuseType" before user makes the update

Content (required):

I have a "BeforeUpdate" trigger wherein I am trying to validate if the user is trying to update SiteuseType of address to "Bill_To" and if its "Bill_To" I should display an error and stop the user. Code snippet is as below

The issue I am facing is that I am able to get the SiteuseType value after the user has changed it, so its not entering "If" loop to display the error

I tried using getOriginalattributevalue, however it cannot be used in the context of SiteuseType

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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