beta.blog

hybris: Remove All Instances Of An Itemtype

by on Feb.19, 2019, under Programming

Posting this mostly as a reminder to myself for the next time I have to do this. For those who don’t know, we might as well delete all items of a particular Itemtype through Impex.

REMOVE PaymentTransaction[batchmode=true];itemtype(code)[unique=true]
;PaymentTransaction

The Impex script above will delete all instances of the type PaymentTransaction.

:,

Leave a Reply

*

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!