Amount
Namespace: CCPEntities
Summary
General amount entity, used to store amount VAT-included or VAT-excludedSyncable
This object is syncableProperties
| Name | Type | FixedLength | MaxLength/Range | Identity | Summary | Value | |
|---|---|---|---|---|---|---|---|
|
|
AmountId* | Edm.Int32 | False | true | |||
| BaseAmount* | Edm.Decimal | False | |||||
| AmountExVat* | Edm.Decimal | False |
The amount VAT-exclusive (without the DiscountPercentage) If IsExVat = false: AmountExVat = BaseAmount / (100% + VatPercentage) If IsExVat = true : AmountExVat = BaseAmount (Automatically computed) |
||||
| AmountIncVat* | Edm.Decimal | False |
The amount VAT-inclusive (without the DiscountPercentage) If IsExVat = false : AmountIncVat = BaseAmount If IsExVat = true : AmountIncVat = BaseAmount * (100% + VatPercentage) (Automatically computed) |
||||
| VatPercentage | Edm.Decimal | False | The VAT-percentage | ||||
| DiscountPercentage* | Edm.Decimal | False | A possible DiscountPercentage, which affects only the AmountAfterDiscount | ||||
| AmountAfterDiscount* | Edm.Decimal | False |
The amount after applying the DiscountPercentage: AmountAfterDiscount = BaseAmount * (100% + DiscountPercentage) (Automatically computed, independent of VAT-calculations) |
||||
| IsExVat* | Edm.Boolean | False | Used to specify if BaseAmount is VAT-included (false) or VAT-excluded (true) | ||||
| CommissionAmount | Edm.Decimal | False | |||||
| AmountTypeName | AmountType | False | Specifies who is responsible for the payment of the amount. | ||||
| Deleted* | Edm.Boolean | False | |||||
| LastUpdated | Edm.DateTime | False | |||||
| TripId | Edm.Int32 | False | |||||
| MovementId | Edm.Int32 | False | |||||
| BookingId | Edm.Int32 | False |
Navigation Properties
| Name | Type | Multiplicity | Summary | |
|---|---|---|---|---|
| Booking | Booking | 0..1 | ||
| Movement | Movement | * | ||
| Trip | Trip | * |
Additional Information
Notable information when adding a recordChecks if the user has sufficient rights to add/change/delete an amount and performs the desired operation.