Ejemplo n.º 1
0
        public override void ActionComplete()
        {
            base.ActionComplete();
            SaleOrderShipmentEntities entity     = (SaleOrderShipmentEntities)CurrentModuleEntity;
            ICShipmentsInfo           mainobject = (ICShipmentsInfo)CurrentModuleEntity.MainObject;

            if (!IsValidInventoryStock())
            {
                return;
            }

            mainobject.ICShipmentStatus = ShipmentStatus.Complete;
            entity.UpdateMainObject();
            ActionPosted();
        }