示例#1
0
        public virtual void ActionUnPosted()
        {
            GLReceiptEntities entity          = (GLReceiptEntities)CurrentModuleEntity;
            ICReceiptsInfo    objReceiptsInfo = (ICReceiptsInfo)CurrentModuleEntity.MainObject;

            objReceiptsInfo.ICReceiptPostedStatus = PostedTransactionStatus.UnPosted.ToString();
            entity.UpdateMainObject();
            GLHelper.UnPostedTransactions(this.CurrentModuleName, objReceiptsInfo.ICReceiptID, ModulePostingType.Accounting, ModulePostingType.Stock);
            InvalidateToolbar();
        }
示例#2
0
 public GLReceiptModule(string moduleName, GLReceiptEntities entity)
 {
     CurrentModuleName          = moduleName;
     CurrentModuleEntity        = entity;
     CurrentModuleEntity.Module = this;
 }