Hi,
I have a dataset with Purchase Orders that need to update the quantity in an API.
The API can only accept one record at a time, and the performance deteriorates the more records are selected at a given time. So my thinking is to create a grouping macro that will split the records into groups of five and then loop one by one through the records in the group with a macro. then move on to the next group and so on. I am fine with the two individual processes as macros, but how do you combine them to work as a whole. E.g. 26 line items grouped into 20 Purchase orders as per the attached dataset, group into 4 groups of 5 PO's and then update the PO's individually into the API for the group. the API update is not a challenge, just the macro to decide what gets updated when.
Any help will be appreciated.