MARINA
ContractCharge Class Reference

Service routine is smmas180.mac
. More...

Inheritance diagram for ContractCharge:
Inheritance graph

Public Member Functions

_.Library.Float ApplicableAmountInclVatGet ()
 Method name length limit means we can't call it ..Calculate.
 
_.Library.String GetServiceStatus ()
 Find whether the service for this contract charge is switched on on off.
 
_.Library.Status UpdateReadings (_.Library.String S)
 Update readings from Bollards... More...
 

Static Public Member Functions

_.Library.Integer GetAddressAndService (_.Library.String contractid, _.Library.String addresses, _.Library.String services)
 return all address for in use by contract charges for the contract
 
_.Library.Integer SetAddress (_.Library.String serviceid, _.Library.Integer address, _.Library.String contractid, _.Library.String on)
 set the address for the selected service for the contract charge
 

Public Attributes

 AccruedApplicableAmount
   More...
 
 AccruedCharge
 The total amount owed for the accrued usage. More...
 
 AccruedReading
   More...
 
 Address
 ' Keep track off which mooring/address we're talking to More...
 
 AggregateChargeValue
   More...
 
 AggregateChargeValueValue
   More...
 
 Amount
   More...
 
 AmountOrPercent
   More...
 
 ApplicableAmount
 Use in invoices to find the unit price. More...
 
 ApplicableAmountInclVat
   More...
 
 ApplicableAmountInclVatValue
   More...
 
 ApplicableAmountValue
   More...
 
 ApplicableChargeType
   More...
 
 ApplicableChargeTypeHandle
   More...
 
 ApplicableDescription
   More...
 
 ApplicableDescriptionValue
   More...
 
 ApplicableShortDescription
   More...
 
 ApplicableShortDescriptionValue
   More...
 
 Billable
   More...
 
 BillableApplicableAmount
   More...
 
 BillableCharge
 The cost of the oustanding billable units. More...
 
 BillableUnits
   More...
 
 ChargeType
   More...
 
 ChargeTypeDescription
   More...
 
 ChargeTypeDescriptionValue
   More...
 
 ChargeValue
 This is a value which is set to override the chargetypevalue. More...
 
 ChargeValueDescription
   More...
 
 ChargeValueDescriptionValue
   More...
 
 Contract
   More...
 
 Deleted
 Used to indicate that in-memory instance has been deleted. More...
 
 Description
   More...
 
 EffectiveChargeTypeValueId
   More...
 
 EffectiveLength
   More...
 
 EffectiveLengthValue
   More...
 
 LastUpdated
   More...
 
 LastUpdatedTime
   More...
 
 MeterReading
   More...
 
 Modified
   More...
 
 Percentage
   More...
 
 PhasedApplicableAmount
   More...
 
 PhasedApplicableAmountValue
   More...
 
 PreviousReading
   More...
 
 PricePerPulse
   More...
 
 PricePerPulseInclVat
   More...
 
 PricePerPulseInclVatValue
   More...
 
 PricePerPulseValue
   More...
 
 Revision
   More...
 
 Type
 ="Service" Or "Mooring" More...
 
 UnitPrice
   More...
 
 UnitPriceValue
   More...
 
 ValuesLocked
   More...
 
 Vat
   More...
 
 VatAmount
   More...
 
 VatCode
   More...
 
 VatCodeValue
   More...
 
 VatRate
   More...
 
 VatRateValue
   More...
 
 VatValue
 The ID value of the the applicable vat. More...
 

Detailed Description

Service routine is smmas180.mac
.

Deltanji status:

ObjectClearWater.ContractCharge.CLS/MARINA.0
ComponentCLS.ClearWater.ContractCharge
LocationMARINA.test2
Date/Time15-May-20 21:21
Userjohnm

Member Function Documentation

◆ UpdateReadings()

_.Library.Status UpdateReadings ( _.Library.String  S)

Update readings from Bollards...

Note: argument is an array of meter readings

Member Data Documentation

◆ AccruedApplicableAmount

AccruedApplicableAmount

 

 

◆ AccruedCharge

AccruedCharge

The total amount owed for the accrued usage.

 

◆ AccruedReading

AccruedReading

 

 

◆ Address

' Keep track off which mooring/address we're talking to

 

◆ AggregateChargeValue

AggregateChargeValue

 

 

◆ AggregateChargeValueValue

AggregateChargeValueValue

 

 

◆ Amount

Amount

 

 

◆ AmountOrPercent

AmountOrPercent

 

 

◆ ApplicableAmount

ApplicableAmount

Use in invoices to find the unit price.

( the invoice line will contain rounding down logic)

Do not use to find the contract total  

◆ ApplicableAmountInclVat

ApplicableAmountInclVat

 

 

◆ ApplicableAmountInclVatValue

ApplicableAmountInclVatValue

 

 

◆ ApplicableAmountValue

ApplicableAmountValue

 

 

◆ ApplicableChargeType

ApplicableChargeType

 

 

◆ ApplicableChargeTypeHandle

ApplicableChargeTypeHandle

 

 

◆ ApplicableDescription

ApplicableDescription

 

 

◆ ApplicableDescriptionValue

ApplicableDescriptionValue

 

 

◆ ApplicableShortDescription

ApplicableShortDescription

 

 

◆ ApplicableShortDescriptionValue

ApplicableShortDescriptionValue

 

 

◆ Billable

Billable

 

 

◆ BillableApplicableAmount

BillableApplicableAmount

 

 

◆ BillableCharge

BillableCharge

The cost of the oustanding billable units.

 

◆ BillableUnits

BillableUnits

 

 

◆ ChargeType

 

 

◆ ChargeTypeDescription

ChargeTypeDescription

 

 

◆ ChargeTypeDescriptionValue

ChargeTypeDescriptionValue

 

 

◆ ChargeValue

ChargeValue

This is a value which is set to override the chargetypevalue.

may represent an amount or a percentage  

◆ ChargeValueDescription

ChargeValueDescription

 

 

◆ ChargeValueDescriptionValue

ChargeValueDescriptionValue

 

 

◆ Contract

 

 

◆ Deleted

Deleted

Used to indicate that in-memory instance has been deleted.

 

◆ Description

Description

 

 

◆ EffectiveChargeTypeValueId

EffectiveChargeTypeValueId

 

 

◆ EffectiveLength

EffectiveLength

 

 

◆ EffectiveLengthValue

EffectiveLengthValue

 

 

◆ LastUpdated

LastUpdated

 

 

◆ LastUpdatedTime

LastUpdatedTime

 

 

◆ MeterReading

MeterReading

 

 

◆ Modified

Modified

 

 

◆ Percentage

Percentage

 

 

◆ PhasedApplicableAmount

PhasedApplicableAmount

 

 

◆ PhasedApplicableAmountValue

PhasedApplicableAmountValue

 

 

◆ PreviousReading

PreviousReading

 

 

◆ PricePerPulse

PricePerPulse

 

 

◆ PricePerPulseInclVat

PricePerPulseInclVat

 

 

◆ PricePerPulseInclVatValue

PricePerPulseInclVatValue

 

 

◆ PricePerPulseValue

PricePerPulseValue

 

 

◆ Revision

Revision

 

 

◆ Type

Type

="Service" Or "Mooring"

"Mooring" contract charges are upfront and include loyalty bonus renewal etc these appear in the Contract window on the main form

"Service" charges ie Water/Electricity are invoiced later  

◆ UnitPrice

UnitPrice

 

 

◆ UnitPriceValue

UnitPriceValue

 

 

◆ ValuesLocked

ValuesLocked

 

 

◆ Vat

Vat

 

 

◆ VatAmount

VatAmount

 

 

◆ VatCode

VatCode

 

 

◆ VatCodeValue

VatCodeValue

 

 

◆ VatRate

VatRate

 

 

◆ VatRateValue

VatRateValue

 

 

◆ VatValue

VatValue

The ID value of the the applicable vat.