Skip to Content

Please give me an example about ImpEx update using [batchmode =true] and not using [batchmode =true]

Can any body help me about it. I read https://wiki.hybris.com/pages/viewpage.action?spaceKey=release5&title=ImpEx+Syntax#ImpExSyntax-Attribute-RelatedModifiers , but not understand

Please give me an example about ImpEx update using [batchmode =true] and not using using [batchmode =true]

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Feb 13, 2019 at 11:00 PM

    Example of using [batchmode=true]:

     $productCatalog=defaultProductCatalog
     $catalogVersion=catalogversion(catalog(id[default=$productCatalog]),version[default='Staged'])[unique=true,default=$productCatalog:Staged]
     
     UPDATE Product[batchmode=true];itemType(code)[unique=true];$catalogVersion;appovalstatus(code)[default='approved']
     ;Product;
    

    The ImpEx given above will update approvalStatus for all products in defaultProductCatalog.

    Any ImpEx with header mode as UPDATE but not having [batchmode=true] with it, is an example of UPDATE without using [batchmode=true] because batchmode is by default false.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.