Class TransactionItemValue
Items which cares about values
Inheritance
System.Object
TransactionItemValue
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.ERP.Core
Assembly: Simplic.ERP.Core.dll
Syntax
public abstract class TransactionItemValue : TransactionItem
Constructors
| Improve this Doc View SourceTransactionItemValue()
Initialize item
Declaration
public TransactionItemValue()
Properties
| Improve this Doc View SourceCalculatedValue
Gets the calculated value using total + surcharge - discount
Declaration
public PreciseDecimal CalculatedValue { get; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
CalculatedValueTax
Gets the calculated value tax
Declaration
public virtual PreciseDecimal CalculatedValueTax { get; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
Discount
Gets or sets the discount
Declaration
public PreciseDecimal Discount { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
IsCashDiscountable
Gets or sets whether a cash discount is allowed
Declaration
public bool IsCashDiscountable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsValueOnlyArticle
Gets or sets whether this is a value-only article or not
Declaration
public bool IsValueOnlyArticle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SignedCalculatedValue
Gets signed caclulated value
Declaration
public PreciseDecimal SignedCalculatedValue { get; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
SignedCalculatedValueTax
Gets signed caclulated value tax
Declaration
public PreciseDecimal SignedCalculatedValueTax { get; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
SignedSingleValue
Gets signed single value
Declaration
public PreciseDecimal SignedSingleValue { get; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
SignedSingleValueTax
Gets signed single value tax
Declaration
public PreciseDecimal SignedSingleValueTax { get; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
SignedTotalValue
Gets signed total value
Declaration
public PreciseDecimal SignedTotalValue { get; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
SignedTotalValueTax
Gets signed total value tax
Declaration
public PreciseDecimal SignedTotalValueTax { get; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
SingleValue
Gets or sets the single value
Declaration
public virtual PreciseDecimal SingleValue { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
SingleValueTax
Gets or sets the single value tax
Declaration
public virtual PreciseDecimal SingleValueTax { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
Surcharge
Gets or sets the current surcharge
Declaration
public PreciseDecimal Surcharge { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
TaxRate
Gets or sets the tax type
Declaration
public TaxRate TaxRate { get; set; }
Property Value
Type | Description |
---|---|
TaxRate |
TaxTypeId
Gets or sets the tax type id
Declaration
public Guid? TaxTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
TotalValue
Gets or sets the total value
Declaration
public virtual PreciseDecimal TotalValue { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
TotalValueTax
Gets or sets the total value tax
Declaration
public virtual PreciseDecimal TotalValueTax { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
Methods
| Improve this Doc View SourceCopyTo(TransactionItem)
Declaration
public override void CopyTo(TransactionItem target)
Parameters
Type | Name | Description |
---|---|---|
TransactionItem | target |