partial void OnRetailTransactionAuditableChanging(global::Microsoft.Dynamics.DataEntities.RetailTransactionAuditable value);
public static RetailTransactionAuditablePaymentLine CreateRetailTransactionAuditablePaymentLine(string dataAreaId, string operatingUnitNumber, string storeNumber, string registerNumber, string transactionId, decimal lineNumber, decimal exchangeRate, decimal amountInTransactionCurrency, global::System.DateTimeOffset transactionDate, decimal amountTendered, global::System.DateTimeOffset businessDate, decimal amount, int transactionTime, global::Microsoft.Dynamics.DataEntities.RetailTransactionAuditable retailTransactionAuditable) { RetailTransactionAuditablePaymentLine retailTransactionAuditablePaymentLine = new RetailTransactionAuditablePaymentLine(); retailTransactionAuditablePaymentLine.dataAreaId = dataAreaId; retailTransactionAuditablePaymentLine.OperatingUnitNumber = operatingUnitNumber; retailTransactionAuditablePaymentLine.StoreNumber = storeNumber; retailTransactionAuditablePaymentLine.RegisterNumber = registerNumber; retailTransactionAuditablePaymentLine.TransactionId = transactionId; retailTransactionAuditablePaymentLine.LineNumber = lineNumber; retailTransactionAuditablePaymentLine.ExchangeRate = exchangeRate; retailTransactionAuditablePaymentLine.AmountInTransactionCurrency = amountInTransactionCurrency; retailTransactionAuditablePaymentLine.TransactionDate = transactionDate; retailTransactionAuditablePaymentLine.AmountTendered = amountTendered; retailTransactionAuditablePaymentLine.BusinessDate = businessDate; retailTransactionAuditablePaymentLine.Amount = amount; retailTransactionAuditablePaymentLine.TransactionTime = transactionTime; if ((retailTransactionAuditable == null)) { throw new global::System.ArgumentNullException("retailTransactionAuditable"); } retailTransactionAuditablePaymentLine.RetailTransactionAuditable = retailTransactionAuditable; return(retailTransactionAuditablePaymentLine); }
public static RetailTransactionAuditableDiscountLine CreateRetailTransactionAuditableDiscountLine(string dataAreaId, string operatingUnitNumber, string storeNumber, string registerNumber, string transactionId, decimal salesLineNumber, decimal lineNumber, decimal discountAmount, decimal discountCost, decimal percentage, int bundleId, decimal amount, decimal dealPrice, global::Microsoft.Dynamics.DataEntities.RetailTransactionAuditableSalesLine retailTransactionAuditableSalesLine, global::Microsoft.Dynamics.DataEntities.RetailTransactionAuditable retailTransactionAuditable) { RetailTransactionAuditableDiscountLine retailTransactionAuditableDiscountLine = new RetailTransactionAuditableDiscountLine(); retailTransactionAuditableDiscountLine.dataAreaId = dataAreaId; retailTransactionAuditableDiscountLine.OperatingUnitNumber = operatingUnitNumber; retailTransactionAuditableDiscountLine.StoreNumber = storeNumber; retailTransactionAuditableDiscountLine.RegisterNumber = registerNumber; retailTransactionAuditableDiscountLine.TransactionId = transactionId; retailTransactionAuditableDiscountLine.SalesLineNumber = salesLineNumber; retailTransactionAuditableDiscountLine.LineNumber = lineNumber; retailTransactionAuditableDiscountLine.DiscountAmount = discountAmount; retailTransactionAuditableDiscountLine.DiscountCost = discountCost; retailTransactionAuditableDiscountLine.Percentage = percentage; retailTransactionAuditableDiscountLine.BundleId = bundleId; retailTransactionAuditableDiscountLine.Amount = amount; retailTransactionAuditableDiscountLine.DealPrice = dealPrice; if ((retailTransactionAuditableSalesLine == null)) { throw new global::System.ArgumentNullException("retailTransactionAuditableSalesLine"); } retailTransactionAuditableDiscountLine.RetailTransactionAuditableSalesLine = retailTransactionAuditableSalesLine; if ((retailTransactionAuditable == null)) { throw new global::System.ArgumentNullException("retailTransactionAuditable"); } retailTransactionAuditableDiscountLine.RetailTransactionAuditable = retailTransactionAuditable; return(retailTransactionAuditableDiscountLine); }
public static RetailTransactionAuditableChargeLine CreateRetailTransactionAuditableChargeLine(string dataAreaId, string operatingUnitNumber, string storeNumber, string registerNumber, string transactionId, decimal salesLineNumber, decimal lineNumber, decimal salesTaxAmount, decimal exclusiveTaxAmount, decimal inclusiveTaxAmount, decimal taxExemptPriceInclusiveReductionAmount, decimal calculatedAmount, decimal taxExemptPriceInclusiveOriginalPrice, decimal chargesValue, global::Microsoft.Dynamics.DataEntities.RetailTransactionAuditableSalesLine retailTransactionAuditableSalesLine, global::Microsoft.Dynamics.DataEntities.RetailTransactionAuditable retailTransactionAuditable) { RetailTransactionAuditableChargeLine retailTransactionAuditableChargeLine = new RetailTransactionAuditableChargeLine(); retailTransactionAuditableChargeLine.dataAreaId = dataAreaId; retailTransactionAuditableChargeLine.OperatingUnitNumber = operatingUnitNumber; retailTransactionAuditableChargeLine.StoreNumber = storeNumber; retailTransactionAuditableChargeLine.RegisterNumber = registerNumber; retailTransactionAuditableChargeLine.TransactionId = transactionId; retailTransactionAuditableChargeLine.SalesLineNumber = salesLineNumber; retailTransactionAuditableChargeLine.LineNumber = lineNumber; retailTransactionAuditableChargeLine.SalesTaxAmount = salesTaxAmount; retailTransactionAuditableChargeLine.ExclusiveTaxAmount = exclusiveTaxAmount; retailTransactionAuditableChargeLine.InclusiveTaxAmount = inclusiveTaxAmount; retailTransactionAuditableChargeLine.TaxExemptPriceInclusiveReductionAmount = taxExemptPriceInclusiveReductionAmount; retailTransactionAuditableChargeLine.CalculatedAmount = calculatedAmount; retailTransactionAuditableChargeLine.TaxExemptPriceInclusiveOriginalPrice = taxExemptPriceInclusiveOriginalPrice; retailTransactionAuditableChargeLine.ChargesValue = chargesValue; if ((retailTransactionAuditableSalesLine == null)) { throw new global::System.ArgumentNullException("retailTransactionAuditableSalesLine"); } retailTransactionAuditableChargeLine.RetailTransactionAuditableSalesLine = retailTransactionAuditableSalesLine; if ((retailTransactionAuditable == null)) { throw new global::System.ArgumentNullException("retailTransactionAuditable"); } retailTransactionAuditableChargeLine.RetailTransactionAuditable = retailTransactionAuditable; return(retailTransactionAuditableChargeLine); }
public static RetailTransactionAuditableTaxLine CreateRetailTransactionAuditableTaxLine(string dataAreaId, string operatingUnitNumber, string registerNumber, string storeNumber, string transactionId, decimal salesLineNumber, string taxCode, decimal taxPercentage, decimal amount, global::Microsoft.Dynamics.DataEntities.RetailTransactionAuditableSalesLine retailTransactionAuditableSalesLine, global::Microsoft.Dynamics.DataEntities.RetailTransactionAuditable retailTransactionAuditable) { RetailTransactionAuditableTaxLine retailTransactionAuditableTaxLine = new RetailTransactionAuditableTaxLine(); retailTransactionAuditableTaxLine.dataAreaId = dataAreaId; retailTransactionAuditableTaxLine.OperatingUnitNumber = operatingUnitNumber; retailTransactionAuditableTaxLine.RegisterNumber = registerNumber; retailTransactionAuditableTaxLine.StoreNumber = storeNumber; retailTransactionAuditableTaxLine.TransactionId = transactionId; retailTransactionAuditableTaxLine.SalesLineNumber = salesLineNumber; retailTransactionAuditableTaxLine.TaxCode = taxCode; retailTransactionAuditableTaxLine.TaxPercentage = taxPercentage; retailTransactionAuditableTaxLine.Amount = amount; if ((retailTransactionAuditableSalesLine == null)) { throw new global::System.ArgumentNullException("retailTransactionAuditableSalesLine"); } retailTransactionAuditableTaxLine.RetailTransactionAuditableSalesLine = retailTransactionAuditableSalesLine; if ((retailTransactionAuditable == null)) { throw new global::System.ArgumentNullException("retailTransactionAuditable"); } retailTransactionAuditableTaxLine.RetailTransactionAuditable = retailTransactionAuditable; return(retailTransactionAuditableTaxLine); }