This class is really a transaction class. More...

Public Member Functions | |
| _.Library.String | AllocateInvoiceNumber () |
| If the Transaction is a Receipt the method checks whether the Receipt numbers are from a. More... | |
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.Integer | CreateServiceInvoice (_.Library.String contractid) |
| Create an invoice for the billable amouunts in contract charges fro this contract. | |
| _.Library.Integer | SageExport (_.Library.String WorkFileKey) |
| Export CSV file of Audit Trail Transactions for import into Sage line 50 Accounting software. | |
This class is really a transaction class.
It contains Invoices,Credit Notes,Receipts....
Deltanji status:
| Object | ClearWater.Invoice.CLS/MARINA.0 |
| Component | CLS.ClearWater.Invoice |
| Location | MARINA.test2 |
| Date/Time | 15-May-20 21:21 |
| User | johnm |
| _.Library.String AllocateInvoiceNumber | ( | ) |
If the Transaction is a Receipt the method checks whether the Receipt numbers are from a.
separate file, if so the ReceiptNumber.AllocateReceiptNumber method is called.
Reimplemented in EInvoice.
| AdditionalNotes |
| AllocationForBouncedReceipt |
| AmountAllocated |
| AssociatedBoats |
Comma separated list of Boat Names (Derived mainly for Receipts, Credit Notes using Allocations)
| AssociatedMoorings |
Comma separated list of Moorings (Derived mainly for Receipts, Credit Notes using Allocations)
| AssociatedTransactions |
Comma separated list of Transactions (Derived mainly for Receipts, Credit Notes using Allocations)
| Balance |
** Deprecated use UnAllocatedAmount instead **
Balance of settlement for this invoice
Takes into account Rceipts matched against this invoice
| Banking |
| BankingReference |
| ChequeNumber |
| ContractDate |
If an invoice is generated from a contract this is the payment date (for phased\ncontracts) or the contracts start date (for advanced contracts) for which the \ninvoice was generated.
\nIt is used to prevent two invoices from eing generated for the same contract.
| CopiesPrinted |
| DeleteMe |
| Exported |
| ExportedDate |
To allow receipts to be linked to invoices.
| InvoiceDate |
| InvoiceID |
| InvoiceLines |
| InvoiceNarrative |
| InvoiceNotes |
| InvoiceNumber |
| InvoiceNumberInt |
Internal invoice number.
| InvoiceTypeDesc |
| MayBeReversed |
Can this transaction be reversed.
No if any of the following is true:
Printed=1 AllocatedAmount not=0
******For Invoices*******
' ie Direct debit for mooring fees. so although a contract may be direct debit ' ad hoc invoices won't be direct debit so we need to know which invoices are which
*****For Receipts******** How was the Receipt paid for
Cheque,Credit Card,Cashh...
| PhasedSequenceNumber |
| Prefix |
| PrintDocument |
| ReasonForRefund |
| ReceiptBounced |
The original receipt record that is being bounced.
| ReceiptVector |
| RevenueType |
This field indicates the type of revenue associated to the transaction e.g.
'M' for Mooring Fees, 'S' for Services or 'O' for Other.
Functions that create invoices should use this code structure when creating a transaction. The 'Single Invoice', 'Advanced Invoice' and 'Phased Payments' should set this value on the Invoice to 'M'. Service payment Invoices should set-it to 'S'.
As of 14/03/2003 this has not yet been fully implemented. Using this indicator the 'Advanced Invoice' and 'Phased Payments' functions can determine if an Invoice has already been created for the contract as at present they look at the text in the Invoice Narrative. The change is also needed in order to build in the functionality to create a Pro-Forma for Outstanding mooring fees i.e. Total - (Sum of Receipts) as part payments are often made.
| Revision |
| Saved |
| TemplateName |
If not Invoice.doc store the template name here.
| Terms |
Terms of Payment.
ie no of days within which invoice must be paid
| TotalExclVat |
| TotalExclVatVector |
Total Excluding Vat with + or -.
| TotalIncVatVector |
If its receipt or credit then returns -TotalInvVat.
if invoice +TotalInclVat
| TotalInclVat |
| TotalVat |
| TotalVatVector |
| TrueInvoiceType |
| UnallocatedAmount |
| UnallocatedAmountVector |
| VatAmountAnalysis1 |
| VatAmountAnalysis2 |
| VatAmountAnalysis3 |
| VatAmountAnalysis4 |
| VatAnalyses |
| VatCodeAnalysis1 |
| VatCodeAnalysis2 |
| VatCodeAnalysis3 |
| VatCodeAnalysis4 |