• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# MixERP类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中MixERP的典型用法代码示例。如果您正苦于以下问题:C# MixERP类的具体用法?C# MixERP怎么用?C# MixERP使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



MixERP类属于命名空间,在下文中一共展示了MixERP类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Add

        /// <summary>
        /// Inserts the instance of CashRepository class on the database table "office.cash_repositories".
        /// </summary>
        /// <param name="cashRepository">The instance of "CashRepository" class to insert.</param>
        public void Add(MixERP.Net.Entities.Office.CashRepository cashRepository)
        {
            if(string.IsNullOrWhiteSpace(this.Catalog))
            {
                return;
            }

            try
            {
                if (!this.SkipValidation)
                {
                    if (!this.Validated)
                    {
                        this.Validate(AccessTypeEnum.Create, this.LoginId, false);
                    }
                    if (!this.HasAccess)
                    {
                        throw new UnauthorizedException("Access is denied.");
                    }
                }

                Factory.Insert(this.Catalog, cashRepository);
            }
            catch (UnauthorizedException ex)
            {
                Log.Error("{Exception} {@Exception}", ex.Message, ex);
                throw new MixERPException(ex.Message, ex);
            }
        }
开发者ID:mohamedmahir,项目名称:mixerp,代码行数:33,代码来源:CashRepository.cs


示例2: PostPurhcaseReorderProcedure

 /// <summary>
 /// Prepares, validates, and executes the function "transactions.post_purhcase_reorder(_value_date date, _login_id bigint, _user_id integer, _office_id integer, _details transactions.purchase_reorder_type[])" on the database.
 /// </summary>
 /// <param name="valueDate">Enter argument value for "_value_date" parameter of the function "transactions.post_purhcase_reorder".</param>
 /// <param name="loginIdParameter">Enter argument value for "_login_id" parameter of the function "transactions.post_purhcase_reorder".</param>
 /// <param name="userId">Enter argument value for "_user_id" parameter of the function "transactions.post_purhcase_reorder".</param>
 /// <param name="officeId">Enter argument value for "_office_id" parameter of the function "transactions.post_purhcase_reorder".</param>
 /// <param name="details">Enter argument value for "_details" parameter of the function "transactions.post_purhcase_reorder".</param>
 public PostPurhcaseReorderProcedure(DateTime valueDate,long loginIdParameter,int userId,int officeId,MixERP.Net.Entities.Transactions.PurchaseReorderType[][] details)
 {
     this.ValueDate = valueDate;
     this.LoginIdParameter = loginIdParameter;
     this.UserId = userId;
     this.OfficeId = officeId;
     this.Details = details;
 }
开发者ID:mohamedmahir,项目名称:mixerp,代码行数:16,代码来源:PostPurhcaseReorderProcedure.cs


示例3: PostOpeningInventoryProcedure

 /// <summary>
 /// Prepares, validates, and executes the function "transactions.post_opening_inventory(_office_id integer, _user_id integer, _login_id bigint, _value_date date, _reference_number character varying, _statement_reference text, _details transactions.opening_stock_type[])" on the database.
 /// </summary>
 /// <param name="officeId">Enter argument value for "_office_id" parameter of the function "transactions.post_opening_inventory".</param>
 /// <param name="userId">Enter argument value for "_user_id" parameter of the function "transactions.post_opening_inventory".</param>
 /// <param name="loginId">Enter argument value for "_login_id" parameter of the function "transactions.post_opening_inventory".</param>
 /// <param name="valueDate">Enter argument value for "_value_date" parameter of the function "transactions.post_opening_inventory".</param>
 /// <param name="referenceNumber">Enter argument value for "_reference_number" parameter of the function "transactions.post_opening_inventory".</param>
 /// <param name="statementReference">Enter argument value for "_statement_reference" parameter of the function "transactions.post_opening_inventory".</param>
 /// <param name="details">Enter argument value for "_details" parameter of the function "transactions.post_opening_inventory".</param>
 public PostOpeningInventoryProcedure(int officeId, int userId, long loginId, DateTime valueDate, string referenceNumber, string statementReference, MixERP.Net.Entities.Transactions.OpeningStockType[] details)
 {
     this.OfficeId = officeId;
     this.UserId = userId;
     this.LoginId = loginId;
     this.ValueDate = valueDate;
     this.ReferenceNumber = referenceNumber;
     this.StatementReference = statementReference;
     this.Details = details;
 }
开发者ID:pplatek,项目名称:mixerp,代码行数:20,代码来源:PostOpeningInventoryProcedure.cs


示例4: PostStockJournalProcedure

 /// <summary>
 /// Prepares, validates, and executes the function "transactions.post_stock_journal(_office_id integer, _user_id integer, _login_id bigint, _value_date date, _reference_number character varying, _statement_reference text, _details transactions.stock_adjustment_type[])" on the database.
 /// </summary>
 /// <param name="officeId">Enter argument value for "_office_id" parameter of the function "transactions.post_stock_journal".</param>
 /// <param name="userId">Enter argument value for "_user_id" parameter of the function "transactions.post_stock_journal".</param>
 /// <param name="loginIdParameter">Enter argument value for "_login_id" parameter of the function "transactions.post_stock_journal".</param>
 /// <param name="valueDate">Enter argument value for "_value_date" parameter of the function "transactions.post_stock_journal".</param>
 /// <param name="referenceNumber">Enter argument value for "_reference_number" parameter of the function "transactions.post_stock_journal".</param>
 /// <param name="statementReference">Enter argument value for "_statement_reference" parameter of the function "transactions.post_stock_journal".</param>
 /// <param name="details">Enter argument value for "_details" parameter of the function "transactions.post_stock_journal".</param>
 public PostStockJournalProcedure(int officeId, int userId, long loginIdParameter, DateTime valueDate, string referenceNumber, string statementReference, MixERP.Net.Entities.Transactions.StockAdjustmentType[][] details)
 {
     this.OfficeId = officeId;
     this.UserId = userId;
     this.LoginIdParameter = loginIdParameter;
     this.ValueDate = valueDate;
     this.ReferenceNumber = referenceNumber;
     this.StatementReference = statementReference;
     this.Details = details;
 }
开发者ID:smartleos,项目名称:mixerp,代码行数:20,代码来源:PostStockJournalProcedure.cs


示例5: PostInventoryTransferDeliveryProcedure

 /// <summary>
 /// Prepares, validates, and executes the function "transactions.post_inventory_transfer_delivery(_office_id integer, _user_id integer, _login_id bigint, _inventory_transfer_request_id bigint, _value_date date, _reference_number character varying, _statement_reference text, _shipper_id integer, _source_store_id integer, _details transactions.stock_adjustment_type[])" on the database.
 /// </summary>
 /// <param name="officeId">Enter argument value for "_office_id" parameter of the function "transactions.post_inventory_transfer_delivery".</param>
 /// <param name="userId">Enter argument value for "_user_id" parameter of the function "transactions.post_inventory_transfer_delivery".</param>
 /// <param name="loginId">Enter argument value for "_login_id" parameter of the function "transactions.post_inventory_transfer_delivery".</param>
 /// <param name="inventoryTransferRequestId">Enter argument value for "_inventory_transfer_request_id" parameter of the function "transactions.post_inventory_transfer_delivery".</param>
 /// <param name="valueDate">Enter argument value for "_value_date" parameter of the function "transactions.post_inventory_transfer_delivery".</param>
 /// <param name="referenceNumber">Enter argument value for "_reference_number" parameter of the function "transactions.post_inventory_transfer_delivery".</param>
 /// <param name="statementReference">Enter argument value for "_statement_reference" parameter of the function "transactions.post_inventory_transfer_delivery".</param>
 /// <param name="shipperId">Enter argument value for "_shipper_id" parameter of the function "transactions.post_inventory_transfer_delivery".</param>
 /// <param name="sourceStoreId">Enter argument value for "_source_store_id" parameter of the function "transactions.post_inventory_transfer_delivery".</param>
 /// <param name="details">Enter argument value for "_details" parameter of the function "transactions.post_inventory_transfer_delivery".</param>
 public PostInventoryTransferDeliveryProcedure(int officeId, int userId, long loginId, long inventoryTransferRequestId, DateTime valueDate, string referenceNumber, string statementReference, int shipperId, int sourceStoreId, MixERP.Net.Entities.Transactions.StockAdjustmentType[] details)
 {
     this.OfficeId = officeId;
     this.UserId = userId;
     this.LoginId = loginId;
     this.InventoryTransferRequestId = inventoryTransferRequestId;
     this.ValueDate = valueDate;
     this.ReferenceNumber = referenceNumber;
     this.StatementReference = statementReference;
     this.ShipperId = shipperId;
     this.SourceStoreId = sourceStoreId;
     this.Details = details;
 }
开发者ID:carlosern,项目名称:mixerp,代码行数:26,代码来源:PostInventoryTransferDeliveryProcedure.cs


示例6: PostWageProcedure

 /// <summary>
 /// Prepares, validates, and executes the function "hrm.post_wage(_user_id integer, _office_id integer, _login_id bigint, _as_of date, _employee_id integer, _statement_reference text, _regular_hours numeric, _regular_pay_rate numeric, _overtime_hours numeric, _overtime_pay_rate numeric, _details hrm.wage_processing_details[])" on the database.
 /// </summary>
 /// <param name="userId">Enter argument value for "_user_id" parameter of the function "hrm.post_wage".</param>
 /// <param name="officeId">Enter argument value for "_office_id" parameter of the function "hrm.post_wage".</param>
 /// <param name="loginId">Enter argument value for "_login_id" parameter of the function "hrm.post_wage".</param>
 /// <param name="asOf">Enter argument value for "_as_of" parameter of the function "hrm.post_wage".</param>
 /// <param name="employeeId">Enter argument value for "_employee_id" parameter of the function "hrm.post_wage".</param>
 /// <param name="statementReference">Enter argument value for "_statement_reference" parameter of the function "hrm.post_wage".</param>
 /// <param name="regularHours">Enter argument value for "_regular_hours" parameter of the function "hrm.post_wage".</param>
 /// <param name="regularPayRate">Enter argument value for "_regular_pay_rate" parameter of the function "hrm.post_wage".</param>
 /// <param name="overtimeHours">Enter argument value for "_overtime_hours" parameter of the function "hrm.post_wage".</param>
 /// <param name="overtimePayRate">Enter argument value for "_overtime_pay_rate" parameter of the function "hrm.post_wage".</param>
 /// <param name="details">Enter argument value for "_details" parameter of the function "hrm.post_wage".</param>
 public PostWageProcedure(int userId, int officeId, long loginId, DateTime asOf, int employeeId, string statementReference, decimal regularHours, decimal regularPayRate, decimal overtimeHours, decimal overtimePayRate, MixERP.Net.Entities.HRM.WageProcessingDetail[] details)
 {
     this.UserId = userId;
     this.OfficeId = officeId;
     this.LoginId = loginId;
     this.AsOf = asOf;
     this.EmployeeId = employeeId;
     this.StatementReference = statementReference;
     this.RegularHours = regularHours;
     this.RegularPayRate = regularPayRate;
     this.OvertimeHours = overtimeHours;
     this.OvertimePayRate = overtimePayRate;
     this.Details = details;
 }
开发者ID:carlosern,项目名称:mixerp,代码行数:28,代码来源:PostWageProcedure.cs


示例7: PostSalesReturnProcedure

 /// <summary>
 /// Prepares, validates, and executes the function "transactions.post_sales_return(_transaction_master_id bigint, _office_id integer, _user_id integer, _login_id bigint, _value_date date, _store_id integer, _party_code character varying, _price_type_id integer, _reference_number character varying, _statement_reference text, _details transactions.stock_detail_type[], _attachments core.attachment_type[])" on the database.
 /// </summary>
 /// <param name="transactionMasterId">Enter argument value for "_transaction_master_id" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="officeId">Enter argument value for "_office_id" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="userId">Enter argument value for "_user_id" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="loginId">Enter argument value for "_login_id" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="valueDate">Enter argument value for "_value_date" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="storeId">Enter argument value for "_store_id" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="partyCode">Enter argument value for "_party_code" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="priceTypeId">Enter argument value for "_price_type_id" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="referenceNumber">Enter argument value for "_reference_number" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="statementReference">Enter argument value for "_statement_reference" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="details">Enter argument value for "_details" parameter of the function "transactions.post_sales_return".</param>
 /// <param name="attachments">Enter argument value for "_attachments" parameter of the function "transactions.post_sales_return".</param>
 public PostSalesReturnProcedure(long transactionMasterId, int officeId, int userId, long loginId, DateTime valueDate, int storeId, string partyCode, int priceTypeId, string referenceNumber, string statementReference, MixERP.Net.Entities.Transactions.StockDetailType[] details, MixERP.Net.Entities.Core.AttachmentType[] attachments)
 {
     this.TransactionMasterId = transactionMasterId;
     this.OfficeId = officeId;
     this.UserId = userId;
     this.LoginId = loginId;
     this.ValueDate = valueDate;
     this.StoreId = storeId;
     this.PartyCode = partyCode;
     this.PriceTypeId = priceTypeId;
     this.ReferenceNumber = referenceNumber;
     this.StatementReference = statementReference;
     this.Details = details;
     this.Attachments = attachments;
 }
开发者ID:carlosern,项目名称:mixerp,代码行数:30,代码来源:PostSalesReturnProcedure.cs


示例8: PostPurchaseProcedure

 /// <summary>
 /// Prepares, validates, and executes the function "transactions.post_purchase(_book_name character varying, _office_id integer, _user_id integer, _login_id bigint, _value_date date, _cost_center_id integer, _reference_number character varying, _statement_reference text, _is_credit boolean, _party_code character varying, _price_type_id integer, _shipper_id integer, _store_id integer, _tran_ids bigint[], _details transactions.stock_detail_type[], _attachments core.attachment_type[])" on the database.
 /// </summary>
 /// <param name="bookName">Enter argument value for "_book_name" parameter of the function "transactions.post_purchase".</param>
 /// <param name="officeId">Enter argument value for "_office_id" parameter of the function "transactions.post_purchase".</param>
 /// <param name="userId">Enter argument value for "_user_id" parameter of the function "transactions.post_purchase".</param>
 /// <param name="loginIdParameter">Enter argument value for "_login_id" parameter of the function "transactions.post_purchase".</param>
 /// <param name="valueDate">Enter argument value for "_value_date" parameter of the function "transactions.post_purchase".</param>
 /// <param name="costCenterId">Enter argument value for "_cost_center_id" parameter of the function "transactions.post_purchase".</param>
 /// <param name="referenceNumber">Enter argument value for "_reference_number" parameter of the function "transactions.post_purchase".</param>
 /// <param name="statementReference">Enter argument value for "_statement_reference" parameter of the function "transactions.post_purchase".</param>
 /// <param name="isCredit">Enter argument value for "_is_credit" parameter of the function "transactions.post_purchase".</param>
 /// <param name="partyCode">Enter argument value for "_party_code" parameter of the function "transactions.post_purchase".</param>
 /// <param name="priceTypeId">Enter argument value for "_price_type_id" parameter of the function "transactions.post_purchase".</param>
 /// <param name="shipperId">Enter argument value for "_shipper_id" parameter of the function "transactions.post_purchase".</param>
 /// <param name="storeId">Enter argument value for "_store_id" parameter of the function "transactions.post_purchase".</param>
 /// <param name="tranIds">Enter argument value for "_tran_ids" parameter of the function "transactions.post_purchase".</param>
 /// <param name="details">Enter argument value for "_details" parameter of the function "transactions.post_purchase".</param>
 /// <param name="attachments">Enter argument value for "_attachments" parameter of the function "transactions.post_purchase".</param>
 public PostPurchaseProcedure(string bookName,int officeId,int userId,long loginIdParameter,DateTime valueDate,int costCenterId,string referenceNumber,string statementReference,bool isCredit,string partyCode,int priceTypeId,int shipperId,int storeId,long[] tranIds,MixERP.Net.Entities.Transactions.StockDetailType[][] details,MixERP.Net.Entities.Core.AttachmentType[][] attachments)
 {
     this.BookName = bookName;
     this.OfficeId = officeId;
     this.UserId = userId;
     this.LoginIdParameter = loginIdParameter;
     this.ValueDate = valueDate;
     this.CostCenterId = costCenterId;
     this.ReferenceNumber = referenceNumber;
     this.StatementReference = statementReference;
     this.IsCredit = isCredit;
     this.PartyCode = partyCode;
     this.PriceTypeId = priceTypeId;
     this.ShipperId = shipperId;
     this.StoreId = storeId;
     this.TranIds = tranIds;
     this.Details = details;
     this.Attachments = attachments;
 }
开发者ID:ThiagoScar,项目名称:mixerp,代码行数:38,代码来源:PostPurchaseProcedure.cs


示例9: Add

        public void Add(MixERP.Net.Entities.Core.ItemCostPrice itemCostPrice)
        {
            if (itemCostPrice == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.ItemCostPriceContext.Add(itemCostPrice);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Forbidden));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:MarsShaw,项目名称:mixerp,代码行数:20,代码来源:ItemCostPriceController.cs


示例10: Add

        public void Add(MixERP.Net.Entities.Policy.ApiAccessPolicy apiAccessPolicy)
        {
            if (apiAccessPolicy == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.ApiAccessPolicyContext.Add(apiAccessPolicy);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Unauthorized));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:ThiagoScar,项目名称:mixerp,代码行数:20,代码来源:ApiAccessPolicyController.cs


示例11: Add

        public void Add(MixERP.Net.Entities.Transactions.InventoryTransferRequestDetail inventoryTransferRequestDetail)
        {
            if (inventoryTransferRequestDetail == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.InventoryTransferRequestDetailContext.Add(inventoryTransferRequestDetail);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Forbidden));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:smartleos,项目名称:mixerp,代码行数:20,代码来源:InventoryTransferRequestDetailController.cs


示例12: Add

        public void Add(MixERP.Net.Entities.Core.CompoundUnit compoundUnit)
        {
            if (compoundUnit == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.CompoundUnitContext.Add(compoundUnit);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Forbidden));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:MarsShaw,项目名称:mixerp,代码行数:20,代码来源:CompoundUnitController.cs


示例13: Add

        public void Add(MixERP.Net.Entities.Config.DbParameter dbParameter)
        {
            if (dbParameter == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.DbParameterContext.Add(dbParameter);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Forbidden));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:smartleos,项目名称:mixerp,代码行数:20,代码来源:DbParameterController.cs


示例14: Add

        public void Add(MixERP.Net.Entities.Audit.LoggedAction loggedAction)
        {
            if (loggedAction == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.LoggedActionContext.Add(loggedAction);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Forbidden));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:MarsShaw,项目名称:mixerp,代码行数:20,代码来源:LoggedActionController.cs


示例15: Add

        public void Add(MixERP.Net.Entities.Core.BonusSlabDetail bonusSlabDetail)
        {
            if (bonusSlabDetail == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.BonusSlabDetailContext.Add(bonusSlabDetail);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Forbidden));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:ThiagoScar,项目名称:mixerp,代码行数:20,代码来源:BonusSlabDetailController.cs


示例16: Add

        public void Add(MixERP.Net.Entities.Transactions.NonGlStockMasterRelation nonGlStockMasterRelation)
        {
            if (nonGlStockMasterRelation == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.NonGlStockMasterRelationContext.Add(nonGlStockMasterRelation);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Forbidden));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:MarsShaw,项目名称:mixerp,代码行数:20,代码来源:NonGlStockMasterRelationController.cs


示例17: PostNonGlTransactionProcedure

 /// <summary>
 /// Prepares, validates, and executes the function "transactions.post_non_gl_transaction(_book_name character varying, _office_id integer, _user_id integer, _login_id bigint, _value_date date, _reference_number character varying, _statement_reference text, _party_code character varying, _price_type_id integer, _is_non_taxable_sales boolean, _salesperson_id integer, _shipper_id integer, _shipping_address_code character varying, _store_id integer, _tran_ids bigint[], _details transactions.stock_detail_type[], _attachments core.attachment_type[])" on the database.
 /// </summary>
 /// <param name="bookName">Enter argument value for "_book_name" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="officeId">Enter argument value for "_office_id" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="userId">Enter argument value for "_user_id" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="loginIdParameter">Enter argument value for "_login_id" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="valueDate">Enter argument value for "_value_date" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="referenceNumber">Enter argument value for "_reference_number" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="statementReference">Enter argument value for "_statement_reference" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="partyCode">Enter argument value for "_party_code" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="priceTypeId">Enter argument value for "_price_type_id" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="isNonTaxableSales">Enter argument value for "_is_non_taxable_sales" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="salespersonId">Enter argument value for "_salesperson_id" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="shipperId">Enter argument value for "_shipper_id" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="shippingAddressCode">Enter argument value for "_shipping_address_code" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="storeId">Enter argument value for "_store_id" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="tranIds">Enter argument value for "_tran_ids" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="details">Enter argument value for "_details" parameter of the function "transactions.post_non_gl_transaction".</param>
 /// <param name="attachments">Enter argument value for "_attachments" parameter of the function "transactions.post_non_gl_transaction".</param>
 public PostNonGlTransactionProcedure(string bookName, int officeId, int userId, long loginIdParameter, DateTime valueDate, string referenceNumber, string statementReference, string partyCode, int priceTypeId, bool isNonTaxableSales, int salespersonId, int shipperId, string shippingAddressCode, int storeId, long[] tranIds, MixERP.Net.Entities.Transactions.StockDetailType[][] details, MixERP.Net.Entities.Core.AttachmentType[][] attachments)
 {
     this.BookName = bookName;
     this.OfficeId = officeId;
     this.UserId = userId;
     this.LoginIdParameter = loginIdParameter;
     this.ValueDate = valueDate;
     this.ReferenceNumber = referenceNumber;
     this.StatementReference = statementReference;
     this.PartyCode = partyCode;
     this.PriceTypeId = priceTypeId;
     this.IsNonTaxableSales = isNonTaxableSales;
     this.SalespersonId = salespersonId;
     this.ShipperId = shipperId;
     this.ShippingAddressCode = shippingAddressCode;
     this.StoreId = storeId;
     this.TranIds = tranIds;
     this.Details = details;
     this.Attachments = attachments;
 }
开发者ID:smartleos,项目名称:mixerp,代码行数:40,代码来源:PostNonGlTransactionProcedure.cs


示例18: Add

        public void Add(MixERP.Net.Entities.Config.Smtp smtp)
        {
            if (smtp == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.SmtpContext.Add(smtp);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Unauthorized));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:ThiagoScar,项目名称:mixerp,代码行数:20,代码来源:SmtpController.cs


示例19: Add

        public void Add(MixERP.Net.Entities.Transactions.CustomerReceipt customerReceipt)
        {
            if (customerReceipt == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.CustomerReceiptContext.Add(customerReceipt);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Unauthorized));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:ThiagoScar,项目名称:mixerp,代码行数:20,代码来源:CustomerReceiptController.cs


示例20: Add

        public void Add(MixERP.Net.Entities.Config.AttachmentFactory attachmentFactory)
        {
            if (attachmentFactory == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.MethodNotAllowed));
            }

            try
            {
                this.AttachmentFactoryContext.Add(attachmentFactory);
            }
            catch (UnauthorizedException)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.Unauthorized));
            }
            catch
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }
        }
开发者ID:ThiagoScar,项目名称:mixerp,代码行数:20,代码来源:AttachmentFactoryController.cs



注:本文中的MixERP类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# MlkBiCgStab类代码示例发布时间:2022-05-24
下一篇:
C# Mission类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap