1)Create an IPA flow to get that done -
2)Feed information to your flow.
3)Use a lawson transaction to change Form AP10.