Page 1 of 1

How to avoid customfield from being copied to color/size inv

PostPosted: Mon Oct 23, 2023 12:55 am
by sameermoin
Hello Everyone,

I am facing an issue with color/size matrix items. I have some specific custom fields that I use to differentiate between color/size inventory items, such as store IDs. When I initially created these items using the inventory maintenance form. It works fine because it takes some time to push them to the store, and once they are pushed, another application updates the Jiwa inventory custom fields using the custom endpoints defined on the Jiwa API service. In this scenario, everything works correctly as the IDs are populated.

However, when I update any of these items again via the inventory maintenance form, it copies all the custom fields to others, which is not what I want. Is there any way to avoid it ?

What I have found is that it already copies the custom field during the save start event.

Additionally, is it possible to restrict specific custom fields from being copied?


Thanks

Re: How to avoid customfield from being copied to color/size  Topic is solved

PostPosted: Mon Oct 23, 2023 10:08 am
by SBarnes
There is a copy end event attach a handler to that and then set the custom setting values as you wish.