I hv an unmanaged scenario with draft enabled. I can successfully write validation in my Bdef and validate my data there itself.
Then why to write validation code in check_b4_save method. which one to use and when ?
Request clarification before answering.
Hello @shubhashish_das
In RAP unmanaged with draft,
Implement validations primarily in BDEF. Use CHECK_BEFORE_SAVE only for final consistency checks and last-minute validations before persistence. This avoids duplicate validation logic while ensuring data integrity.
Thanks,
Sravan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.