Пример #1
0
        public virtual void ActionUnPosted()
        {
            GLShipmentEntities entity           = (GLShipmentEntities)CurrentModuleEntity;
            ICShipmentsInfo    objShipmentsInfo = (ICShipmentsInfo)CurrentModuleEntity.MainObject;

            objShipmentsInfo.ICShipmentPostedStatus = PostedTransactionStatus.UnPosted.ToString();
            entity.UpdateMainObject();
            GLHelper.UnPostedTransactions(this.CurrentModuleName, objShipmentsInfo.ICShipmentID, ModulePostingType.Accounting, ModulePostingType.Stock, ModulePostingType.SaleOrder);
            InvalidateToolbar();
        }
Пример #2
0
 public GLShipmentModule(string moduleName, GLShipmentEntities entity)
 {
     CurrentModuleName          = moduleName;
     CurrentModuleEntity        = entity;
     CurrentModuleEntity.Module = this;
 }