MARINA
MasSystem Class Reference
Inheritance diagram for MasSystem:
Inheritance graph

Static Public Member Functions

_.Library.Status InvoiceForAddressLog (_.Library.String addresslogid, _.Library.String invoiceid)
 5/2/2003 D & R request More...
 
_.Library.Integer Lock (_.Library.String ClassName, _.Library.String ID, _.Library.String Type, _.Library.Integer timeout)
 Lock/Unlock objects using ^lock(classname,rowid) More...
 
_.Library.Integer ServiceInvoices (_.Library.Float threshold, _.Library.String termsOfPayment, _.Library.String username, _.Library.String areaid1, _.Library.Date invoiceDate, _.Library.String contractStatus)
 5/1/2003 - D & R request More...
 

Public Attributes

 Revision
   More...
 
 ViewContractsCancelled
   More...
 
 ViewContractsConfirmed
   More...
 
 ViewContractsCurrent
   More...
 
 ViewContractsFuture
   More...
 
 ViewContractsPrevious
   More...
 
 ViewMooringsActual
   More...
 
 ViewMooringsContracted
   More...
 
 ViewMooringsTemporary
   More...
 

Detailed Description

Deltanji status:

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

Member Function Documentation

◆ InvoiceForAddressLog()

_.Library.Status InvoiceForAddressLog ( _.Library.String  addresslogid,
_.Library.String  invoiceid 
)
static

5/2/2003 D & R request

Called from MasSystem.ServiceInvoices

Create an invoice for the outstanding balance on the addresslog record passed to this function.

Following the creation of an invoice a new AddressLog record is created with a zero balance and a LogType 
of virtual, this indicates it is not a real meter reading.

◆ Lock()

_.Library.Integer Lock ( _.Library.String  ClassName,
_.Library.String  ID,
_.Library.String  Type,
_.Library.Integer  timeout 
)
static

Lock/Unlock objects using ^lock(classname,rowid)

Type is 0 (unlock), 1 Lock

◆ ServiceInvoices()

_.Library.Integer ServiceInvoices ( _.Library.Float  threshold,
_.Library.String  termsOfPayment,
_.Library.String  username,
_.Library.String  areaid1,
_.Library.Date  invoiceDate,
_.Library.String  contractStatus 
)
static

5/1/2003 - D & R request

Create Invoices for services used based on the outstanding credit on AddressLog records. Only create invoices for those records where the net balance exceeds the threshold selected.

Only select records where the contract is still current This invoice run will set the outstanding balance to zero for those records where an invoice is created.

Return value is the total number of invoices created.

Member Data Documentation

◆ Revision

Revision

 

 

◆ ViewContractsCancelled

ViewContractsCancelled

 

 

◆ ViewContractsConfirmed

ViewContractsConfirmed

 

 

◆ ViewContractsCurrent

ViewContractsCurrent

 

 

◆ ViewContractsFuture

ViewContractsFuture

 

 

◆ ViewContractsPrevious

ViewContractsPrevious

 

 

◆ ViewMooringsActual

ViewMooringsActual

 

 

◆ ViewMooringsContracted

ViewMooringsContracted

 

 

◆ ViewMooringsTemporary

ViewMooringsTemporary