Hi there,
I am using the RibbonBarAddIn from the integration project to send orders to AX. However, it seems that the addin has access to the wrong rows. When I apply sorting and filtering, then the rows array in Load and the rows in TransferOrdersButton_Click don't represent the rows I see on screen. This in turn means that the check for the IntegrationOrderID fails and the UI pops up an alert that all the rows were transferred previously. When I skip that alert in code and always let the button run TransferOrdersButton_Click then the code can't find orders without an IntegrationOrderID even though I selected a number of orders without said ID in the UI. When I select one of the orders individually, the transfer works fine.
It seems that the orders[] from the ribbon doesn't match the orders you see on screen. I am not sure what it is though; could be the orders before sorting or before filtering.
Anyone any ideas? Seen this before? Happy to supply more information if needed.
Imar