MARINA
AddressLog Class Reference

Log of bollard meter readings Service Routine shmmas450. More...

Inheritance diagram for AddressLog:
Inheritance graph

Public Member Functions

_.Library.Float IntegerIDGet ()
 For VB report collation on date.
 
_.Library.Boolean IsPreviousReal ()
 Is there a previous real reading for this contract.
 
- Public Member Functions inherited from AuditHistory
_.Library.Status OnBeforeSave (_.Library.Boolean insert)
 If this method is overridden then you must call ..UpdateAudit() yourself.
 

Static Public Member Functions

_.Library.String LastLogForContractThreshold (_.Library.String contractid, _.Library.String threshold)
 Get the last AddressLog record ID for the contract.
 
 VirtualLog (_.Library.String addresslogid, _.Library.String invoiceid, _.Library.String readingtype)
 Create a new address log to reflect the balance after a payment has made.
 
_.Library.Status VirtualStartLog (_.Library.String invoiceid)
 Following the creation of a prepayment for services, if there is no existing AddressLog then make a start. More...
 

Public Attributes

 Address
   More...
 
 ApplicableVat
   More...
 
 ApplicableVatID
   More...
 
 BalanceDueGross
   More...
 
 BalanceDueNet
   More...
 
 ChargeType
   More...
 
 ChargeTypeID
   More...
 
 ChargeValue
   More...
 
 ChargeValueNet
   More...
 
 Contract
 The licensee using power when this reading was taken. More...
 
 DateTimeStamp
   More...
 
 IntegerID
   More...
 
 Invoice
   More...
 
 LogDate
   More...
 
 LogText
   More...
 
 LogTime
   More...
 
 LogType
 The type of reading. More...
 
 MeterReading
   More...
 
 Mooring
   More...
 
 PollStatus
   More...
 
 PricePerPulse
   More...
 
 PricePerPulseNet
   More...
 
 RawData
   More...
 
 ReadingType
 S,E,N. More...
 
 Revision
   More...
 
 Service
   More...
 
 ServiceEndDate
   More...
 
 ServiceNumber
   More...
 
 ServiceStartDate
   More...
 
 Settled
   More...
 
 Used
 The number of units used since the last record. More...
 
- Public Attributes inherited from AuditHistory
 creationDateTime
   More...
 
 creationUserId
   More...
 
 lastChangedDateTime
   More...
 
 lastChangedUserId
   More...
 
 version
   More...
 

Detailed Description

Log of bollard meter readings Service Routine shmmas450.

Deltanji status:

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

Member Function Documentation

◆ VirtualStartLog()

_.Library.Status VirtualStartLog ( _.Library.String  invoiceid)
static

Following the creation of a prepayment for services, if there is no existing AddressLog then make a start.

record. Initially set the MeterReading to 0, but when the first Real reding is got do not count the difference between 0 and the new reading as used units, start from the new reading.

Member Data Documentation

◆ Address

 

 

◆ ApplicableVat

ApplicableVat

 

 

◆ ApplicableVatID

ApplicableVatID

 

 

◆ BalanceDueGross

BalanceDueGross

 

 

◆ BalanceDueNet

BalanceDueNet

 

 

◆ ChargeType

 

 

◆ ChargeTypeID

ChargeTypeID

 

 

◆ ChargeValue

ChargeValue

 

 

◆ ChargeValueNet

ChargeValueNet

 

 

◆ Contract

The licensee using power when this reading was taken.

 

◆ DateTimeStamp

DateTimeStamp

 

 

◆ IntegerID

IntegerID

 

 

◆ Invoice

 

 

◆ LogDate

LogDate

 

 

◆ LogText

LogText

 

 

◆ LogTime

LogTime

 

 

◆ LogType

LogType

The type of reading.

When the meter reading is read then create a Real reading.

When an Invoice is raised by hand against Real readings then automatically create a Virtual reading to hold the balance due after the invoice has been paid.

when the invoices are raised by the batch job then the balance is paid in full. The new AddressLog entry is a Real Final entry.

Real Virtual  

◆ MeterReading

MeterReading

 

 

◆ Mooring

 

 

◆ PollStatus

PollStatus

 

 

◆ PricePerPulse

PricePerPulse

 

 

◆ PricePerPulseNet

PricePerPulseNet

 

 

◆ RawData

RawData

 

 

◆ ReadingType

ReadingType

S,E,N.

S Start E End N normal

When calculating how much the licensee owes

go back to the last S - type reading after an E type reading the licensee will pay up what is due then there must be another S type reading before the licensee can be charged again
 

◆ Revision

Revision

 

 

◆ Service

 

 

◆ ServiceEndDate

ServiceEndDate

 

 

◆ ServiceNumber

ServiceNumber

 

 

◆ ServiceStartDate

ServiceStartDate

 

 

◆ Settled

Settled

 

 

◆ Used

Used

The number of units used since the last record.