cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trigger article sync from QuickSelection

JoergAldinger
Active Contributor
0 Likes
491

Hello all,

We have a customer who has constantly changing prices. Although we have set the sync schedule to each 5 minutes, there are occasions where the customer needs to sync manually in order to avoid a price difference in a specific receipt. Is there are a way to trigger the article sync from code using our plugin?

Note: We don't want to give the users permission to access the configuration to trigger the sync from there.

Thanks and best regards,

Joerg.

Accepted Solutions (1)

Accepted Solutions (1)

former_member616895
Participant

Hello Joerg,

doesn't the "Sync backend data" from the functions do exactly that? I just tested it using the default CASHIER role, new prices were synchronised, without access to the configuration.

However a requirement is that only scheduled synchronisations are triggered, so I had to setup an hourly synchronisation.

See here: https://help.sap.com/viewer/0c0627c1f3754c22929c8aea88b50cf6/2.0.12/en-US/7181de32ff7e485d9a3ba478d1...

Best Regards

Kai

JoergAldinger
Active Contributor

Hello Kai,

I had tried that and it only synchronized users, but not articles. However, after creating an hourly sync job for articles, in effect the articles did synchronize as well. Don't ask me why I didn't try that...

Thanks!

Joerg.

Answers (0)