The Overwrite App empowers you to modify master data values, such as ERP data, by toggling an allow to overwrite checkbox for specific attributes. This functionality provides users with the ability to adjust master data on a product level.
The app utilizes three attributes per overwrite, forming what we refer to as an overwrite policy. In the example below, you’ll find a single policy that outlines the connection between attributes:
{
"overwrite_1": {
"overwrite_attribute": "overwrite_attribute",
"source_attribute": "source_attribute",
"target_attribute": "target_attribute"
}
}
!WARNING!
You need to decorate and specify these attributes yourself.
This attribute, marked as the source, is the one used to import ERP data.
This attribute, marked as the target, is employed for your export channels.
The source and target attributes must be of the same [attribute] type.
This attribute serves as the toggle to determine whether you want to overwrite the target attribute. By default, if not toggled, it copies the source to the target if the source is changed. If toggled, the target remains unchanged.
We have to create 1 Overwrite Policy. For 1 policy you need at least 3 attributes
We have to define at least one source attribute. This attribute is generally an ERP value that you wish to overwrite.
We have 2 attributes to set up in Akeneo PIM:
the overwrite Boolean Y/N Attribute
the target attribute, similar type as your source
Assuming your Connection is active, working, coming from a Connected App.
Click on tasks.
Create a task, an overwrite task and give it a proper name.
Click on edit.
Edit your task, setup you policies as described in the introduction.
Click on save.
Click on run.
Once you clicked run, a manual operation will start the process. You can see the results in Akeneo.