protected override void OnNewRecord() { base.OnNewRecord(); StockTakeForm childform = new StockTakeForm(); ShowForm(childform); }
protected override void OnOpenRecord(long Id) { try { base.OnOpenRecord(Id); base.OnOpenRecord(Id); StockTakeForm childForm = new StockTakeForm(Id); ShowForm(childForm); } catch (Exception ex) { if (CDS.Shared.Exception.UserInterfaceExceptionHandler.HandleException(ref ex)) { throw ex; } } }