
Public Member Functions | |
| _.Library.Status | OnBeforeSave (_.Library.Boolean insert) |
| If this method is overridden then you must call ..UpdateAudit() yourself. | |
| _.Library.Float | AccruedPrincipalChargeUnits () |
| How many units of the principal charge have been used by the contract. | |
| _.Library.String | AllocateContractNumber () |
| Generate a contract number. | |
| _.Library.Boolean | BillableChargeReset () |
| set the billable amount for all service contract charges for this contract to zero | |
| _.Library.Float | BillablePrincipalChargeUnits () |
| How many units of the principal charge are billable? | |
| _.Library.Status | CheckServiceCredit (_.Library.Boolean CheckCredit, _.Library.Boolean StopPoll, _.Library.String new) |
| Compares the Contract service Charges, by polling the addresses for meter readings, against the total pre-paid credit. More... | |
| _.Library.Status | Confirm () |
| Method to call on confirmation of contract. More... | |
| _.Library.String | CurrentMooring () |
| get the current mooring for a contract | |
| _.Library.Status | GenerateCredits () |
| Generate Credit Notes for Invoices associated with this contract. More... | |
| _.Library.Float | GetTotalBillableAmount () |
| The charge due for the outstanding billable units. | |
| _.Library.Float | GetTotalPrePaid () |
| Total of all pre payment invoices for this contract. | |
| _.Library.Float | InvoicedAmountGet () |
| Totall amount billed for this contract - take credits into account. | |
| _.Library.Integer | MaximumNumberOfPayments (_.Library.Date lastpaymentdate) |
| Maximum number of phased payments for this contrac - under MDL rules. | |
| _.Library.Numeric | Phases () |
| returns the number of phases for the contract | |
| _.Library.Integer | ServicesOnCount (_.Library.String contractid) |
| how many services are switched on for this contract | |
| SetCalculatedValues () | |
| set the values of fields that are initially calculated | |
| _.Library.String | UnitPriceDescriptionGet () |
| Description of how the mooring fee unit price was derived. | |
Static Public Member Functions | |
| _.Library.Status | AutoCheckOut () |
| Processing Removed! | |
| _.Library.String | ContractForAddress (_.Library.String addressid) |
| Find the current contract for a boat using this Bollard address. | |
| _.Library.String | CreateContract (ClearWater.Mooring Mooring, ClearWater.Boat Boat, _.Library.Date start, _.Library.Date end, _.Library.String confirmed, _.Library.String ctype) |
| Create a new contract and boat in mooring. | |
| _.Library.String | NextCurrentContract (_.Library.String direction, _.Library.String ipaddress, _.Library.String inberth) |
| Called from Next/Previous buttons on the main ClearWater Screen. More... | |
Deltanji status:
| Object | ClearWater.Contract.CLS/MARINA.0 |
| Component | CLS.ClearWater.Contract |
| Location | MARINA.test2 |
| Date/Time | 15-May-20 21:21 |
| User | johnm |
| _.Library.Status CheckServiceCredit | ( | _.Library.Boolean | CheckCredit, |
| _.Library.Boolean | StopPoll, | ||
| _.Library.String | new | ||
| ) |
Compares the Contract service Charges, by polling the addresses for meter readings, against the total pre-paid credit.
If none left, it turns off the chargable services. If the CheckCredit flag is false (0), the services are not turned off
StopPoll is used when called from the CurrentServices form in ClearWater The Polling is stopped and then restarted afterwards.
| _.Library.Status Confirm | ( | ) |
Method to call on confirmation of contract.
If the balance is transferred when the contract is confirmed then perform the transfer
| _.Library.Status GenerateCredits | ( | ) |
Generate Credit Notes for Invoices associated with this contract.
Also delete any scheduled payments that have not been paid
|
static |
Called from Next/Previous buttons on the main ClearWater Screen.
Used to navigate to the next berth with a current boat.
| AccountBalance |
Calculate the balance of the account for the contract.
Take into account Invoices/Receipts/refunds/credit notes/
returns a string with DB or CR appended to total
| AccountBalanceReport |
returns numeric vector balance
| ActualCanxDate |
The day the cancellation was done.
| AllocatedAmount |
| Annulled |
| ApplicableTariff |
The mooring tariff for the area in which this boat is.
| ApplicableTariffDescription |
| ApplicableTariffValue |
The mooring tariff for the area in which this boat is.
| ApplicableTariffVat |
Should be calculated field, not implemented yet.
TH 8/5/03
| ApplicableTariffVatValue |
Should be calculated field, not implemented yet.
TH 8/5/03
| ApplicableVatCode |
| ApplicableVatCodeValue |
| ApplicableVatId |
| ApplicableVatIdValue |
| ApplicableVatRate |
| ApplicableVatRateValue |
The boat to which the contract applies.
| BoatTab |
Transient field for synchronising tabs in vb.
| CancelCredit |
As part of the cancelling process credit any invoices against.
this invoice
0 - do nothing 1 - this contract has just been cancelled - so credit any invoices
| CancellationReason |
| Cancelled |
Is the Contract cancelled ?
1 cancelled 0 not cancelled
| Cancelling |
Set when the user cancels the contract so that when the save.
is being done we know to go and create credit notes for invoices MDL - only
| ChargeCount |
| CheckIn |
| Confirmed |
Is the contract confirmed ?
1 confirmed 0 not confirmed
| Contacted |
Has the licensee been contated about the confirmation of the.
contract?
0 no 1 yes
Used for when future contracts are confirmed by default (to show space as used) so that the user knows whether to cancel the contract
| ContractBoatBeam |
| ContractBoatLength |
| ContractCanxDate |
The effective date of the cancellation.
| ContractChargeTotalInclVat |
| ContractDescription |
| ContractEndDate |
| ContractID |
| ContractMooring |
Initial mooring for contract.
Note: this may not be the current mooring
| ContractNotes |
| ContractNumber |
| ContractStartDate |
| ContractStartDateInt |
| ContractStatus |
The status of the contract.
Current Previous Future a non confirmed contract in the future (will not become active) Confirmed a confirmed contract in the future (will become active) Cancelled
| ContractTab |
Transient field for synchronising tabs in VB.
| ContractType |
' Temporary/Permanent/...
| CurrentBerth |
The berth that the boat is currently in as of todays date.
| DepositAmount |
Calculated deposit.
If DepositValue field is populated then return this otherwis calculate deposit based on parameters in options
| DepositAmountValue |
Calculated deposit.
If DepositValue field is populated then return this otherwis calculate deposit based on parameters in options
| DepositValue |
Deposit value if this is set by the user then it will override the.
calculated DepoistAmount field
| EffectiveBoatLength |
| EffectiveBoatLengthValue |
| FirstPrintedDate |
| FixedBoatBeam |
| FixedBoatLength |
| GenerationDate |
| Invoiced |
Has an invoice been raised against this contract - includes.
invoices made using adhoc method and linked to contract
| InvoicedAmount |
| LengthXTariff |
| LengthXTariffValue |
| LengthXTariffXPeriod |
| LengthXTariffXPeriodValue |
| Locked |
| MaximumNumberOfPayments |
| Modified |
Has the contract instance been changed.
1 yes 0 no
| MooringChargeScheme |
Which charging plan is this contract using.
ie Annual or Monthly or daily etc
| MooringFee |
| MooringFeeInclVat |
| MooringFeeInclVatValue |
| MooringFeeLessDeposit |
| MooringFeeValue |
| MooringFeeVatAmount |
| MooringTab |
Transient property used for synchronising tabs in vb.
| NewContract |
The contract that was generated based on this one.
| NumberOfPhasedPayments |
Used in the payment schedule.
| OldStatus |
if the contract status is changed then update this field
then when saving the contract compare the status with this field
if the two values are different then Audit the new Status
How is the contract to be paid.
ie Cheque/Credit Card/Direct Debit...
| PaymentScheme |
Similar to Payment Type but refined to include 3-part and 8-part Phased.
| PaymentType |
Deprecated.
Don't use this property. Use paymenttype instead
Advanced/Phased
| PerformBalanceTransfer |
has confirmed been set to true? If so then if we transfer
balances between contracts do it
| PermanentMooring |
| PhasedContractValue |
Sum of the Scheduled Payments for this contract.
| PhasedStartMonthOffset |
The month that the first phased payment is due.
| PhasedStartYear |
The year in which the first phased payment is due.
| Previewed |
Has the contract document been printed or print previewed.
| PreviousContract |
The contract on which this contract is based.
| PrintDocument |
| Printed |
Has the contract been printed.
| ReceiptsTotal |
The total Receipts for a contract inclusive of VAT.
The calculated is derived in different ways, depending whether the site actually uses Receipts. If they do not it is the total Invoice - Associated Credit Notes e.g. for Dean & Reddyhoff.
| Revision |
| ServiceBalance |
| TotalExclVat |
| TotalExclVatFixed |
The total after the contract has been locked.
| TotalInclVat |
| TotalInclVatFixed |
| TotalPaidInAdvance |
| TotalVat |
| UnitPriceDescription |
| ValuesLocked |
| WholeAmountPhased |
| oldConfirmed |
Database value of the confirmed field.
If we have changed he confirmed field in the open instance, use this to get the previous value