Inserting data using access beans

You can use access beans to create new data, even though the underlying logic uses the JPA standard.

You can use access beans to create new data as part of your business logic. To create new data, use any access bean constructor with one or more arguments. You can then set any additional data on the bean using the provided settings.

The following code example creates a new fulfillment center:
//Create a new fullment center record.
FulfillmentCenterAccessBean fcab = new FulfillmentCenterAccessBean(ownerId, fflname);
//Set additional data on the access bean.
fcab.setInventoryOperationFlags(flags);