Skip to Content
0
Former Member
Jan 08, 2008 at 03:47 AM

Data Validation or business logic

55 Views

Hi,

I want to define my own business logic when adding / updating. Instead of using the default, UI/DI interface for Add, Update.

1. First, is there an option to validate the field name dynamically? given the following schema.

HIGHMIN to HIGHMAX

LOWMIN to LOWMAX

where all fieldnames are numierc/integer type. Numeric values should be in value range and should not overlap over the other group.

2.If I want to define my own business logic by capturing inputfields in the UI and validate it. How can I save it without using the default SAP B1 UI/DI interface such as Add button which sets the uniqueId to 1.

Please give an example. EditText ---> for one input field.....

How to define variable to initialize DI and save it.... How can I delete it afterwards? How can I update it?

Thanks.