Just bumping this question.
After I get the shipments, I'd like to tell the screen to refresh itself because invoices have been created for the group. I've tried notifying, refreshing, and updating several things (oTrans, adapters, etc.) with no success.
After I get the shipments, I'd like to tell the screen to refresh itself because invoices have been created for the group. I've tried notifying, refreshing, and updating several things (oTrans, adapters, etc.) with no success.
I've noticed that after I create the invoices, I can click on the "Group.." button and search for the same group. It will then populate the "Invoices" grid with the correct information. I've been trying to replicate this process (by using the Tracing Logs) through the script with no success.
Would anyone have any insight as to how I can actually go about doing this?
Here's some of the script for attempting to retrieve the group:
this.oTrans_invAdapter = (InvcGrpAdapter)this.csm.TransAdaptersHT["oTrans_groupAdapter"];
this.oTrans_invAdapter.GetByID("test10"); //group id
this.oTrans.Refresh();
Thank you.