MARINA
TransactionLine Class Reference
Inheritance diagram for TransactionLine:
Inheritance graph

Public Member Functions

_.Library.Status OnBeforeSave (_.Library.Boolean insert)
 If this method is overridden then you must call ..UpdateAudit() yourself.
 

Static Public Member Functions

_.Library.String GenerateText (ClearWater.ChargeType oChargeType, ClearWater.MooringCharge oMooringCharge, _.Library.Float unitprice, _.Library.Float quantity, _.Library.Float length, _.Library.Float beam, _.Library.String contractdays, _.Library.Date startdate, _.Library.Date enddate, _.Library.Float tariff, _.Library.Boolean specialRate, _.Library.String chargeCode)
 Generate the invoiceline description.
 

Public Attributes

 AllowUnitPriceEdit
   More...
 
 Amount
 Deprecated use LineAmountTotal. More...
 
 Balance
 The reamaining balance outstanding balance. More...
 
 BalanceNet
 Field used for D & R electricity. More...
 
 BoatBeam
   More...
 
 BoatLength
 Boat length at the time the invoice was created. More...
 
 CalculatedNominalCode
   More...
 
 CalculatedVatAmount
   More...
 
 ChargeCode
 code to enable the nominal code to be calculated for export to More...
 
 ChargeType
   More...
 
 DateTimeStamp
   More...
 
 DeleteMe
   More...
 
 EffectiveChargeTypeValueId
   More...
 
 EffectivePriceBandTariffId
   More...
 
 Gross
   More...
 
 GrossAmount
   More...
 
 Invoice
   More...
 
 LineAmountTotal
   More...
 
 LineDescription
   More...
 
 LineTotal
   More...
 
 LineType
 To indicate what the payment line is for. More...
 
 MooringCharge
   More...
 
 NominalAccount
   More...
 
 Notes
   More...
 
 Quantity
   More...
 
 Revision
   More...
 
 Service
   More...
 
 TotalCreditedForLineType
 For an invoice find the credited amounts so. More...
 
 TotalInvoicedForLineType
   More...
 
 UnitPrice
   More...
 
 UnitPriceDescription
   More...
 
 Vat
   More...
 
 VatAmount
 This value is used for setting the vat amount. More...
 
 VatCode
   More...
 
 VatRate
   More...
 
- Public Attributes inherited from AuditHistory
 creationDateTime
   More...
 
 creationUserId
   More...
 
 lastChangedDateTime
   More...
 
 lastChangedUserId
   More...
 
 version
   More...
 

Detailed Description

Deltanji status:

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

Member Data Documentation

◆ AllowUnitPriceEdit

AllowUnitPriceEdit

 

 

◆ Amount

Amount

Deprecated use LineAmountTotal.

 

◆ Balance

Balance

The reamaining balance outstanding balance.

(Field used for D & R Electric)  

◆ BalanceNet

BalanceNet

Field used for D & R electricity.

Outstanding Net balance due for services  

◆ BoatBeam

BoatBeam

 

 

◆ BoatLength

BoatLength

Boat length at the time the invoice was created.

 

◆ CalculatedNominalCode

CalculatedNominalCode

 

 

◆ CalculatedVatAmount

CalculatedVatAmount

 

 

◆ ChargeCode

code to enable the nominal code to be calculated for export to

an accounts package  

◆ ChargeType

 

 

◆ DateTimeStamp

DateTimeStamp

 

 

◆ DeleteMe

DeleteMe

 

 

◆ EffectiveChargeTypeValueId

EffectiveChargeTypeValueId

 

 

◆ EffectivePriceBandTariffId

EffectivePriceBandTariffId

 

 

◆ Gross

Gross

 

 

◆ GrossAmount

GrossAmount

 

 

◆ Invoice

 

 

◆ LineAmountTotal

LineAmountTotal

 

 

◆ LineDescription

LineDescription

 

 

◆ LineTotal

LineTotal

 

 

◆ LineType

LineType

To indicate what the payment line is for.

Service - Services - ie electricity  

◆ MooringCharge

◆ NominalAccount

NominalAccount

 

 

◆ Notes

Notes

 

 

◆ Quantity

Quantity

 

 

◆ Revision

Revision

 

 

◆ Service

 

 

◆ TotalCreditedForLineType

TotalCreditedForLineType

For an invoice find the credited amounts so.

that a line type can not be over credited

type is defined by the charge type or the mooringcharge type

sum all the amount credited for the line type

ie invoice 100

total credited for mooringfees = £1400 total credited for Electricity =£100 Total credited for 10% discount = £150  

◆ TotalInvoicedForLineType

TotalInvoicedForLineType

 

 

◆ UnitPrice

UnitPrice

 

 

◆ UnitPriceDescription

UnitPriceDescription

 

 

◆ Vat

Vat

 

 

◆ VatAmount

VatAmount

This value is used for setting the vat amount.

it should not be read - but the calculatedvat amount should be read

if the vatamount is set it will override the otherwise calculatedvat amount but to make sure qe only look it one place CalculatedVat **** MUST**** be used  

◆ VatCode

VatCode

 

 

◆ VatRate

VatRate