Exemple #1
0
 public RECEIVABLE_SETTINGS(string City, string Province, string Country, string agingPeriod1, string agingPeriod2, string agingPeriod3, Nullable <bool> interestCharges, string interestPercent, string interestDays, TAX_CODE taxCodeForNewCustomers, Nullable <bool> printSalesperson, string statementDays, string discountPercent, string discountDays, string netDays, Nullable <bool> calculateEarlyPaymentDiscountsB4Tax, Nullable <bool> calculateLineItemDiscounts, string salesInvoiceComment, string salesOrderComment, string salesQuoteComment, ADDITIONAL_FIELD_NAMES AdditionalFields, GL_ACCOUNT principalBankAcct, GL_ACCOUNT arAcct, GL_ACCOUNT freightAcct, GL_ACCOUNT earlyPayDiscountAcct, GL_ACCOUNT depositsAcct, List <CURRENCY_ACCOUNT> CurrencyAccounts)
 {
     this.City                   = City;
     this.Province               = Province;
     this.Country                = Country;
     this.agingPeriod1           = agingPeriod1;
     this.agingPeriod2           = agingPeriod2;
     this.agingPeriod3           = agingPeriod3;
     this.interestCharges        = interestCharges;
     this.interestPercent        = interestPercent;
     this.interestDays           = interestDays;
     this.taxCodeForNewCustomers = taxCodeForNewCustomers;
     this.printSalesperson       = printSalesperson;
     this.statementDays          = statementDays;
     this.discountPercent        = discountPercent;
     this.discountDays           = discountDays;
     this.netDays                = netDays;
     this.calculateEarlyPaymentDiscountsB4Tax = calculateEarlyPaymentDiscountsB4Tax;
     this.calculateLineItemDiscounts          = calculateLineItemDiscounts;
     this.salesInvoiceComment = salesInvoiceComment;
     this.salesOrderComment   = salesOrderComment;
     this.salesQuoteComment   = salesQuoteComment;
     this.AdditionalFields    = AdditionalFields;
     this.principalBankAcct   = principalBankAcct;
     this.arAcct               = arAcct;
     this.freightAcct          = freightAcct;
     this.earlyPayDiscountAcct = earlyPayDiscountAcct;
     this.depositsAcct         = depositsAcct;
     this.CurrencyAccounts     = CurrencyAccounts;
 }
Exemple #2
0
 public PAYABLE_SETTINGS(string City, string Province, string Country, string agingPeriod1, string agingPeriod2, string agingPeriod3, Nullable <bool> calculateDiscountsBeforeTax, Nullable <bool> trackDutyOnImportedItems, GL_ACCOUNT importDutyAcct, ADDITIONAL_FIELD_NAMES AdditionalFields, GL_ACCOUNT principalBankAcct, GL_ACCOUNT apAcct, GL_ACCOUNT freightAcct, GL_ACCOUNT earlyPayDiscountAcct, GL_ACCOUNT prepaymentAcct, List <CURRENCY_ACCOUNT> CurrencyAccounts)
 {
     this.City         = City;
     this.Province     = Province;
     this.Country      = Country;
     this.agingPeriod1 = agingPeriod1;
     this.agingPeriod2 = agingPeriod2;
     this.agingPeriod3 = agingPeriod3;
     this.calculateDiscountsBeforeTax = calculateDiscountsBeforeTax;
     this.trackDutyOnImportedItems    = trackDutyOnImportedItems;
     this.importDutyAcct       = importDutyAcct;
     this.AdditionalFields     = AdditionalFields;
     this.principalBankAcct    = principalBankAcct;
     this.apAcct               = apAcct;
     this.freightAcct          = freightAcct;
     this.earlyPayDiscountAcct = earlyPayDiscountAcct;
     this.prepaymentAcct       = prepaymentAcct;
     this.CurrencyAccounts     = CurrencyAccounts;
 }
 public INVENTORY_SETTINGS(COSTING_METHOD inventoryCostingMethod, Nullable <bool> allowSerialNums, PROFIT_METHOD profitMethod, SORT_METHOD sortMethod, PRICE_METHOD priceMethod, Nullable <bool> allowInventoryLevelsToGoBelowZero, List <PRICE_LIST> PriceList, Nullable <bool> UseMultipleLocations, List <LOCATION> Locations, Nullable <bool> UseCategories, List <CATEGORY> Categories, ADDITIONAL_FIELD_NAMES AdditionalFields, GL_ACCOUNT itemAssemblyCosts, GL_ACCOUNT adjustmentWriteOff)
 {
     this.inventoryCostingMethod            = inventoryCostingMethod;
     this.allowSerialNums                   = allowSerialNums;
     this.profitMethod                      = profitMethod;
     this.sortMethod                        = sortMethod;
     this.priceMethod                       = priceMethod;
     this.allowInventoryLevelsToGoBelowZero = allowInventoryLevelsToGoBelowZero;
     this.PriceList            = PriceList;
     this.UseMultipleLocations = UseMultipleLocations;
     this.Locations            = Locations;
     this.UseCategories        = UseCategories;
     this.Categories           = Categories;
     this.AdditionalFields     = AdditionalFields;
     this.itemAssemblyCosts    = itemAssemblyCosts;
     this.adjustmentWriteOff   = adjustmentWriteOff;
 }
Exemple #4
0
 public GENERAL_SETTINGS(Nullable <bool> budgetRevAndExAccts, BUDGET_FREQUENCY budgetFrequency, GENERAL_NUMBERING Numbering, Nullable <bool> UseDepartmentalAcounting, List <DEPT_ACCT> DepartmentalAccounting, ADDITIONAL_FIELD_NAMES AdditionalFields, GL_ACCOUNT RetainedEarnings, Nullable <bool> RecordRetainedEarningsBalance)
 {
     this.budgetRevAndExAccts           = budgetRevAndExAccts;
     this.budgetFrequency               = budgetFrequency;
     this.Numbering                     = Numbering;
     this.UseDepartmentalAcounting      = UseDepartmentalAcounting;
     this.DepartmentalAccounting        = DepartmentalAccounting;
     this.AdditionalFields              = AdditionalFields;
     this.RetainedEarnings              = RetainedEarnings;
     this.RecordRetainedEarningsBalance = RecordRetainedEarningsBalance;
 }
 public GJ_ROW(GL_ACCOUNT Account, string debitAmt, string creditAmt)
 {
     this.Account   = Account;
     this.debitAmt  = debitAmt;
     this.creditAmt = creditAmt;
 }