我有一个图表调用操作 Create Shipment 如下
var soshipmentEntry = PXGraph.CreateInstance<SOShipmentEntry>();
var confirmShipment =(soshipmenEntry.Actions["action"].GetState(null) as PXButtonState).Menus.FirstOrDefault(p => p.Command == "Confirm Shipment");
var adapter = new PXAdapter(new DummyView(Base, Base.Document.View.BqlSelect,
new List<object> { Base.Document.Current }))
{
Menu = confirmShipment.Command
};
soshipmentEntry.Actions["action"].PressButton(adapter);
我不知道什么时候行动完成。我怎样才能获得像 GetProcessStatus 这样的状态?