Hi Diego, Pedro,
Really appreciate both of your help on this issue. I have managed to figure this out.
Just to bring some understanding to what the overall goal was. I wanted to add a way to update on Sales Orders line item ship dates in a more logical way for our business. I know in SAP you can change all rows on a Sales Order on mass. But this creates issues. Our Sales Orders are shipped over a period of weeks, with items having different dates for shipment. Our sales orders can have many rows, so having the change sales order lines can be a time consuming process.
So what I have done is the following.
1. I have added a new row of check boxes to the matrix. This check box is not bound to the underlying data source.
2. I have added a field where a user can enter a number of days. In the case showing, I have 1, which equates to one day. The user can hit the apply button, and this will iterate over each checked row changing the ship date from its current date adding +1 day in this case. So if the previous ship date was 31-05-2015, its now shifted by one day. It also takes into consideration weekends. So if the new date falls on a weekend, it moves this ship date to the next Monday.
3. There is also a check box to update the purchase order. When checked, on hitting the Update button on the Sales Order, this will update any related purchase order ship dates to reflect the new sales order ship date.
There is one weird thing I still dont understand. Which is one of my original issues. If I try and open a Sales Order using just the Doc Number form the Global Search Bar, this doesn't open the Sales Order correctly. What it does is load the form without any rows.
If I go into the Sales Order form and open a sales order, this loads the Matrix Grid correctly. Not sure why this is the case
Hopefully, the above make sense and maybe helpful for someone in the future.










.jpg)


