예제 #1
0
        public void New()
        {
            string secondaryKey = Root.NoManager.GetNewNo(Database, typeof(InOrder), InOrder.NoColumnName, InOrder.FormatNewNo, this);

            CurrentInOrder = InOrder.NewACObject(DatabaseApp, null, secondaryKey);
            DatabaseApp.InOrder.AddObject(CurrentInOrder);
            SelectedInOrder = CurrentInOrder;
            if (AccessPrimary != null)
            {
                AccessPrimary.NavList.Add(CurrentInOrder);
            }
        }