The import/export API supports transactional batching. The import API logically groups all items associated with an individual promotion, such as upsell qualifiers, folders, and coupons. This means that if an error occurs, you can roll back all items associated with that promotion.

To change the batch size, in the /atg/commerce/promotion/PromotionImportExport component, change the following property:

batchSize=1

The default is 1, so that each promotion (and its associated items, if any) is created in a separate transaction. This simplifies error recovery, but may impact performance. Use the default setting unless performance is unacceptable, in which case you may want to increase the batch size.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices