3 ADD SEQUENCE "AuditTrailID"
\r
9 ADD SEQUENCE "CollisionID"
\r
15 ADD SEQUENCE "ReplID"
\r
21 ADD SEQUENCE "NoteCode"
\r
27 ADD SEQUENCE "PersonCode"
\r
33 ADD SEQUENCE "JobLogNo"
\r
38 ADD TABLE "AccountGroup"
\r
40 VALEXP "NOT ( CAN-FIND( FIRST ChartOfAccount WHERE ChartOfAccount.AccountGroupCode = AccountGroup.AccountGroupCode ) )"
\r
41 VALMSG "Cannot delete referenced account group records"
\r
42 DUMP-NAME "accountg"
\r
43 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "cractgrp.p" CRC "?"
\r
44 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wractgrp.p" CRC "?"
\r
46 ADD FIELD "AccountGroupCode" OF "AccountGroup" AS character
\r
47 DESCRIPTION "The code for a grouping of accounts within the chart of accounts."
\r
56 ADD FIELD "Name" OF "AccountGroup" AS character
\r
57 DESCRIPTION "The name of this grouping of accounts, for example 'Rental Income' or 'Property Expenses'."
\r
64 ADD FIELD "SequenceCode" OF "AccountGroup" AS integer
\r
71 ADD FIELD "CreditGroup" OF "AccountGroup" AS logical
\r
79 ADD FIELD "GroupType" OF "AccountGroup" AS character
\r
85 HELP "I=Income, E=Expense, A=Asset, L=Liability"
\r
88 ADD INDEX "AccountGroups" ON "AccountGroup"
\r
92 INDEX-FIELD "AccountGroupCode" ASCENDING
\r
94 ADD INDEX "XAK1SequenceCode" ON "AccountGroup"
\r
96 INDEX-FIELD "SequenceCode" ASCENDING
\r
98 ADD INDEX "XAK2AccountGroup" ON "AccountGroup"
\r
100 INDEX-FIELD "GroupType" ASCENDING
\r
101 INDEX-FIELD "SequenceCode" ASCENDING
\r
103 ADD TABLE "AcctTran"
\r
105 DUMP-NAME "accttran"
\r
106 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wracctrn.p" CRC "?"
\r
108 ADD FIELD "BatchCode" OF "AcctTran" AS integer
\r
109 DESCRIPTION "The batch which this transaction is part of."
\r
115 COLUMN-LABEL "Batch"
\r
118 ADD FIELD "DocumentCode" OF "AcctTran" AS integer
\r
119 DESCRIPTION "The document within the batch which this transaction is a part of."
\r
122 LABEL "Document No."
\r
125 COLUMN-LABEL "Doc #"
\r
128 ADD FIELD "TransactionCode" OF "AcctTran" AS integer
\r
129 DESCRIPTION "A sequence number identifying this transaction within the document."
\r
135 COLUMN-LABEL "Trans"
\r
136 COLUMN-LABEL-SA "C"
\r
139 ADD FIELD "AccountCode" OF "AcctTran" AS decimal
\r
140 DESCRIPTION "The account against which this transaction applies."
\r
146 COLUMN-LABEL-SA "C"
\r
151 ADD FIELD "Date" OF "AcctTran" AS date
\r
152 DESCRIPTION "The date applying to the transaction."
\r
153 FORMAT "99/99/9999"
\r
157 COLUMN-LABEL-SA "C"
\r
160 ADD FIELD "Description" OF "AcctTran" AS character
\r
161 DESCRIPTION "A description of this transaction, overriding the description of the document."
\r
166 HELP "A narrative which overrides the document narrative."
\r
170 ADD FIELD "EntityType" OF "AcctTran" AS character
\r
171 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this transaction applies (Company, Property, Project, Creditor or Tenant)."
\r
174 LABEL "Entity type"
\r
177 COLUMN-LABEL "Type"
\r
178 COLUMN-LABEL-SA "C"
\r
183 ADD FIELD "EntityCode" OF "AcctTran" AS integer
\r
189 COLUMN-LABEL-SA "C"
\r
192 ADD FIELD "Amount" OF "AcctTran" AS decimal
\r
193 FORMAT "->>>,>>>,>>9.99"
\r
197 COLUMN-LABEL-SA "C"
\r
201 ADD FIELD "MonthCode" OF "AcctTran" AS integer
\r
202 DESCRIPTION "The code used to refer to a month."
\r
208 COLUMN-LABEL "Mth #"
\r
209 COLUMN-LABEL-SA "C"
\r
212 ADD FIELD "ClosingGroup" OF "AcctTran" AS integer
\r
213 DESCRIPTION "A number, if applicable, to identify this 'group' of transactions as 'closed'. The sum of such a group of transactions will be zero."
\r
214 FORMAT ">>>,>>>,>>9"
\r
218 HELP "System maintained."
\r
221 ADD FIELD "FlagAttention" OF "AcctTran" AS character
\r
227 HELP "Flag for the attention of..."
\r
231 ADD FIELD "FlaggedBy" OF "AcctTran" AS integer
\r
232 DESCRIPTION "The person code of the person who last set this flag."
\r
238 HELP "System maintained."
\r
241 ADD FIELD "Reference" OF "AcctTran" AS character
\r
242 DESCRIPTION "Overrides the reference at document level for some display situations."
\r
248 HELP "Enter a reference to override the document reference"
\r
252 ADD FIELD "ConsequenceOf" OF "AcctTran" AS integer
\r
253 DESCRIPTION "Indicates which transactioncode in this document caused this transaction to be created during the transaction update process."
\r
258 HELP "System maintained."
\r
261 ADD FIELD "ClosedState" OF "AcctTran" AS character
\r
262 DESCRIPTION "C=Closed, P=Partial, O=Open, ???"
\r
270 ADD INDEX "Transactions" ON "AcctTran"
\r
274 INDEX-FIELD "BatchCode" ASCENDING
\r
275 INDEX-FIELD "DocumentCode" ASCENDING
\r
276 INDEX-FIELD "TransactionCode" ASCENDING
\r
278 ADD INDEX "XAK1AcctTran" ON "AcctTran"
\r
280 INDEX-FIELD "EntityType" ASCENDING
\r
281 INDEX-FIELD "EntityCode" ASCENDING
\r
282 INDEX-FIELD "AccountCode" ASCENDING
\r
283 INDEX-FIELD "MonthCode" ASCENDING
\r
285 ADD INDEX "XAK3CodeAndClosingGroup" ON "AcctTran"
\r
287 INDEX-FIELD "EntityType" ASCENDING
\r
288 INDEX-FIELD "EntityCode" ASCENDING
\r
289 INDEX-FIELD "AccountCode" ASCENDING
\r
290 INDEX-FIELD "ClosingGroup" ASCENDING
\r
292 ADD INDEX "XPKAcctTran" ON "AcctTran"
\r
294 INDEX-FIELD "EntityType" ASCENDING
\r
295 INDEX-FIELD "EntityCode" ASCENDING
\r
296 INDEX-FIELD "AccountCode" ASCENDING
\r
297 INDEX-FIELD "MonthCode" DESCENDING
\r
298 INDEX-FIELD "Date" DESCENDING
\r
300 ADD TABLE "AreaStatus"
\r
302 DUMP-NAME "areastat"
\r
304 ADD FIELD "AreaStatus" OF "AreaStatus" AS character
\r
315 ADD FIELD "Description" OF "AreaStatus" AS character
\r
322 ADD INDEX "XPKAreaStatus" ON "AreaStatus"
\r
326 INDEX-FIELD "AreaStatus" ASCENDING
\r
328 ADD TABLE "AreaType"
\r
330 DUMP-NAME "areatype"
\r
332 ADD FIELD "AreaType" OF "AreaType" AS character
\r
342 ADD FIELD "Description" OF "AreaType" AS character
\r
349 ADD FIELD "AccountCode" OF "AreaType" AS decimal
\r
350 DESCRIPTION "The code of the account which rent is charged to for this area type."
\r
360 ADD FIELD "IsFloorArea" OF "AreaType" AS logical
\r
367 ADD FIELD "IsCarPark" OF "AreaType" AS logical
\r
374 ADD INDEX "XPKAreaTypes" ON "AreaType"
\r
378 INDEX-FIELD "AreaType" ASCENDING
\r
383 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "debatch.p" CRC "?"
\r
385 ADD FIELD "BatchCode" OF "Batch" AS integer
\r
386 DESCRIPTION "The code of a batch of documents."
\r
392 COLUMN-LABEL "Batch"
\r
395 ADD FIELD "OperatorCode" OF "Batch" AS integer
\r
396 DESCRIPTION "The staff contact code for the operator who updated this batch of documents."
\r
405 ADD FIELD "DocumentCount" OF "Batch" AS integer
\r
406 DESCRIPTION "The total number of documents in the batch"
\r
414 ADD FIELD "Total" OF "Batch" AS decimal
\r
415 DESCRIPTION "The total value of the documents in the batch."
\r
416 FORMAT "->>>,>>>,>>9.99"
\r
420 COLUMN-LABEL "Batch Total"
\r
424 ADD FIELD "UpdatedAt" OF "Batch" AS integer
\r
425 DESCRIPTION "The time that the batch update was completed."
\r
426 FORMAT "->,>>>,>>9"
\r
431 COLUMN-LABEL-SA "C"
\r
434 ADD FIELD "UpdatedOn" OF "Batch" AS date
\r
435 DESCRIPTION "The date on which the batch update was completed."
\r
436 FORMAT "99/99/9999"
\r
441 COLUMN-LABEL-SA "C"
\r
444 ADD FIELD "Description" OF "Batch" AS character
\r
449 HELP "A description of the documents in this batch"
\r
453 ADD FIELD "UpdatedBy" OF "Batch" AS character
\r
461 ADD INDEX "Batches" ON "Batch"
\r
465 INDEX-FIELD "BatchCode" ASCENDING
\r
467 ADD INDEX "XAK1Description" ON "Batch"
\r
469 INDEX-FIELD "Description" ASCENDING
\r
471 ADD INDEX "XAK2Batch" ON "Batch"
\r
473 INDEX-FIELD "UpdatedOn" ASCENDING
\r
474 INDEX-FIELD "UpdatedAt" ASCENDING
\r
476 ADD INDEX "XAK3Batch" ON "Batch"
\r
478 INDEX-FIELD "UpdatedBy" ASCENDING
\r
479 INDEX-FIELD "UpdatedOn" DESCENDING
\r
480 INDEX-FIELD "UpdatedAt" DESCENDING
\r
482 ADD TABLE "BatchType"
\r
484 DUMP-NAME "batchtyp"
\r
486 ADD FIELD "BatchType" OF "BatchType" AS character
\r
487 DESCRIPTION "A code to indicate the type of a batch"
\r
497 ADD FIELD "Description" OF "BatchType" AS character
\r
504 ADD INDEX "XPKBatchStatuses" ON "BatchType"
\r
508 INDEX-FIELD "BatchType" ASCENDING
\r
510 ADD TABLE "BuildingEvent"
\r
512 DUMP-NAME "building"
\r
514 ADD FIELD "PropertyCode" OF "BuildingEvent" AS integer
\r
523 ADD FIELD "BuildingSystemType" OF "BuildingEvent" AS integer
\r
526 LABEL "System type"
\r
532 ADD FIELD "TaskCode" OF "BuildingEvent" AS integer
\r
533 DESCRIPTION "The month which this transaction was updated against. Should this be stored at the 'document' level? Probably. Check with GK."
\r
536 LABEL "Current Task"
\r
539 COLUMN-LABEL "Task"
\r
542 ADD FIELD "DateDue" OF "BuildingEvent" AS date
\r
543 DESCRIPTION "The date that the task is due to be completed."
\r
544 FORMAT "99/99/9999"
\r
551 ADD FIELD "Notes" OF "BuildingEvent" AS integer
\r
552 DESCRIPTION "Any notes."
\r
560 ADD FIELD "PersonCode" OF "BuildingEvent" AS integer
\r
561 DESCRIPTION "The contractor person responsible for the task."
\r
570 ADD FIELD "ContractorCode" OF "BuildingEvent" AS integer
\r
571 DESCRIPTION "The contractor who has been directed to perform the task."
\r
579 ADD FIELD "TaskStatus" OF "BuildingEvent" AS character
\r
582 LABEL "Current Task Status"
\r
589 ADD FIELD "DateDone" OF "BuildingEvent" AS date
\r
590 DESCRIPTION "The date that the task was completed."
\r
591 FORMAT "99/99/9999"
\r
598 ADD FIELD "Passed" OF "BuildingEvent" AS logical
\r
599 DESCRIPTION "Whether the building system has passed the check, if applicable."
\r
606 ADD FIELD "Results" OF "BuildingEvent" AS character
\r
607 DESCRIPTION "A description of the results of the task."
\r
614 ADD FIELD "EventStatus" OF "BuildingEvent" AS character
\r
617 LABEL "Event Status"
\r
623 ADD INDEX "BuildingEvents" ON "BuildingEvent"
\r
627 INDEX-FIELD "PropertyCode" ASCENDING
\r
628 INDEX-FIELD "BuildingSystemType" ASCENDING
\r
629 INDEX-FIELD "TaskCode" ASCENDING
\r
630 INDEX-FIELD "DateDue" ASCENDING
\r
632 ADD TABLE "BuildingSystem"
\r
634 DUMP-NAME "buildin1"
\r
636 ADD FIELD "PropertyCode" OF "BuildingSystem" AS integer
\r
637 DESCRIPTION "The property where the system is"
\r
640 LABEL "Property No."
\r
643 COLUMN-LABEL "Property"
\r
646 ADD FIELD "BuildingSystemType" OF "BuildingSystem" AS integer
\r
647 DESCRIPTION "The type of building system."
\r
650 LABEL "System Type"
\r
653 COLUMN-LABEL "Type"
\r
656 ADD FIELD "InspectorIQP" OF "BuildingSystem" AS integer
\r
657 FORMAT "->,>>>,>>9"
\r
661 HELP "The independent qualified inspector"
\r
664 ADD FIELD "InspectorOwner" OF "BuildingSystem" AS integer
\r
665 FORMAT "->,>>>,>>9"
\r
669 HELP "The onwer representative inspector"
\r
672 ADD FIELD "IQPCertificate" OF "BuildingSystem" AS logical
\r
677 HELP "Is an IQP certificate required"
\r
680 ADD INDEX "BuildingSystems" ON "BuildingSystem"
\r
684 INDEX-FIELD "PropertyCode" ASCENDING
\r
685 INDEX-FIELD "BuildingSystemType" ASCENDING
\r
687 ADD TABLE "BuildingSystemType"
\r
689 DUMP-NAME "buildin2"
\r
691 ADD FIELD "BuildingSystemType" OF "BuildingSystemType" AS integer
\r
692 DESCRIPTION "A code used to refer to this type of building system."
\r
695 LABEL "System Type"
\r
698 COLUMN-LABEL "Type"
\r
702 ADD FIELD "Description" OF "BuildingSystemType" AS character
\r
703 DESCRIPTION "The full legal description of this type of building system for use in official letters"
\r
708 HELP "Full legal description of this type of building system"
\r
711 ADD FIELD "Name" OF "BuildingSystemType" AS character
\r
712 DESCRIPTION "A name used to refer to this type of building system. Types of building systems include (but are not limited to): Air conditioning, BMU's or gantries, Lifts/escalators, Sump pumps, Fire warning systems, Smoke stop doors, Fire sprinkler systems, Checks for salinity of concrete where corrosion present, Backflow preventers, Exhaust extract fans, Pressurised escape routes, Evacuation procedures, Fire hose reels, Boilers, Emergency exit signage, Electrical safety checks."
\r
720 ADD FIELD "SystemType" OF "BuildingSystemType" AS character
\r
721 DESCRIPTION "The type of building system type (!) - B or L"
\r
728 ADD INDEX "BuildingSystemTypes" ON "BuildingSystemType"
\r
732 INDEX-FIELD "BuildingSystemType" ASCENDING
\r
734 ADD TABLE "BuildingTask"
\r
736 DUMP-NAME "buildin3"
\r
738 ADD FIELD "PropertyCode" OF "BuildingTask" AS integer
\r
739 DESCRIPTION "The property that this task relates to."
\r
742 LABEL "Property No."
\r
745 COLUMN-LABEL "Property"
\r
748 ADD FIELD "BuildingSystemType" OF "BuildingTask" AS integer
\r
749 DESCRIPTION "The system that this task relates to."
\r
752 LABEL "System Type"
\r
755 COLUMN-LABEL "Type"
\r
758 ADD FIELD "TaskCode" OF "BuildingTask" AS integer
\r
759 DESCRIPTION "A sequence number to differentiate this task from other tasks for the same building system"
\r
766 ADD FIELD "Notes" OF "BuildingTask" AS integer
\r
767 DESCRIPTION "Any notes"
\r
775 ADD FIELD "FrequencyCode" OF "BuildingTask" AS integer
\r
776 DESCRIPTION "The regularity of this building task"
\r
784 ADD FIELD "ContractorCode" OF "BuildingTask" AS integer
\r
785 DESCRIPTION "The preferred contractor for this task"
\r
792 ADD FIELD "Duration" OF "BuildingTask" AS integer
\r
793 DESCRIPTION "The number of days duration it usually takes for this task to go to completion"
\r
800 ADD FIELD "IQPTask" OF "BuildingTask" AS logical
\r
801 DESCRIPTION "Whether the task requires an independently qualified person."
\r
808 ADD FIELD "LastDone" OF "BuildingTask" AS date
\r
809 DESCRIPTION "The date that this task was last done"
\r
810 FORMAT "99/99/9999"
\r
816 ADD FIELD "NextDue" OF "BuildingTask" AS date
\r
817 DESCRIPTION "The date that this task is next due to be completed by"
\r
818 FORMAT "99/99/9999"
\r
824 ADD FIELD "WOFTask" OF "BuildingTask" AS character
\r
825 DESCRIPTION "Whether the task is required for a WOF"
\r
832 ADD INDEX "BuildingTasks" ON "BuildingTask"
\r
836 INDEX-FIELD "PropertyCode" ASCENDING
\r
837 INDEX-FIELD "BuildingSystemType" ASCENDING
\r
838 INDEX-FIELD "TaskCode" ASCENDING
\r
840 ADD TABLE "CashFlowType"
\r
842 DUMP-NAME "cashflow"
\r
844 ADD FIELD "CashFlowType" OF "CashFlowType" AS character
\r
847 LABEL "Cash Flow Type"
\r
850 COLUMN-LABEL "CF Type"
\r
855 ADD FIELD "Description" OF "CashFlowType" AS character
\r
862 ADD FIELD "SystemGenerated" OF "CashFlowType" AS logical
\r
863 DESCRIPTION "Identifies cash flow reserved for the system"
\r
866 LABEL "System Generated"
\r
871 ADD INDEX "XPKCashFlowTypes" ON "CashFlowType"
\r
875 INDEX-FIELD "CashFlowType" ASCENDING
\r
877 ADD INDEX "XAK1CashflowType" ON "CashFlowType"
\r
880 INDEX-FIELD "SystemGenerated" ASCENDING
\r
881 INDEX-FIELD "CashFlowType" ASCENDING
\r
883 ADD TABLE "ChartOfAccount"
\r
885 DUMP-NAME "chartofa"
\r
886 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrchoact.p" CRC "?"
\r
888 ADD FIELD "AccountCode" OF "ChartOfAccount" AS decimal
\r
889 DESCRIPTION "The code of the account."
\r
899 ADD FIELD "AccountGroupCode" OF "ChartOfAccount" AS character
\r
900 DESCRIPTION "The grouping which this account falls within."
\r
909 ADD FIELD "AlternativeCode" OF "ChartOfAccount" AS character
\r
910 DESCRIPTION "An alternative code to use for this account when consolidating accounts into an alternative structure."
\r
919 ADD FIELD "Name" OF "ChartOfAccount" AS character
\r
920 DESCRIPTION "The name of the account."
\r
929 ADD FIELD "UpdateTo" OF "ChartOfAccount" AS character
\r
930 DESCRIPTION "A comma-delimited list of entity type codes that this account may have transactions entered for."
\r
936 HELP "A list of entity codes, separated by commas"
\r
940 ADD FIELD "HighVolume" OF "ChartOfAccount" AS logical
\r
941 DESCRIPTION "Whether or not the account should show totals only by default on a transaction report."
\r
944 LABEL "High volume"
\r
947 COLUMN-LABEL "HiVol"
\r
950 ADD FIELD "Security" OF "ChartOfAccount" AS integer
\r
951 FORMAT "->,>>>,>>9"
\r
957 ADD FIELD "LastModifiedDate" OF "ChartOfAccount" AS date
\r
958 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
959 FORMAT "99/99/9999"
\r
966 ADD FIELD "LastModifiedTime" OF "ChartOfAccount" AS integer
\r
967 DESCRIPTION "The time that this record was last modified"
\r
968 FORMAT "->,>>>,>>9"
\r
974 ADD FIELD "LastModifiedUser" OF "ChartOfAccount" AS character
\r
975 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
983 ADD FIELD "AuditRecordId" OF "ChartOfAccount" AS integer
\r
984 FORMAT "->,>>>,>>9"
\r
990 ADD FIELD "ShortName" OF "ChartOfAccount" AS character
\r
998 ADD FIELD "LedgerControl" OF "ChartOfAccount" AS decimal
\r
999 DESCRIPTION "GL Control Account Code"
\r
1007 ADD FIELD "ExpenseRecoveryType" OF "ChartOfAccount" AS character
\r
1012 HELP "Method of Expense Recovery: X=None, P=Property Budgets, O=Override"
\r
1015 ADD INDEX "NChartOfAccounts" ON "ChartOfAccount"
\r
1016 AREA "Schema Area"
\r
1019 INDEX-FIELD "AccountCode" ASCENDING
\r
1021 ADD INDEX "NAccountGroups" ON "ChartOfAccount"
\r
1022 AREA "Schema Area"
\r
1024 INDEX-FIELD "AccountGroupCode" ASCENDING
\r
1025 INDEX-FIELD "AccountCode" ASCENDING
\r
1027 ADD INDEX "XAK1ChartOfAccounts" ON "ChartOfAccount"
\r
1028 AREA "Schema Area"
\r
1029 INDEX-FIELD "Name" ASCENDING ABBREVIATED
\r
1031 ADD TABLE "Company"
\r
1032 AREA "Schema Area"
\r
1033 DUMP-NAME "company"
\r
1034 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrcompny.p" CRC "?"
\r
1036 ADD FIELD "CompanyCode" OF "Company" AS integer
\r
1037 DESCRIPTION "The code used to refer to a company."
\r
1046 ADD FIELD "BankAccountCode" OF "Company" AS character
\r
1055 ADD FIELD "ParentCode" OF "Company" AS integer
\r
1063 ADD FIELD "ClientCode" OF "Company" AS character
\r
1070 ADD FIELD "LegalName" OF "Company" AS character
\r
1071 DESCRIPTION "The full legal name of the company."
\r
1078 ADD FIELD "RegisteredAddress" OF "Company" AS character
\r
1079 DESCRIPTION "The registered address of the company."
\r
1086 ADD FIELD "ShortName" OF "Company" AS character
\r
1087 DESCRIPTION "A short name used to refer to the company in reports, especially within column headings."
\r
1096 ADD FIELD "TaxNo" OF "Company" AS character
\r
1097 DESCRIPTION "The IRD number (or it's Australian equivalent) of the company. The format will either have to be configurable, or accommodate both countries (probably that as it's not an important data item)."
\r
1104 ADD FIELD "ParValue" OF "Company" AS decimal
\r
1105 FORMAT "->>,>>9.99"
\r
1112 ADD FIELD "NextAnnualReturn" OF "Company" AS date
\r
1113 DESCRIPTION "The date when returns should be field next"
\r
1114 FORMAT "99/99/9999"
\r
1116 LABEL "Next Annual Return Date"
\r
1121 ADD FIELD "AuthorisedCapital" OF "Company" AS decimal
\r
1122 FORMAT "->,>>>,>>>,>>9.99"
\r
1124 LABEL "Authorised Capital"
\r
1130 ADD FIELD "IsssuedCapital" OF "Company" AS decimal
\r
1131 FORMAT "->,>>>,>>>,>>9.99"
\r
1133 LABEL "Issued Capital"
\r
1139 ADD FIELD "Paid" OF "Company" AS logical
\r
1140 DESCRIPTION "Identifies if the issued capital for this compnay has been paid"
\r
1145 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
1148 ADD FIELD "Secretary" OF "Company" AS integer
\r
1149 DESCRIPTION "The person that is a secretary of this company"
\r
1157 ADD FIELD "PreviousNames" OF "Company" AS character
\r
1158 DESCRIPTION "Any previous names of the company"
\r
1161 LABEL "Previous Names"
\r
1164 VIEW-AS "VIEW-AS EDITOR SIZE-CHARS 70 BY 3
\r
1165 SCROLLBAR-VERTICAL"
\r
1169 ADD FIELD "OperationalCountry" OF "Company" AS character
\r
1174 VIEW-AS "VIEW-AS RADIO-SET
\r
1176 ""New Zealand"", ""NZL"",
\r
1177 ""Australian"", ""AUS"",
\r
1178 ""Other"", ""OTH""
\r
1180 SIZE-CHARS 16 by 3
\r
1186 ADD FIELD "OwnCreditors" OF "Company" AS logical
\r
1189 LABEL "Own creditors"
\r
1194 ADD FIELD "LastModifiedDate" OF "Company" AS date
\r
1195 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
1196 FORMAT "99/99/9999"
\r
1197 INITIAL "1/1/0001"
\r
1203 ADD FIELD "LastModifiedTime" OF "Company" AS integer
\r
1204 DESCRIPTION "The time that this record was last modified"
\r
1205 FORMAT "->,>>>,>>9"
\r
1211 ADD FIELD "LastModifiedUser" OF "Company" AS character
\r
1212 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
1220 ADD FIELD "AuditRecordId" OF "Company" AS integer
\r
1221 FORMAT "->,>>>,>>9"
\r
1227 ADD FIELD "Active" OF "Company" AS logical
\r
1234 ADD FIELD "RegisteredNo" OF "Company" AS character
\r
1235 DESCRIPTION "Registered company code"
\r
1242 ADD FIELD "TaxRegistered" OF "Company" AS logical
\r
1243 DESCRIPTION "Whether the company has been registered for tax purposes or not."
\r
1250 ADD FIELD "IncorporationDate" OF "Company" AS date
\r
1251 DESCRIPTION "The date on which the company was officially incorporated or registered"
\r
1252 FORMAT "99/99/9999"
\r
1254 LABEL "Incorporated"
\r
1257 COLUMN-LABEL "Incorp. Date"
\r
1260 ADD FIELD "BusinessNo" OF "Company" AS character
\r
1263 LABEL "Registered Business No"
\r
1268 ADD INDEX "XPKCompanies" ON "Company"
\r
1269 AREA "Schema Area"
\r
1272 INDEX-FIELD "CompanyCode" ASCENDING
\r
1274 ADD INDEX "XAK1Companies" ON "Company"
\r
1275 AREA "Schema Area"
\r
1276 INDEX-FIELD "ShortName" ASCENDING ABBREVIATED
\r
1278 ADD TABLE "Contact"
\r
1279 AREA "Schema Area"
\r
1280 DUMP-NAME "contact"
\r
1281 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "decontct.p" CRC "?"
\r
1282 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrcontct.p" CRC "?"
\r
1284 ADD FIELD "PersonCode" OF "Contact" AS integer
\r
1285 DESCRIPTION "A reference to the contact person."
\r
1293 ADD FIELD "ContactType" OF "Contact" AS character
\r
1294 DESCRIPTION "The type of contact involved."
\r
1304 ADD FIELD "Notes" OF "Contact" AS integer
\r
1305 DESCRIPTION "Any notes applying to the contact"
\r
1314 ADD FIELD "SystemCode" OF "Contact" AS logical
\r
1319 HELP "Set to ""yes"" for system-maintained codes, ""no"" for user codes"
\r
1323 ADD FIELD "Sort1" OF "Contact" AS character
\r
1330 ADD FIELD "Sort2" OF "Contact" AS character
\r
1337 ADD FIELD "Sort3" OF "Contact" AS character
\r
1344 ADD FIELD "Soundex1" OF "Contact" AS character
\r
1345 DESCRIPTION "Soundex coding for the primary sort key"
\r
1352 ADD INDEX "Contacts" ON "Contact"
\r
1353 AREA "Schema Area"
\r
1356 INDEX-FIELD "PersonCode" ASCENDING
\r
1357 INDEX-FIELD "ContactType" ASCENDING
\r
1359 ADD INDEX "XAK1Contacts" ON "Contact"
\r
1360 AREA "Schema Area"
\r
1362 INDEX-FIELD "ContactType" ASCENDING
\r
1363 INDEX-FIELD "PersonCode" ASCENDING
\r
1365 ADD TABLE "ContactType"
\r
1366 AREA "Schema Area"
\r
1367 DUMP-NAME "contactt"
\r
1368 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrctctyp.p" CRC "?"
\r
1370 ADD FIELD "ContactType" OF "ContactType" AS character
\r
1380 ADD FIELD "Description" OF "ContactType" AS character
\r
1388 ADD FIELD "SystemCode" OF "ContactType" AS logical
\r
1393 HELP "Set to ""yes"" for system-maintained codes, ""no"" for user codes"
\r
1397 ADD INDEX "XPKContactTypes" ON "ContactType"
\r
1398 AREA "Schema Area"
\r
1401 INDEX-FIELD "ContactType" ASCENDING
\r
1403 ADD TABLE "Contract"
\r
1404 AREA "Schema Area"
\r
1405 DUMP-NAME "contract"
\r
1406 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrcontrt.p" CRC "?"
\r
1408 ADD FIELD "CreditorCode" OF "Contract" AS integer
\r
1409 DESCRIPTION "The creditor who is contracted to provide this service for this property"
\r
1412 LABEL "Creditor code"
\r
1415 COLUMN-LABEL "Code"
\r
1418 ADD FIELD "PropertyCode" OF "Contract" AS integer
\r
1419 DESCRIPTION "The property the service is being provided for."
\r
1427 ADD FIELD "ServiceType" OF "Contract" AS character
\r
1430 LABEL "Service type"
\r
1433 COLUMN-LABEL "Service"
\r
1438 ADD FIELD "Contact" OF "Contract" AS integer
\r
1439 DESCRIPTION "A person to contact for problems relating to this area of service."
\r
1448 ADD FIELD "NoteCode" OF "Contract" AS integer
\r
1449 DESCRIPTION "Any notes relating specifically to this contract."
\r
1457 ADD FIELD "AnnualEstimate" OF "Contract" AS decimal
\r
1458 DESCRIPTION "The estimated annual amount payable to the contractor for this service, where the service is not covered by a fixed price contract."
\r
1459 FORMAT "->,>>>,>>9.99"
\r
1461 LABEL "Estimate p.a."
\r
1467 ADD FIELD "ContractReference" OF "Contract" AS character
\r
1468 DESCRIPTION "A reference to the physical contract documentation."
\r
1471 LABEL "Description"
\r
1474 COLUMN-LABEL "Description / Reference"
\r
1479 ADD FIELD "EndDate" OF "Contract" AS date
\r
1480 DESCRIPTION "The date on which the contract finishes."
\r
1481 FORMAT "99/99/9999"
\r
1488 ADD FIELD "FixedAmount" OF "Contract" AS decimal
\r
1489 DESCRIPTION "The annual amount payable on this contract, if it is for a fixed amount."
\r
1490 FORMAT "->,>>>,>>9.99"
\r
1498 ADD FIELD "FrequencyCode" OF "Contract" AS character
\r
1499 DESCRIPTION "The frequency with which payments are made for any fixed amount payable under this contract."
\r
1502 LABEL "Pmt Frequency"
\r
1509 ADD FIELD "ReviewDate" OF "Contract" AS date
\r
1510 DESCRIPTION "The date on which the contract should next be reviewed, if desired."
\r
1511 FORMAT "99/99/9999"
\r
1518 ADD FIELD "StartDate" OF "Contract" AS date
\r
1519 DESCRIPTION "The date on which the contract commences."
\r
1520 FORMAT "99/99/9999"
\r
1527 ADD FIELD "LastModifiedDate" OF "Contract" AS date
\r
1528 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
1529 FORMAT "99/99/9999"
\r
1530 INITIAL "1/1/0001"
\r
1536 ADD FIELD "LastModifiedTime" OF "Contract" AS integer
\r
1537 DESCRIPTION "The time that this record was last modified"
\r
1538 FORMAT "->,>>>,>>9"
\r
1544 ADD FIELD "LastModifiedUser" OF "Contract" AS character
\r
1545 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
1553 ADD FIELD "AuditRecordId" OF "Contract" AS integer
\r
1554 FORMAT "->,>>>,>>9"
\r
1560 ADD FIELD "TerminationNotice" OF "Contract" AS integer
\r
1563 LABEL "Term. Notice"
\r
1566 COLUMN-LABEL "Term. Not."
\r
1567 HELP "No. of months notice required to terminate the contract"
\r
1570 ADD FIELD "Renewing" OF "Contract" AS logical
\r
1571 DESCRIPTION "No, if the contract ends permanently after the end date, Yes if we will still require a contract for this service (used for forecasting"
\r
1578 ADD FIELD "Recoverable" OF "Contract" AS logical
\r
1579 DESCRIPTION "Whether the contract costs are recoverable from tenants"
\r
1584 COLUMN-LABEL "Rec"
\r
1587 ADD FIELD "PaymentDate" OF "Contract" AS date
\r
1588 DESCRIPTION "A date on which payment has been made to aid calculation of future payment dates"
\r
1589 FORMAT "99/99/9999"
\r
1591 LABEL "Payment Cycle"
\r
1596 ADD FIELD "ContractSeq" OF "Contract" AS integer
\r
1597 FORMAT "->,>>>,>>9"
\r
1604 ADD FIELD "IsContracted" OF "Contract" AS logical
\r
1607 LABEL "Contracted"
\r
1610 HELP "Is this a contracted expense, or an estimated one"
\r
1613 ADD FIELD "OrderCode" OF "Contract" AS integer
\r
1614 DESCRIPTION "Associated order for contracted supply."
\r
1621 ADD FIELD "Active" OF "Contract" AS logical
\r
1622 DESCRIPTION "Flag to indicate whether the contract is active or inactive"
\r
1629 ADD INDEX "XPKContracts" ON "Contract"
\r
1630 AREA "Schema Area"
\r
1633 INDEX-FIELD "PropertyCode" ASCENDING
\r
1634 INDEX-FIELD "ServiceType" ASCENDING
\r
1635 INDEX-FIELD "CreditorCode" ASCENDING
\r
1636 INDEX-FIELD "ContractSeq" ASCENDING
\r
1638 ADD INDEX "XAK1Contracts" ON "Contract"
\r
1639 AREA "Schema Area"
\r
1641 INDEX-FIELD "CreditorCode" ASCENDING
\r
1642 INDEX-FIELD "ServiceType" ASCENDING
\r
1643 INDEX-FIELD "PropertyCode" ASCENDING
\r
1644 INDEX-FIELD "ContractSeq" ASCENDING
\r
1646 ADD TABLE "CashFlow"
\r
1647 AREA "Schema Area"
\r
1648 DUMP-NAME "contrac1"
\r
1650 ADD FIELD "ScenarioCode" OF "CashFlow" AS integer
\r
1651 DESCRIPTION "A code identifying the scenario that this cash flow belongs to."
\r
1659 ADD FIELD "EntityType" OF "CashFlow" AS character
\r
1662 LABEL "Entity type"
\r
1669 ADD FIELD "EntityCode" OF "CashFlow" AS integer
\r
1678 ADD FIELD "AccountCode" OF "CashFlow" AS decimal
\r
1679 DESCRIPTION "An account, from the chart of accounts, that this cash flow relates to."
\r
1688 ADD FIELD "FrequencyCode" OF "CashFlow" AS character
\r
1689 DESCRIPTION "The code used to refer to this kind of regularity"
\r
1696 ADD FIELD "Sequence" OF "CashFlow" AS integer
\r
1697 DESCRIPTION "An arbitrary sequence number to make the record key for the contracted cash flows file unique."
\r
1704 ADD FIELD "CashFlowType" OF "CashFlow" AS character
\r
1714 ADD FIELD "CFChangeType" OF "CashFlow" AS character
\r
1717 LABEL "Change type"
\r
1720 COLUMN-LABEL "Change"
\r
1723 ADD FIELD "Amount" OF "CashFlow" AS decimal
\r
1724 DESCRIPTION "The amount of each occurrence of the cash flow."
\r
1725 FORMAT "->>,>>>,>>>,>>9.99"
\r
1732 ADD FIELD "Description" OF "CashFlow" AS character
\r
1733 DESCRIPTION "A brief description of the cash flow."
\r
1740 ADD FIELD "EndDate" OF "CashFlow" AS date
\r
1741 DESCRIPTION "The date after which this cash flow no longer occurs."
\r
1742 FORMAT "99/99/9999"
\r
1749 ADD FIELD "StartDate" OF "CashFlow" AS date
\r
1750 DESCRIPTION "The date on which this cash flow first occurs."
\r
1751 FORMAT "99/99/9999"
\r
1758 ADD FIELD "RelatedKey" OF "CashFlow" AS character
\r
1759 DESCRIPTION "Key to related record in database"
\r
1766 ADD INDEX "XPKCashFlow" ON "CashFlow"
\r
1767 AREA "Schema Area"
\r
1770 INDEX-FIELD "ScenarioCode" ASCENDING
\r
1771 INDEX-FIELD "EntityType" ASCENDING
\r
1772 INDEX-FIELD "EntityCode" ASCENDING
\r
1773 INDEX-FIELD "AccountCode" ASCENDING
\r
1774 INDEX-FIELD "Sequence" ASCENDING
\r
1775 INDEX-FIELD "CashFlowType" ASCENDING
\r
1777 ADD INDEX "XAK1CashFlow" ON "CashFlow"
\r
1778 AREA "Schema Area"
\r
1779 INDEX-FIELD "ScenarioCode" ASCENDING
\r
1780 INDEX-FIELD "CashFlowType" ASCENDING
\r
1782 ADD INDEX "XAK2CashFlow" ON "CashFlow"
\r
1783 AREA "Schema Area"
\r
1784 INDEX-FIELD "ScenarioCode" ASCENDING
\r
1785 INDEX-FIELD "RelatedKey" ASCENDING
\r
1786 INDEX-FIELD "StartDate" ASCENDING
\r
1788 ADD TABLE "Creditor"
\r
1789 AREA "Schema Area"
\r
1790 DUMP-NAME "creditor"
\r
1791 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crcdtor.p" CRC "?"
\r
1792 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrcrdtor.p" CRC "?"
\r
1794 ADD FIELD "CreditorCode" OF "Creditor" AS integer
\r
1795 DESCRIPTION "The code used to refer to a creditor."
\r
1803 ADD FIELD "PaymentContact" OF "Creditor" AS integer
\r
1804 DESCRIPTION "A primary contact for matters relating to payment of this creditor. The address will be used for correspondence related to accounts, especially remittances."
\r
1807 LABEL "Payment contact"
\r
1812 ADD FIELD "Name" OF "Creditor" AS character
\r
1813 DESCRIPTION "A name used to refer to this creditor."
\r
1821 ADD FIELD "PayeeName" OF "Creditor" AS character
\r
1822 DESCRIPTION "A name used only for the 'Payee Name' in the writing of cheques to this creditor. Auditing of changes will be required. This will be recorded against each cheque record in any case."
\r
1825 LABEL "Payee name"
\r
1831 ADD FIELD "OtherContact" OF "Creditor" AS integer
\r
1832 DESCRIPTION "A secondary contact for matters relating to this creditor."
\r
1835 LABEL "Other contact"
\r
1841 ADD FIELD "Active" OF "Creditor" AS logical
\r
1842 DESCRIPTION "Flag to indicate whether the creditor is active or inactive"
\r
1849 ADD FIELD "PaymentStyle" OF "Creditor" AS character
\r
1857 ADD FIELD "BankDetails" OF "Creditor" AS character
\r
1860 LABEL "A/c details"
\r
1863 COLUMN-LABEL "Bank Account Details"
\r
1866 ADD FIELD "CompanyCode" OF "Creditor" AS integer
\r
1867 DESCRIPTION "The code used to refer to a company."
\r
1875 ADD FIELD "LastModifiedDate" OF "Creditor" AS date
\r
1876 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
1877 FORMAT "99/99/9999"
\r
1878 INITIAL "1/1/0001"
\r
1884 ADD FIELD "LastModifiedTime" OF "Creditor" AS integer
\r
1885 DESCRIPTION "The time that this record was last modified"
\r
1886 FORMAT "->,>>>,>>9"
\r
1892 ADD FIELD "LastModifiedUser" OF "Creditor" AS character
\r
1893 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
1901 ADD FIELD "AuditRecordId" OF "Creditor" AS integer
\r
1902 FORMAT "->,>>>,>>9"
\r
1908 ADD FIELD "ChequesPerMonth" OF "Creditor" AS integer
\r
1911 LABEL "Cheques/mth"
\r
1916 ADD FIELD "VchrEntityType" OF "Creditor" AS character
\r
1923 ADD FIELD "VchrEntityCode" OF "Creditor" AS integer
\r
1930 ADD FIELD "VchrAccountCode" OF "Creditor" AS decimal
\r
1938 ADD FIELD "VchrApprover" OF "Creditor" AS character
\r
1945 ADD FIELD "BankDetailsChangedBy" OF "Creditor" AS character
\r
1948 LABEL "Changed By User"
\r
1951 COLUMN-LABEL "Changed"
\r
1952 HELP "The user who last changed the Bank A/C details"
\r
1956 ADD FIELD "EnableDirectPayment" OF "Creditor" AS logical
\r
1961 HELP "Whether or not direct payments are enabled"
\r
1964 ADD FIELD "DirectPaymentEnabledBy" OF "Creditor" AS character
\r
1970 COLUMN-LABEL "User"
\r
1971 HELP "The user who enabled direct payments"
\r
1975 ADD FIELD "NonAccounting" OF "Creditor" AS logical
\r
1976 DESCRIPTION "True if this creditor is a non-accounting creditor. If so then the AcctCreditorCode would usually be set to the actual accounting creditor"
\r
1981 COLUMN-LABEL "Non-A"
\r
1982 HELP "If this creditor should not allow transactions"
\r
1985 ADD FIELD "AcctCreditorCode" OF "Creditor" AS integer
\r
1986 DESCRIPTION "The code of another creditor if this creditor is a non-accounting creditor"
\r
1989 LABEL "Acct Creditor"
\r
1992 COLUMN-LABEL "A/C Crd"
\r
1993 HELP "Creditor code of the actual accounting creditor"
\r
1996 ADD FIELD "DcStatementText" OF "Creditor" AS character
\r
1997 DESCRIPTION "The details from the creditor which should appear on their bank statement when we pay them by direct credit"
\r
2000 LABEL "Their Coding"
\r
2003 COLUMN-LABEL "Cred A/C #"
\r
2004 HELP "Our account number with the creditor, or other statement detail"
\r
2007 ADD FIELD "DcRemittanceEmail" OF "Creditor" AS character
\r
2008 DESCRIPTION "The e-mail address of someone to send the PDF remittance advice to"
\r
2011 LABEL "EMail Remittance To"
\r
2014 HELP "The e-mail address to send the remittance to"
\r
2017 ADD INDEX "Creditors" ON "Creditor"
\r
2018 AREA "Schema Area"
\r
2021 INDEX-FIELD "CreditorCode" ASCENDING
\r
2023 ADD INDEX "XAK1Creditors" ON "Creditor"
\r
2024 AREA "Schema Area"
\r
2025 INDEX-FIELD "Name" ASCENDING
\r
2027 ADD INDEX "XAK3Creditors" ON "Creditor"
\r
2028 AREA "Schema Area"
\r
2030 INDEX-FIELD "Active" ASCENDING
\r
2031 INDEX-FIELD "CreditorCode" ASCENDING
\r
2033 ADD INDEX "XAK4Creditors" ON "Creditor"
\r
2034 AREA "Schema Area"
\r
2035 INDEX-FIELD "Active" ASCENDING
\r
2036 INDEX-FIELD "Name" ASCENDING
\r
2038 ADD INDEX "XAK6Creditors" ON "Creditor"
\r
2039 AREA "Schema Area"
\r
2041 INDEX-FIELD "Active" ASCENDING
\r
2042 INDEX-FIELD "NonAccounting" ASCENDING
\r
2043 INDEX-FIELD "CreditorCode" ASCENDING
\r
2045 ADD INDEX "XAK7Creditors" ON "Creditor"
\r
2046 AREA "Schema Area"
\r
2047 INDEX-FIELD "Active" ASCENDING
\r
2048 INDEX-FIELD "NonAccounting" ASCENDING
\r
2049 INDEX-FIELD "Name" ASCENDING
\r
2051 ADD INDEX "XAK8Creditors" ON "Creditor"
\r
2052 AREA "Schema Area"
\r
2053 INDEX-FIELD "PaymentContact" ASCENDING
\r
2055 ADD TABLE "Directorship"
\r
2056 AREA "Schema Area"
\r
2057 DUMP-NAME "director"
\r
2058 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "dedrctor.p" CRC "?"
\r
2060 ADD FIELD "CompanyCode" OF "Directorship" AS integer
\r
2061 DESCRIPTION "The code of the company that this person is a director of."
\r
2069 ADD FIELD "PersonCode" OF "Directorship" AS integer
\r
2070 DESCRIPTION "The person that is a director of this company"
\r
2079 ADD FIELD "NoteCode" OF "Directorship" AS integer
\r
2080 DESCRIPTION "Any notes about the directorship."
\r
2087 ADD INDEX "Directorships" ON "Directorship"
\r
2088 AREA "Schema Area"
\r
2091 INDEX-FIELD "CompanyCode" ASCENDING
\r
2092 INDEX-FIELD "PersonCode" ASCENDING
\r
2094 ADD TABLE "Document"
\r
2095 AREA "Schema Area"
\r
2096 DUMP-NAME "document"
\r
2097 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "dedocmnt.p" CRC "?"
\r
2099 ADD FIELD "BatchCode" OF "Document" AS integer
\r
2100 DESCRIPTION "The batch which this document is a part of."
\r
2106 COLUMN-LABEL "Batch"
\r
2107 COLUMN-LABEL-SA "C"
\r
2110 ADD FIELD "DocumentCode" OF "Document" AS integer
\r
2111 DESCRIPTION "The code used to refer to this document within the batch."
\r
2114 LABEL "Document No."
\r
2117 COLUMN-LABEL "Doc #"
\r
2118 COLUMN-LABEL-SA "C"
\r
2121 ADD FIELD "Description" OF "Document" AS character
\r
2122 DESCRIPTION "A description of this document."
\r
2129 ADD FIELD "Reference" OF "Document" AS character
\r
2130 DESCRIPTION "Any reference applying to this document."
\r
2137 ADD FIELD "TransactionCount" OF "Document" AS integer
\r
2138 DESCRIPTION "The total number of transactions which make up this document."
\r
2141 LABEL "Transactions"
\r
2144 COLUMN-LABEL "# Trn"
\r
2147 ADD FIELD "DocumentType" OF "Document" AS character
\r
2154 HELP "Journal, Cheque, Invoice, Voucher,Bank statement, ..."
\r
2159 ADD INDEX "Documents" ON "Document"
\r
2160 AREA "Schema Area"
\r
2163 INDEX-FIELD "BatchCode" ASCENDING
\r
2164 INDEX-FIELD "DocumentCode" ASCENDING
\r
2166 ADD TABLE "EntityType"
\r
2167 AREA "Schema Area"
\r
2168 DUMP-NAME "entityty"
\r
2170 ADD FIELD "EntityType" OF "EntityType" AS character
\r
2173 LABEL "Entity type code"
\r
2180 ADD FIELD "Description" OF "EntityType" AS character
\r
2188 ADD INDEX "XPKEntityTypes" ON "EntityType"
\r
2189 AREA "Schema Area"
\r
2192 INDEX-FIELD "EntityType" ASCENDING
\r
2194 ADD TABLE "FinancialYear"
\r
2195 AREA "Schema Area"
\r
2196 DUMP-NAME "financia"
\r
2198 ADD FIELD "FinancialYearCode" OF "FinancialYear" AS integer
\r
2199 DESCRIPTION "The code used to refer to a financial year."
\r
2207 ADD FIELD "Description" OF "FinancialYear" AS character
\r
2208 DESCRIPTION "Text describing the financial year."
\r
2216 ADD INDEX "FinancialYears" ON "FinancialYear"
\r
2217 AREA "Schema Area"
\r
2220 INDEX-FIELD "FinancialYearCode" ASCENDING
\r
2222 ADD TABLE "FrequencyType"
\r
2223 AREA "Schema Area"
\r
2224 DUMP-NAME "frequenc"
\r
2226 ADD FIELD "FrequencyCode" OF "FrequencyType" AS character
\r
2227 DESCRIPTION "The code used to refer to this kind of regularity"
\r
2235 ADD FIELD "DaysOfMonth" OF "FrequencyType" AS character
\r
2236 DESCRIPTION "The days of the month when it is valid for this frequency to occur, e.g. '8-14' would be the second week of the month."
\r
2239 LABEL "Days of month"
\r
2242 HELP "e.g 8-14 would be only during the second week."
\r
2246 ADD FIELD "DaysOfWeek" OF "FrequencyType" AS character
\r
2247 DESCRIPTION "The days of the week when it is valid for this repeat to occur, e.g. 'Mon-Fri' would allow the event only on business days."
\r
2250 LABEL "Days of week"
\r
2253 HELP "e.g. Mon-Fri would be only business days"
\r
2257 ADD FIELD "Description" OF "FrequencyType" AS character
\r
2258 DESCRIPTION "A description of this frequency - '5 per year' or 'Monthly' for example."
\r
2265 ADD FIELD "MonthsOfYear" OF "FrequencyType" AS character
\r
2266 DESCRIPTION "The months of the year when it is valid for this frequency to occur, e.g. '2,7,11' would mean the event could only happen in February, July, and November."
\r
2269 LABEL "Months of year"
\r
2272 HELP "e.g. 2,7 would mean only February and July"
\r
2276 ADD FIELD "RepeatUnits" OF "FrequencyType" AS character
\r
2277 DESCRIPTION "A code identifying the type of units that this frequency repeats with (e.g. Day, Week, Month, Year, Arbitrary)"
\r
2280 LABEL "Repeat units"
\r
2283 HELP "Units for the repeat frequency (Day, Month, Year...)"
\r
2288 ADD FIELD "UnitCount" OF "FrequencyType" AS integer
\r
2289 DESCRIPTION "The number of repeat units involved in a cycle, i.e. '2' months, '73' days"
\r
2292 LABEL "No of Units"
\r
2295 HELP "No of units between occurrences"
\r
2298 ADD INDEX "XPKFrequencyType" ON "FrequencyType"
\r
2299 AREA "Schema Area"
\r
2302 INDEX-FIELD "FrequencyCode" ASCENDING
\r
2304 ADD TABLE "GroundLease"
\r
2305 AREA "Schema Area"
\r
2306 DUMP-NAME "groundle"
\r
2308 ADD FIELD "PropertyCode" OF "GroundLease" AS integer
\r
2309 DESCRIPTION "The code of the property which this ground lease applies to."
\r
2317 ADD FIELD "TitleCode" OF "GroundLease" AS integer
\r
2318 DESCRIPTION "The code of the property which this ground lease is for."
\r
2326 ADD FIELD "GroundLeaseCode" OF "GroundLease" AS integer
\r
2327 DESCRIPTION "The sequence of this ground lease within the title. Just reassure me: there won't always be just one, will there?"
\r
2330 LABEL "Ground lease code"
\r
2335 ADD FIELD "LeaseExpiry" OF "GroundLease" AS date
\r
2336 DESCRIPTION "The date on which the lease expires."
\r
2337 FORMAT "99/99/9999"
\r
2344 ADD FIELD "Lessor" OF "GroundLease" AS integer
\r
2345 DESCRIPTION "The creditor who we lease this from."
\r
2352 ADD FIELD "NextRentReview" OF "GroundLease" AS date
\r
2353 DESCRIPTION "The date of the next rent review"
\r
2354 FORMAT "99/99/9999"
\r
2356 LABEL "Next Review"
\r
2361 ADD FIELD "Rental" OF "GroundLease" AS decimal
\r
2362 DESCRIPTION "The annual rental paid for this lease."
\r
2363 FORMAT "->>,>>9.99"
\r
2370 ADD FIELD "RentReviewNotice" OF "GroundLease" AS integer
\r
2371 DESCRIPTION "The number of months notice required prior to a rent review being applied."
\r
2374 LABEL "Review notice"
\r
2377 HELP "Notice required prior to rent review (months)"
\r
2380 ADD FIELD "RightsOfRenewal" OF "GroundLease" AS character
\r
2381 DESCRIPTION "The rights of renewal for the ground lease."
\r
2384 LABEL "Rights of renewal"
\r
2390 ADD FIELD "NoteCode" OF "GroundLease" AS integer
\r
2391 DESCRIPTION "A unique code identifying this note."
\r
2398 ADD INDEX "XPKGroundLeases" ON "GroundLease"
\r
2399 AREA "Schema Area"
\r
2402 INDEX-FIELD "PropertyCode" ASCENDING
\r
2403 INDEX-FIELD "GroundLeaseCode" ASCENDING
\r
2405 ADD TABLE "Guarantor"
\r
2406 AREA "Schema Area"
\r
2407 DUMP-NAME "guaranto"
\r
2409 ADD FIELD "TenancyLeaseCode" OF "Guarantor" AS integer
\r
2410 DESCRIPTION "The lease this person/organisation is acting as a guarantor for."
\r
2413 LABEL "Lease code"
\r
2418 ADD FIELD "PersonCode" OF "Guarantor" AS integer
\r
2419 DESCRIPTION "The person/organisation acting as a guarantor for this lease."
\r
2422 LABEL "Person code"
\r
2428 ADD FIELD "AnyData" OF "Guarantor" AS character
\r
2429 DESCRIPTION "Any data we want to store against each lease guarantor."
\r
2434 HELP "Whatever we want."
\r
2438 ADD FIELD "Type" OF "Guarantor" AS character
\r
2446 ADD FIELD "Limit" OF "Guarantor" AS decimal
\r
2447 FORMAT ">>,>>>,>>9.99"
\r
2454 ADD INDEX "Guarantors" ON "Guarantor"
\r
2455 AREA "Schema Area"
\r
2458 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
2459 INDEX-FIELD "PersonCode" ASCENDING
\r
2462 AREA "Schema Area"
\r
2465 ADD FIELD "PropertyCode" OF "Image" AS integer
\r
2472 ADD FIELD "ImageCode" OF "Image" AS integer
\r
2473 DESCRIPTION "A code used to refer to this image"
\r
2480 ADD FIELD "Description" OF "Image" AS integer
\r
2481 DESCRIPTION "A description of the image"
\r
2489 ADD FIELD "ImageData" OF "Image" AS character
\r
2490 DESCRIPTION "The actual image. Probably implemented as a reference to an external file."
\r
2497 ADD FIELD "ImageType" OF "Image" AS character
\r
2498 DESCRIPTION "The type of image data, e.g. JPEG, GIF, Photo CD, AutoCAD Drawing etc."
\r
2506 ADD FIELD "RentalSpaceCode" OF "Image" AS integer
\r
2507 DESCRIPTION "The rental space that this image applies to, or blank if it applies to the whole property."
\r
2514 ADD INDEX "Images" ON "Image"
\r
2515 AREA "Schema Area"
\r
2518 INDEX-FIELD "PropertyCode" ASCENDING
\r
2519 INDEX-FIELD "ImageCode" ASCENDING
\r
2521 ADD INDEX "XAK1Images" ON "Image"
\r
2522 AREA "Schema Area"
\r
2523 INDEX-FIELD "PropertyCode" ASCENDING
\r
2525 ADD INDEX "XAK2Images" ON "Image"
\r
2526 AREA "Schema Area"
\r
2527 INDEX-FIELD "RentalSpaceCode" ASCENDING
\r
2529 ADD TABLE "ImageType"
\r
2530 AREA "Schema Area"
\r
2531 DUMP-NAME "imagetyp"
\r
2533 ADD FIELD "ImageType" OF "ImageType" AS character
\r
2541 ADD FIELD "Description" OF "ImageType" AS character
\r
2548 ADD FIELD "ImageViewer" OF "ImageType" AS character
\r
2556 ADD INDEX "XPKImageTypes" ON "ImageType"
\r
2557 AREA "Schema Area"
\r
2560 INDEX-FIELD "ImageType" ASCENDING
\r
2562 ADD TABLE "LeaseImage"
\r
2563 AREA "Schema Area"
\r
2564 DUMP-NAME "leaseima"
\r
2566 ADD FIELD "LeaseImageSeq" OF "LeaseImage" AS integer
\r
2574 ADD FIELD "TenancyLeaseCode" OF "LeaseImage" AS integer
\r
2581 ADD FIELD "PropertyCode" OF "LeaseImage" AS integer
\r
2588 ADD FIELD "TitleCode" OF "LeaseImage" AS integer
\r
2595 ADD FIELD "GroundLeaseCode" OF "LeaseImage" AS integer
\r
2602 ADD FIELD "Description" OF "LeaseImage" AS character
\r
2609 ADD INDEX "XPKLeaseImages" ON "LeaseImage"
\r
2610 AREA "Schema Area"
\r
2613 INDEX-FIELD "LeaseImageSeq" ASCENDING
\r
2615 ADD TABLE "LeaseImagePage"
\r
2616 AREA "Schema Area"
\r
2617 DUMP-NAME "leaseim1"
\r
2619 ADD FIELD "LeaseImageSeq" OF "LeaseImagePage" AS integer
\r
2627 ADD FIELD "PageNumber" OF "LeaseImagePage" AS integer
\r
2635 ADD FIELD "ImageReference" OF "LeaseImagePage" AS character
\r
2642 ADD FIELD "ContentDescription" OF "LeaseImagePage" AS character
\r
2649 ADD INDEX "XPKLeaseImagePages" ON "LeaseImagePage"
\r
2650 AREA "Schema Area"
\r
2653 INDEX-FIELD "LeaseImageSeq" ASCENDING
\r
2654 INDEX-FIELD "PageNumber" ASCENDING
\r
2656 ADD TABLE "LeaseIndex"
\r
2657 AREA "Schema Area"
\r
2658 DUMP-NAME "leaseind"
\r
2660 ADD FIELD "LeaseIndexSeq" OF "LeaseIndex" AS integer
\r
2668 ADD FIELD "Searchword" OF "LeaseIndex" AS character
\r
2675 ADD FIELD "LeaseImageSeq" OF "LeaseIndex" AS integer
\r
2683 ADD FIELD "PageNumber" OF "LeaseIndex" AS integer
\r
2691 ADD INDEX "XPKLeaseIndex" ON "LeaseIndex"
\r
2692 AREA "Schema Area"
\r
2695 INDEX-FIELD "LeaseIndexSeq" ASCENDING
\r
2697 ADD TABLE "LeaseStatus"
\r
2698 AREA "Schema Area"
\r
2699 DUMP-NAME "leasesta"
\r
2701 ADD FIELD "LeaseStatus" OF "LeaseStatus" AS character
\r
2709 ADD FIELD "Description" OF "LeaseStatus" AS character
\r
2716 ADD INDEX "XPKLeaseStatuses" ON "LeaseStatus"
\r
2717 AREA "Schema Area"
\r
2720 INDEX-FIELD "LeaseStatus" ASCENDING
\r
2722 ADD TABLE "LeaseType"
\r
2723 AREA "Schema Area"
\r
2724 DUMP-NAME "leasetyp"
\r
2726 ADD FIELD "LeaseType" OF "LeaseType" AS character
\r
2734 ADD FIELD "Description" OF "LeaseType" AS character
\r
2741 ADD INDEX "XPKLeaseTypes" ON "LeaseType"
\r
2742 AREA "Schema Area"
\r
2745 INDEX-FIELD "LeaseType" ASCENDING
\r
2748 AREA "Schema Area"
\r
2750 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrmonth.p" CRC "?"
\r
2752 ADD FIELD "MonthCode" OF "Month" AS integer
\r
2753 DESCRIPTION "The code used to refer to a month."
\r
2760 ADD FIELD "MonthName" OF "Month" AS character
\r
2761 DESCRIPTION "The name of the month, such as 'January', or 'Year End Journals'."
\r
2770 ADD FIELD "FinancialYearCode" OF "Month" AS integer
\r
2771 DESCRIPTION "The financial year that this month is part of."
\r
2780 ADD FIELD "MonthStatus" OF "Month" AS character
\r
2788 ADD FIELD "StartDate" OF "Month" AS date
\r
2789 FORMAT "99/99/9999"
\r
2791 LABEL "Start date"
\r
2794 HELP "The first day of the month"
\r
2797 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "a-mthstd.p" CRC "?"
\r
2799 ADD FIELD "EndDate" OF "Month" AS date
\r
2800 FORMAT "99/99/9999"
\r
2801 INITIAL "12/31/2075"
\r
2805 COLUMN-LABEL "Ending"
\r
2808 ADD FIELD "LastModifiedDate" OF "Month" AS date
\r
2809 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
2810 FORMAT "99/99/9999"
\r
2811 INITIAL "1/1/0001"
\r
2817 ADD FIELD "LastModifiedTime" OF "Month" AS integer
\r
2818 DESCRIPTION "The time that this record was last modified"
\r
2819 FORMAT "->,>>>,>>9"
\r
2825 ADD FIELD "LastModifiedUser" OF "Month" AS character
\r
2826 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
2834 ADD FIELD "AuditRecordId" OF "Month" AS integer
\r
2835 FORMAT "->,>>>,>>9"
\r
2841 ADD INDEX "XAK1Months" ON "Month"
\r
2842 AREA "Schema Area"
\r
2845 INDEX-FIELD "FinancialYearCode" ASCENDING
\r
2846 INDEX-FIELD "MonthCode" ASCENDING
\r
2848 ADD INDEX "XAK2Months" ON "Month"
\r
2849 AREA "Schema Area"
\r
2851 INDEX-FIELD "StartDate" ASCENDING
\r
2853 ADD INDEX "XAK3Months" ON "Month"
\r
2854 AREA "Schema Area"
\r
2856 INDEX-FIELD "MonthCode" ASCENDING
\r
2858 ADD INDEX "XPKMonths" ON "Month"
\r
2859 AREA "Schema Area"
\r
2860 INDEX-FIELD "EndDate" ASCENDING
\r
2862 ADD TABLE "MonthName"
\r
2863 AREA "Schema Area"
\r
2864 DUMP-NAME "monthnam"
\r
2866 ADD FIELD "MonthName" OF "MonthName" AS character
\r
2874 ADD FIELD "Description" OF "MonthName" AS character
\r
2881 ADD INDEX "XPKMonthNames" ON "MonthName"
\r
2882 AREA "Schema Area"
\r
2885 INDEX-FIELD "MonthName" ASCENDING
\r
2887 ADD TABLE "MonthStatus"
\r
2888 AREA "Schema Area"
\r
2889 DUMP-NAME "monthsta"
\r
2891 ADD FIELD "MonthStatus" OF "MonthStatus" AS character
\r
2899 ADD FIELD "Description" OF "MonthStatus" AS character
\r
2906 ADD INDEX "XPKMonthStatus" ON "MonthStatus"
\r
2907 AREA "Schema Area"
\r
2910 INDEX-FIELD "MonthStatus" ASCENDING
\r
2913 AREA "Schema Area"
\r
2915 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crnote.p" CRC "?"
\r
2917 ADD FIELD "NoteCode" OF "Note" AS integer
\r
2918 DESCRIPTION "A unique code identifying this note."
\r
2926 ADD FIELD "Details" OF "Note" AS character
\r
2927 DESCRIPTION "A note relating to the current record"
\r
2932 VIEW-AS "VIEW-AS EDITOR INNER-CHARS 100 INNER-LINES 7 SCROLLBAR-VERTICAL"
\r
2937 ADD FIELD "NoteTable" OF "Note" AS character
\r
2944 ADD FIELD "NoteTableKey" OF "Note" AS character
\r
2951 ADD FIELD "NoteDate" OF "Note" AS date
\r
2952 FORMAT "99/99/9999"
\r
2958 ADD INDEX "XPKNote" ON "Note"
\r
2959 AREA "Schema Area"
\r
2962 INDEX-FIELD "NoteCode" ASCENDING
\r
2964 ADD TABLE "OutgoingsBasis"
\r
2965 AREA "Schema Area"
\r
2966 DUMP-NAME "outgoing"
\r
2968 ADD FIELD "OutgoingBasis" OF "OutgoingsBasis" AS character
\r
2976 ADD FIELD "Description" OF "OutgoingsBasis" AS character
\r
2983 ADD INDEX "XPKOutgoingsBasis" ON "OutgoingsBasis"
\r
2984 AREA "Schema Area"
\r
2987 INDEX-FIELD "OutgoingBasis" ASCENDING
\r
2989 ADD TABLE "Person"
\r
2990 AREA "Schema Area"
\r
2991 DUMP-NAME "person"
\r
2992 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crperson.p" CRC "?"
\r
2993 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deperson.p" CRC "?"
\r
2994 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrperson.p" CRC "?"
\r
2996 ADD FIELD "PersonCode" OF "Person" AS integer
\r
2997 DESCRIPTION "A code used to refer to this person."
\r
3000 LABEL "Person code"
\r
3003 COLUMN-LABEL "Person"
\r
3007 ADD FIELD "PersonTitle" OF "Person" AS character
\r
3013 HELP "Mr, Mrs, Ms, Sir and so forth"
\r
3016 ADD FIELD "DateOfBirth" OF "Person" AS date
\r
3017 DESCRIPTION "The person's date of birth, if known."
\r
3018 FORMAT "99/99/9999"
\r
3020 LABEL "Date of Birth"
\r
3023 COLUMN-LABEL "Birth date"
\r
3026 ADD FIELD "FirstName" OF "Person" AS character
\r
3027 DESCRIPTION "The person's first name"
\r
3030 LABEL "First name"
\r
3036 ADD FIELD "Company" OF "Person" AS character
\r
3044 ADD FIELD "GolfHandicap" OF "Person" AS integer
\r
3045 DESCRIPTION "The person's last known golf handicap."
\r
3048 LABEL "Golf handicap"
\r
3051 COLUMN-LABEL "H'cap"
\r
3054 ADD FIELD "LastName" OF "Person" AS character
\r
3055 DESCRIPTION "The person's last name"
\r
3064 ADD FIELD "Preferred" OF "Person" AS character
\r
3065 DESCRIPTION "A name that the person prefers to be called by, if this differs from their first name."
\r
3072 ADD FIELD "Sex" OF "Person" AS logical
\r
3073 DESCRIPTION "The person's sex."
\r
3074 FORMAT "Male/Female"
\r
3080 ADD FIELD "JobTitle" OF "Person" AS character
\r
3089 ADD FIELD "Office" OF "Person" AS character
\r
3097 ADD FIELD "CreatorID" OF "Person" AS character
\r
3105 ADD FIELD "LastModified" OF "Person" AS date
\r
3106 FORMAT "99/99/9999"
\r
3108 LABEL "Last modified"
\r
3113 ADD FIELD "Department" OF "Person" AS character
\r
3121 ADD FIELD "Spouse" OF "Person" AS character
\r
3129 ADD FIELD "LastValidated" OF "Person" AS date
\r
3130 FORMAT "99/99/9999"
\r
3137 ADD FIELD "Notes" OF "Person" AS integer
\r
3138 DESCRIPTION "A unique code identifying this note."
\r
3145 ADD FIELD "SystemContact" OF "Person" AS logical
\r
3146 DESCRIPTION "System maintained, indicates that this is _solely_ a system initiated contact."
\r
3153 ADD FIELD "SchedulePlusID" OF "Person" AS character
\r
3161 ADD FIELD "SortOn" OF "Person" AS character
\r
3168 ADD FIELD "Initials" OF "Person" AS character
\r
3175 ADD FIELD "MiddleNames" OF "Person" AS character
\r
3176 DESCRIPTION "The persons middle name or names"
\r
3181 HELP "The persons middle name or names"
\r
3184 ADD FIELD "NameSuffix" OF "Person" AS character
\r
3185 DESCRIPTION "Any suffix such as Snr or Jr following the persons name"
\r
3190 HELP "Any suffix such as Snr or Jr following the persons name"
\r
3193 ADD FIELD "MailOut" OF "Person" AS logical
\r
3194 DESCRIPTION "Is person OK to include in mailouts"
\r
3199 COLUMN-LABEL "Mail?"
\r
3200 HELP "Is person OK to include in mailouts"
\r
3203 ADD FIELD "TempGroup" OF "Person" AS logical
\r
3204 DESCRIPTION "Used for temporarily grouping people for bulk actions"
\r
3211 ADD INDEX "People" ON "Person"
\r
3212 AREA "Schema Area"
\r
3215 INDEX-FIELD "PersonCode" ASCENDING
\r
3217 ADD INDEX "XAK1People" ON "Person"
\r
3218 AREA "Schema Area"
\r
3219 INDEX-FIELD "Company" ASCENDING
\r
3220 INDEX-FIELD "LastName" ASCENDING
\r
3221 INDEX-FIELD "FirstName" ASCENDING
\r
3223 ADD INDEX "XAK2People" ON "Person"
\r
3224 AREA "Schema Area"
\r
3225 INDEX-FIELD "FirstName" ASCENDING
\r
3227 ADD INDEX "XAK3People" ON "Person"
\r
3228 AREA "Schema Area"
\r
3229 INDEX-FIELD "LastName" ASCENDING
\r
3230 INDEX-FIELD "FirstName" ASCENDING
\r
3231 INDEX-FIELD "Company" ASCENDING
\r
3233 ADD INDEX "XAK4People" ON "Person"
\r
3234 AREA "Schema Area"
\r
3235 INDEX-FIELD "Company" ASCENDING ABBREVIATED
\r
3237 ADD INDEX "XAK5People" ON "Person"
\r
3238 AREA "Schema Area"
\r
3239 INDEX-FIELD "SchedulePlusID" ASCENDING
\r
3241 ADD INDEX "XAKPeople-SCLF" ON "Person"
\r
3242 AREA "Schema Area"
\r
3243 INDEX-FIELD "SystemContact" ASCENDING
\r
3244 INDEX-FIELD "Company" ASCENDING
\r
3245 INDEX-FIELD "LastName" ASCENDING
\r
3246 INDEX-FIELD "FirstName" ASCENDING ABBREVIATED
\r
3248 ADD INDEX "XAKPeople-SLFC" ON "Person"
\r
3249 AREA "Schema Area"
\r
3250 INDEX-FIELD "SystemContact" ASCENDING
\r
3251 INDEX-FIELD "LastName" ASCENDING
\r
3252 INDEX-FIELD "FirstName" ASCENDING
\r
3253 INDEX-FIELD "Company" ASCENDING ABBREVIATED
\r
3255 ADD TABLE "PhoneDetail"
\r
3256 AREA "Schema Area"
\r
3257 DUMP-NAME "phonedet"
\r
3258 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crphndet.p" CRC "?"
\r
3259 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrphndet.p" CRC "?"
\r
3261 ADD FIELD "PersonCode" OF "PhoneDetail" AS integer
\r
3262 DESCRIPTION "The person that this phone number relates to"
\r
3269 ADD FIELD "PhoneType" OF "PhoneDetail" AS character
\r
3270 DESCRIPTION "The type of phone number that this is."
\r
3278 ADD FIELD "Number" OF "PhoneDetail" AS character
\r
3279 DESCRIPTION "The phone number"
\r
3286 ADD FIELD "CountryCode" OF "PhoneDetail" AS integer
\r
3294 ADD FIELD "STDCode" OF "PhoneDetail" AS integer
\r
3302 ADD FIELD "cCountryCode" OF "PhoneDetail" AS character
\r
3305 LABEL "Country Code"
\r
3308 COLUMN-LABEL "Country"
\r
3311 ADD FIELD "cSTDCode" OF "PhoneDetail" AS character
\r
3317 COLUMN-LABEL "STD"
\r
3320 ADD INDEX "PhoneDetails" ON "PhoneDetail"
\r
3321 AREA "Schema Area"
\r
3324 INDEX-FIELD "PersonCode" ASCENDING
\r
3325 INDEX-FIELD "PhoneType" ASCENDING
\r
3327 ADD INDEX "XAK1PhoneDetails" ON "PhoneDetail"
\r
3328 AREA "Schema Area"
\r
3329 INDEX-FIELD "CountryCode" ASCENDING
\r
3330 INDEX-FIELD "STDCode" ASCENDING
\r
3331 INDEX-FIELD "Number" ASCENDING
\r
3333 ADD INDEX "XAK2PhoneDetails" ON "PhoneDetail"
\r
3334 AREA "Schema Area"
\r
3335 INDEX-FIELD "cCountryCode" ASCENDING
\r
3336 INDEX-FIELD "cSTDCode" ASCENDING
\r
3337 INDEX-FIELD "PhoneType" ASCENDING
\r
3339 ADD TABLE "PhoneType"
\r
3340 AREA "Schema Area"
\r
3341 DUMP-NAME "phonetyp"
\r
3343 ADD FIELD "PhoneType" OF "PhoneType" AS character
\r
3351 ADD FIELD "Description" OF "PhoneType" AS character
\r
3358 ADD INDEX "XPKPhoneTypes" ON "PhoneType"
\r
3359 AREA "Schema Area"
\r
3362 INDEX-FIELD "PhoneType" ASCENDING
\r
3364 ADD TABLE "PostalDetail"
\r
3365 AREA "Schema Area"
\r
3366 DUMP-NAME "postalde"
\r
3367 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crpstdet.p" CRC "?"
\r
3368 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrpstdet.p" CRC "?"
\r
3370 ADD FIELD "PersonCode" OF "PostalDetail" AS integer
\r
3371 DESCRIPTION "The person that this postal address applies to"
\r
3378 ADD FIELD "PostalType" OF "PostalDetail" AS character
\r
3379 DESCRIPTION "The type of postal address that this is"
\r
3387 ADD FIELD "Address" OF "PostalDetail" AS character
\r
3388 DESCRIPTION "The postal address"
\r
3393 VIEW-AS "VIEW-AS EDITOR INNER-CHARS 40 INNER-LINES 3 SCROLLBAR-VERTICAL"
\r
3397 ADD FIELD "City" OF "PostalDetail" AS character
\r
3405 ADD FIELD "State" OF "PostalDetail" AS character
\r
3413 ADD FIELD "Country" OF "PostalDetail" AS character
\r
3421 ADD FIELD "Zip" OF "PostalDetail" AS character
\r
3429 ADD INDEX "PostalDetails" ON "PostalDetail"
\r
3430 AREA "Schema Area"
\r
3433 INDEX-FIELD "PersonCode" ASCENDING
\r
3434 INDEX-FIELD "PostalType" ASCENDING
\r
3436 ADD INDEX "XAK1PostalDetails" ON "PostalDetail"
\r
3437 AREA "Schema Area"
\r
3438 INDEX-FIELD "Country" ASCENDING
\r
3439 INDEX-FIELD "State" ASCENDING
\r
3440 INDEX-FIELD "City" ASCENDING
\r
3442 ADD TABLE "PostalType"
\r
3443 AREA "Schema Area"
\r
3444 DUMP-NAME "postalty"
\r
3446 ADD FIELD "PostalType" OF "PostalType" AS character
\r
3454 ADD FIELD "Description" OF "PostalType" AS character
\r
3461 ADD INDEX "XPKPostalType" ON "PostalType"
\r
3462 AREA "Schema Area"
\r
3465 INDEX-FIELD "PostalType" ASCENDING
\r
3467 ADD TABLE "Project"
\r
3468 AREA "Schema Area"
\r
3469 DUMP-NAME "project"
\r
3470 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crprjct.p" CRC "?"
\r
3471 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrprojct.p" CRC "?"
\r
3473 ADD FIELD "ProjectCode" OF "Project" AS integer
\r
3480 ADD FIELD "EntityType" OF "Project" AS character
\r
3483 LABEL "Entity type code"
\r
3490 ADD FIELD "Name" OF "Project" AS character
\r
3497 ADD FIELD "EntityCode" OF "Project" AS integer
\r
3503 COLUMN-LABEL-SA "C"
\r
3506 ADD FIELD "EntityAccount" OF "Project" AS decimal
\r
3507 DESCRIPTION "The code of the account."
\r
3517 ADD FIELD "LastModifiedDate" OF "Project" AS date
\r
3518 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
3519 FORMAT "99/99/9999"
\r
3520 INITIAL "1/1/0001"
\r
3526 ADD FIELD "LastModifiedTime" OF "Project" AS integer
\r
3527 DESCRIPTION "The time that this record was last modified"
\r
3528 FORMAT "->,>>>,>>9"
\r
3534 ADD FIELD "LastModifiedUser" OF "Project" AS character
\r
3535 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
3543 ADD FIELD "Proposer" OF "Project" AS integer
\r
3544 DESCRIPTION "A code used to refer to this proposer of this Project."
\r
3553 ADD FIELD "FirstApprover" OF "Project" AS character
\r
3554 DESCRIPTION "The short alphanumeric code that identifies this approver."
\r
3563 ADD FIELD "SecondApprover" OF "Project" AS character
\r
3564 DESCRIPTION "The short alphanumeric code that identifies this approver."
\r
3573 ADD FIELD "StartDate" OF "Project" AS date
\r
3574 FORMAT "99/99/9999"
\r
3576 LABEL "Start Date"
\r
3581 ADD FIELD "CompleteDate" OF "Project" AS date
\r
3582 FORMAT "99/99/9999"
\r
3584 LABEL "Completion Date"
\r
3589 ADD FIELD "ApprovedAmount" OF "Project" AS decimal
\r
3590 FORMAT ">>>,>>>,>>9.99"
\r
3592 LABEL "Approved Amount"
\r
3598 ADD FIELD "ExpenditureType" OF "Project" AS character
\r
3601 LABEL "Expenditure Type"
\r
3606 ADD FIELD "Description" OF "Project" AS character
\r
3613 ADD FIELD "ProposedDate" OF "Project" AS date
\r
3614 FORMAT "99/99/9999"
\r
3621 ADD FIELD "ApproveDate" OF "Project" AS date
\r
3622 FORMAT "99/99/9999"
\r
3624 LABEL "CapEx Approved"
\r
3629 ADD FIELD "SecondApproveDate" OF "Project" AS date
\r
3630 FORMAT "99/99/9999"
\r
3632 LABEL "2nd Approved"
\r
3637 ADD FIELD "ClosedDate" OF "Project" AS date
\r
3638 FORMAT "99/99/9999"
\r
3645 ADD FIELD "NotApprovedDate" OF "Project" AS date
\r
3646 FORMAT "99/99/9999"
\r
3648 LABEL "Not Approved"
\r
3653 ADD FIELD "NotApprovedReason" OF "Project" AS character
\r
3661 ADD FIELD "NotApprovedBy" OF "Project" AS integer
\r
3662 FORMAT "->,>>>,>>9"
\r
3668 ADD FIELD "BudgetsFrozen" OF "Project" AS logical
\r
3671 LABEL "Freeze Budgets"
\r
3676 ADD FIELD "Active" OF "Project" AS logical
\r
3677 DESCRIPTION "Flag to indicate whether the project is active or inactive"
\r
3684 ADD FIELD "ProjectType" OF "Project" AS character
\r
3692 ADD FIELD "BudgetAmount" OF "Project" AS decimal
\r
3693 DESCRIPTION "Amount proposed or budgetted for the project"
\r
3694 FORMAT "->>>,>>>,>>9.99"
\r
3698 HELP "Amount proposed or budgetted for the project"
\r
3702 ADD FIELD "Approved" OF "Project" AS logical
\r
3703 DESCRIPTION "Flag indicating approval status of the project"
\r
3708 HELP "Whether or not the capital expenditure is approved"
\r
3711 ADD FIELD "AreaSize" OF "Project" AS decimal
\r
3712 DESCRIPTION "Size of the area affected/created by the project to allow project costs to be apportioned on a PSM basis"
\r
3713 FORMAT "->>,>>9.99"
\r
3720 ADD INDEX "XPKProject" ON "Project"
\r
3721 AREA "Schema Area"
\r
3724 INDEX-FIELD "ProjectCode" ASCENDING
\r
3726 ADD INDEX "XAK1Project" ON "Project"
\r
3727 AREA "Schema Area"
\r
3728 INDEX-FIELD "EntityType" ASCENDING
\r
3729 INDEX-FIELD "EntityCode" ASCENDING
\r
3730 INDEX-FIELD "ProjectCode" ASCENDING
\r
3732 ADD INDEX "XAK2Projects" ON "Project"
\r
3733 AREA "Schema Area"
\r
3734 INDEX-FIELD "ProjectType" ASCENDING
\r
3735 INDEX-FIELD "StartDate" ASCENDING
\r
3736 INDEX-FIELD "ProjectCode" ASCENDING
\r
3738 ADD TABLE "Property"
\r
3739 AREA "Schema Area"
\r
3740 DUMP-NAME "property"
\r
3741 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrproper.p" CRC "?"
\r
3743 ADD FIELD "PropertyCode" OF "Property" AS integer
\r
3744 DESCRIPTION "The code used to refer to a property"
\r
3751 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "a-procde.p" CRC "?"
\r
3753 ADD FIELD "LocationDescription" OF "Property" AS integer
\r
3754 DESCRIPTION "Descriptive paragraphs about the location of the property."
\r
3763 ADD FIELD "Administrator" OF "Property" AS integer
\r
3764 DESCRIPTION "The staff member who is involved in administration of the property."
\r
3772 ADD FIELD "CompanyCode" OF "Property" AS integer
\r
3773 DESCRIPTION "The company which owns this property"
\r
3782 ADD FIELD "Name" OF "Property" AS character
\r
3783 DESCRIPTION "A name used to refer to this property."
\r
3790 ADD FIELD "ShortName" OF "Property" AS character
\r
3791 DESCRIPTION "A short name for this property which will be used as a column header on some reports"
\r
3794 LABEL "Short name"
\r
3800 ADD FIELD "StreetAddress" OF "Property" AS character
\r
3801 DESCRIPTION "The address of the property"
\r
3804 LABEL "Street address"
\r
3810 ADD FIELD "ChiefWarden" OF "Property" AS integer
\r
3811 DESCRIPTION "The person who is the chief building warden."
\r
3814 LABEL "Chief warden"
\r
3820 ADD FIELD "DeputyWarden" OF "Property" AS integer
\r
3821 DESCRIPTION "The person who is the deputy building warden."
\r
3824 LABEL "Deputy warden"
\r
3830 ADD FIELD "Manager" OF "Property" AS integer
\r
3831 DESCRIPTION "The staff member who manages the property"
\r
3839 ADD FIELD "Active" OF "Property" AS logical
\r
3840 DESCRIPTION "Flag to indicate whether the property is active or inactive"
\r
3847 ADD FIELD "ComplianceNo" OF "Property" AS character
\r
3850 LABEL "Compliance No"
\r
3853 HELP "The reference code for building warrant of fitness use"
\r
3856 ADD FIELD "Ranking" OF "Property" AS integer
\r
3857 DESCRIPTION "A number indicating this buildings ranking within the portfolio"
\r
3858 FORMAT "->,>>>,>>9"
\r
3862 HELP "A number indicating this buildings ranking within the portfolio"
\r
3865 ADD FIELD "NoteCode" OF "Property" AS integer
\r
3866 DESCRIPTION "A unique code identifying this note."
\r
3873 ADD FIELD "PurchaseAgreement" OF "Property" AS date
\r
3874 FORMAT "99/99/9999"
\r
3880 ADD FIELD "PurchasePrice" OF "Property" AS decimal
\r
3881 FORMAT ">>>,>>>,>>9.99"
\r
3888 ADD FIELD "PurchaseCosts" OF "Property" AS decimal
\r
3889 FORMAT ">>,>>>,>>9.99"
\r
3893 HELP "Costs associated with purchasing the property"
\r
3897 ADD FIELD "City" OF "Property" AS character
\r
3905 ADD FIELD "PurchasedFrom" OF "Property" AS character
\r
3913 ADD FIELD "PurchaseSettlement" OF "Property" AS date
\r
3914 FORMAT "99/99/9999"
\r
3920 ADD FIELD "SalePrice" OF "Property" AS decimal
\r
3921 FORMAT ">>>,>>>,>>9.99"
\r
3928 ADD FIELD "SaleAgreement" OF "Property" AS date
\r
3929 FORMAT "99/99/9999"
\r
3935 ADD FIELD "SoldTo" OF "Property" AS character
\r
3943 ADD FIELD "BuildingType" OF "Property" AS character
\r
3952 ADD FIELD "SaleSettlement" OF "Property" AS date
\r
3953 FORMAT "99/99/9999"
\r
3959 ADD FIELD "Region" OF "Property" AS character
\r
3960 DESCRIPTION "Code to refer to region the property is in"
\r
3965 HELP "Enter region code"
\r
3969 ADD FIELD "ExternallyManaged" OF "Property" AS logical
\r
3970 DESCRIPTION "True if the building is managed externally through a separated organisation."
\r
3976 COLUMN-LABEL "Ext"
\r
3979 ADD FIELD "LastModifiedDate" OF "Property" AS date
\r
3980 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
3981 FORMAT "99/99/9999"
\r
3982 INITIAL "1/1/0001"
\r
3988 ADD FIELD "LastModifiedTime" OF "Property" AS integer
\r
3989 DESCRIPTION "The time that this record was last modified"
\r
3990 FORMAT "->,>>>,>>9"
\r
3996 ADD FIELD "LastModifiedUser" OF "Property" AS character
\r
3997 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
4005 ADD FIELD "AuditRecordId" OF "Property" AS integer
\r
4006 FORMAT "->,>>>,>>9"
\r
4012 ADD FIELD "OpexEstimate" OF "Property" AS decimal
\r
4013 DESCRIPTION "Estimated OPEX PSM for the building."
\r
4014 FORMAT "->>>,>>>,>>9.99"
\r
4021 ADD FIELD "MarketRental" OF "Property" AS decimal
\r
4022 DESCRIPTION "Estimated Achievable Rental (Net Income) for the whole building"
\r
4023 FORMAT "->>>,>>>,>>9.99"
\r
4025 LABEL "Market Rental"
\r
4031 ADD FIELD "WofExpiryDate" OF "Property" AS date
\r
4032 FORMAT "99/99/9999"
\r
4034 LABEL "WOF Expiry"
\r
4039 ADD FIELD "BusIntIndemnityPeriod" OF "Property" AS integer
\r
4042 LABEL "Indemnity period"
\r
4047 ADD FIELD "InsuranceBroker" OF "Property" AS integer
\r
4048 FORMAT "->,>>>,>>9"
\r
4054 ADD FIELD "TotalArea" OF "Property" AS decimal
\r
4055 FORMAT "->,>>>,>>9.999"
\r
4057 LABEL "Total Area"
\r
4063 ADD FIELD "TotalParks" OF "Property" AS integer
\r
4064 FORMAT "->,>>>,>>9"
\r
4066 LABEL "Total Parks"
\r
4071 ADD FIELD "ReconciliationDue" OF "Property" AS date
\r
4072 FORMAT "99/99/9999"
\r
4074 LABEL "Annual Rec Due"
\r
4077 COLUMN-LABEL "Annual Rec"
\r
4078 HELP "The date that the annual o/g reconciliation is due."
\r
4081 ADD FIELD "MarketCarpark" OF "Property" AS decimal
\r
4082 DESCRIPTION "Market rental for carparks in this building"
\r
4083 FORMAT "->>,>>9.99"
\r
4087 HELP "Market rental for carparks in this building"
\r
4091 ADD INDEX "Properties" ON "Property"
\r
4092 AREA "Schema Area"
\r
4095 INDEX-FIELD "PropertyCode" ASCENDING
\r
4097 ADD INDEX "XAK1Properties" ON "Property"
\r
4098 AREA "Schema Area"
\r
4099 INDEX-FIELD "ShortName" ASCENDING ABBREVIATED
\r
4101 ADD INDEX "XAKRegion" ON "Property"
\r
4102 AREA "Schema Area"
\r
4103 INDEX-FIELD "Region" ASCENDING ABBREVIATED
\r
4105 ADD TABLE "PropertyTitle"
\r
4106 AREA "Schema Area"
\r
4107 DUMP-NAME "propert2"
\r
4109 ADD FIELD "PropertyCode" OF "PropertyTitle" AS integer
\r
4110 DESCRIPTION "The code of the property which this title relates to."
\r
4117 ADD FIELD "TitleCode" OF "PropertyTitle" AS integer
\r
4118 DESCRIPTION "The sequence of this title within the property"
\r
4125 ADD FIELD "CTReference" OF "PropertyTitle" AS character
\r
4126 DESCRIPTION "The reference to the certificate of title."
\r
4133 ADD FIELD "Easements" OF "PropertyTitle" AS character
\r
4134 DESCRIPTION "Descriptions of any easements"
\r
4141 ADD FIELD "LegalDescription" OF "PropertyTitle" AS character
\r
4142 DESCRIPTION "The legal description of the title."
\r
4149 ADD FIELD "RightsOfWay" OF "PropertyTitle" AS character
\r
4150 DESCRIPTION "Descriptions of any rights of way."
\r
4157 ADD FIELD "WhereHeld" OF "PropertyTitle" AS character
\r
4158 DESCRIPTION "Where the original title documents are held (usually a lawyer?). Could we use a lookup table? Discuss with AP."
\r
4165 ADD INDEX "Titles" ON "PropertyTitle"
\r
4166 AREA "Schema Area"
\r
4169 INDEX-FIELD "PropertyCode" ASCENDING
\r
4170 INDEX-FIELD "TitleCode" ASCENDING
\r
4172 ADD TABLE "RentReview"
\r
4173 AREA "Schema Area"
\r
4174 DUMP-NAME "rentrevi"
\r
4175 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrrntrvw.p" CRC "?"
\r
4177 ADD FIELD "TenancyLeaseCode" OF "RentReview" AS integer
\r
4178 DESCRIPTION "The lease that this rent review applies to."
\r
4185 ADD FIELD "DateDue" OF "RentReview" AS date
\r
4186 DESCRIPTION "The date on which this rent review is due"
\r
4187 FORMAT "99/99/9999"
\r
4193 ADD FIELD "DateComplete" OF "RentReview" AS date
\r
4194 DESCRIPTION "The date on which this rent review was completed"
\r
4195 FORMAT "99/99/9999"
\r
4201 ADD FIELD "EstimateBasis" OF "RentReview" AS character
\r
4202 DESCRIPTION "A brief description of the basis of the market rental estimate."
\r
4209 ADD FIELD "MarketRental" OF "RentReview" AS decimal
\r
4210 DESCRIPTION "The estimated rental for the lease at current market rates."
\r
4211 FORMAT "->>,>>>,>>9.99"
\r
4218 ADD FIELD "MarketRentalDate" OF "RentReview" AS date
\r
4219 DESCRIPTION "The date at which the market rental was last estimated."
\r
4220 FORMAT "99/99/9999"
\r
4226 ADD FIELD "NewRentAppliesFrom" OF "RentReview" AS date
\r
4227 DESCRIPTION "The date from which the new rent will apply. This may be prior to the new rent start date, which would indicate that a portion would be charged in arrears on that date."
\r
4228 FORMAT "99/99/9999"
\r
4234 ADD FIELD "NewRentStart" OF "RentReview" AS date
\r
4235 DESCRIPTION "The date on which the tenant will first be charged for the new rental"
\r
4236 FORMAT "99/99/9999"
\r
4242 ADD FIELD "ReviewStatus" OF "RentReview" AS character
\r
4250 ADD FIELD "ReviewType" OF "RentReview" AS character
\r
4258 ADD FIELD "OldRental" OF "RentReview" AS decimal
\r
4259 FORMAT "->>,>>>,>>9.99"
\r
4261 LABEL "Old Rental"
\r
4267 ADD FIELD "NewRental" OF "RentReview" AS decimal
\r
4268 FORMAT "->>,>>>,>>9.99"
\r
4270 LABEL "New Rental"
\r
4276 ADD FIELD "LastModifiedDate" OF "RentReview" AS date
\r
4277 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
4278 FORMAT "99/99/9999"
\r
4279 INITIAL "1/1/0001"
\r
4285 ADD FIELD "LastModifiedTime" OF "RentReview" AS integer
\r
4286 DESCRIPTION "The time that this record was last modified"
\r
4287 FORMAT "->,>>>,>>9"
\r
4293 ADD FIELD "LastModifiedUser" OF "RentReview" AS character
\r
4294 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
4302 ADD FIELD "AuditRecordId" OF "RentReview" AS integer
\r
4303 FORMAT "->,>>>,>>9"
\r
4309 ADD FIELD "Earliest" OF "RentReview" AS date
\r
4310 DESCRIPTION "Earliest date at which the rent review can be done"
\r
4311 FORMAT "99/99/9999"
\r
4317 ADD FIELD "Latest" OF "RentReview" AS date
\r
4318 DESCRIPTION "Latest date at which the rent review can be done"
\r
4319 FORMAT "99/99/9999"
\r
4325 ADD INDEX "RentReviews" ON "RentReview"
\r
4326 AREA "Schema Area"
\r
4329 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
4330 INDEX-FIELD "DateDue" ASCENDING
\r
4332 ADD INDEX "XAK1RentReviews" ON "RentReview"
\r
4333 AREA "Schema Area"
\r
4334 INDEX-FIELD "DateDue" ASCENDING
\r
4336 ADD TABLE "ReviewStatus"
\r
4337 AREA "Schema Area"
\r
4338 DUMP-NAME "reviewst"
\r
4340 ADD FIELD "ReviewStatus" OF "ReviewStatus" AS character
\r
4348 ADD FIELD "Description" OF "ReviewStatus" AS character
\r
4355 ADD INDEX "XPKReviewStatus" ON "ReviewStatus"
\r
4356 AREA "Schema Area"
\r
4359 INDEX-FIELD "ReviewStatus" ASCENDING
\r
4361 ADD TABLE "ReviewType"
\r
4362 AREA "Schema Area"
\r
4363 DUMP-NAME "reviewty"
\r
4365 ADD FIELD "ReviewType" OF "ReviewType" AS character
\r
4373 ADD FIELD "Description" OF "ReviewType" AS character
\r
4380 ADD INDEX "XPKReviewTypes" ON "ReviewType"
\r
4381 AREA "Schema Area"
\r
4384 INDEX-FIELD "ReviewType" ASCENDING
\r
4386 ADD TABLE "Scenario"
\r
4387 AREA "Schema Area"
\r
4388 DUMP-NAME "scenario"
\r
4390 ADD FIELD "ScenarioCode" OF "Scenario" AS integer
\r
4391 DESCRIPTION "A code to identify the scenario."
\r
4398 ADD FIELD "Description" OF "Scenario" AS character
\r
4405 ADD FIELD "Name" OF "Scenario" AS character
\r
4406 DESCRIPTION "A brief name to identify the scenario"
\r
4413 ADD FIELD "PersonCode" OF "Scenario" AS integer
\r
4414 DESCRIPTION "A code used to refer to the person who created the scenario."
\r
4417 LABEL "Person code"
\r
4420 COLUMN-LABEL "Person"
\r
4424 ADD FIELD "ScenarioStatus" OF "Scenario" AS character
\r
4432 ADD FIELD "ModificationRights" OF "Scenario" AS character
\r
4439 ADD INDEX "Scenarios" ON "Scenario"
\r
4440 AREA "Schema Area"
\r
4443 INDEX-FIELD "ScenarioCode" ASCENDING
\r
4445 ADD TABLE "ScenarioStatus"
\r
4446 AREA "Schema Area"
\r
4447 DUMP-NAME "scenari1"
\r
4449 ADD FIELD "ScenarioStatus" OF "ScenarioStatus" AS character
\r
4457 ADD FIELD "Description" OF "ScenarioStatus" AS character
\r
4464 ADD INDEX "XPKScenarioStatus" ON "ScenarioStatus"
\r
4465 AREA "Schema Area"
\r
4468 INDEX-FIELD "ScenarioStatus" ASCENDING
\r
4470 ADD TABLE "ServiceType"
\r
4471 AREA "Schema Area"
\r
4472 DUMP-NAME "servicet"
\r
4474 ADD FIELD "ServiceType" OF "ServiceType" AS character
\r
4482 ADD FIELD "Description" OF "ServiceType" AS character
\r
4489 ADD FIELD "AccountCode" OF "ServiceType" AS decimal
\r
4490 DESCRIPTION "The aacount that this service type applies to."
\r
4499 ADD FIELD "NRAccountCode" OF "ServiceType" AS decimal
\r
4500 DESCRIPTION "The code of the account when the service contract is specified as non-recoverable"
\r
4509 ADD INDEX "XPKServiceTypes" ON "ServiceType"
\r
4510 AREA "Schema Area"
\r
4513 INDEX-FIELD "ServiceType" ASCENDING
\r
4515 ADD TABLE "StreetFrontage"
\r
4516 AREA "Schema Area"
\r
4517 DUMP-NAME "streetfr"
\r
4519 ADD FIELD "PropertyCode" OF "StreetFrontage" AS integer
\r
4520 DESCRIPTION "The property which this street frontage applies to"
\r
4527 ADD FIELD "FrontageCode" OF "StreetFrontage" AS integer
\r
4528 DESCRIPTION "A sequence number for this street frontage."
\r
4535 ADD FIELD "Description" OF "StreetFrontage" AS character
\r
4543 ADD FIELD "Length" OF "StreetFrontage" AS decimal
\r
4544 DESCRIPTION "The length of the street frontage, in metres."
\r
4545 FORMAT "->>,>>9.99"
\r
4552 ADD FIELD "RentalSpaceCode" OF "StreetFrontage" AS integer
\r
4553 DESCRIPTION "A rental space that this street frontage applies to, or blank if it applies to a title."
\r
4560 ADD FIELD "TitleCode" OF "StreetFrontage" AS integer
\r
4561 DESCRIPTION "A title that this street frontage applies to, or blank if it applies to a rental space."
\r
4568 ADD INDEX "StreetFrontages" ON "StreetFrontage"
\r
4569 AREA "Schema Area"
\r
4572 INDEX-FIELD "PropertyCode" ASCENDING
\r
4573 INDEX-FIELD "FrontageCode" ASCENDING
\r
4575 ADD TABLE "TenancyLease"
\r
4576 AREA "Schema Area"
\r
4577 DUMP-NAME "tenancyl"
\r
4578 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crtlscde.p" CRC "?"
\r
4579 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "detntlse.p" CRC "?"
\r
4580 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrtntlse.p" CRC "?"
\r
4582 ADD FIELD "TenancyLeaseCode" OF "TenancyLease" AS integer
\r
4583 DESCRIPTION "A code used to refer to this tenancy lease"
\r
4591 ADD FIELD "AssignedLeaseCode" OF "TenancyLease" AS integer
\r
4592 DESCRIPTION "The prior lease in the chain of assigned leases."
\r
4595 LABEL "Assigned to"
\r
4600 ADD FIELD "AssignmentDate" OF "TenancyLease" AS date
\r
4601 DESCRIPTION "The date on which this lease was assigned from the prior one."
\r
4602 FORMAT "99/99/9999"
\r
4604 LABEL "Assign date"
\r
4609 ADD FIELD "LeaseEndDate" OF "TenancyLease" AS date
\r
4610 DESCRIPTION "The date on which the lease ends."
\r
4611 FORMAT "99/99/9999"
\r
4618 ADD FIELD "LeaseStartDate" OF "TenancyLease" AS date
\r
4619 DESCRIPTION "The date that the lease commenced (which could be in the future)."
\r
4620 FORMAT "99/99/9999"
\r
4622 LABEL "Lease start"
\r
4627 ADD FIELD "LeaseStatus" OF "TenancyLease" AS character
\r
4637 ADD FIELD "LeaseType" OF "TenancyLease" AS character
\r
4638 DESCRIPTION "A code classifying the type of lease."
\r
4648 ADD FIELD "NoteCode" OF "TenancyLease" AS integer
\r
4649 DESCRIPTION "Any notes relating to this lease"
\r
4657 ADD FIELD "RatchetClause" OF "TenancyLease" AS character
\r
4658 DESCRIPTION "The type of ratchet clause included in the lease, e.g. None, Full, Partial etc."
\r
4664 HELP "Ratchet clause type: None, full, part etc."
\r
4668 ADD FIELD "RentStartDate" OF "TenancyLease" AS date
\r
4669 FORMAT "99/99/9999"
\r
4671 LABEL "Rent start"
\r
4674 HELP "The date on which the tenant starts being liable for rent"
\r
4677 ADD FIELD "ReviewNoticePeriod" OF "TenancyLease" AS integer
\r
4680 LABEL "Review notice"
\r
4683 COLUMN-LABEL "RR notice"
\r
4684 HELP "The number of months of notice required for a rent review."
\r
4687 ADD FIELD "RightsOfRenewal" OF "TenancyLease" AS character
\r
4690 LABEL "Rights of Renewal"
\r
4693 COLUMN-LABEL "RoR"
\r
4694 HELP "The rights of renewal written into the lease."
\r
4698 ADD FIELD "RORNoticePeriod" OF "TenancyLease" AS integer
\r
4699 DESCRIPTION "The number of months of notice required for exercise of the rights of renewal."
\r
4702 LABEL "RoR notice"
\r
4705 HELP "Months notice required for exercise of renewal rights"
\r
4708 ADD FIELD "TenantCode" OF "TenancyLease" AS integer
\r
4709 DESCRIPTION "The tenant who should be billed with transactions relating to this lease. This should be the same as the TenancyLeaseCode unless people change their minds..."
\r
4715 HELP "The tenant code for accounting for this lease."
\r
4718 ADD FIELD "DocumentLocation" OF "TenancyLease" AS integer
\r
4719 DESCRIPTION "The current location of the lease
\r
4720 Foreign key on the 'Note' table."
\r
4723 LABEL "Document Location Notes"
\r
4726 COLUMN-LABEL "NotesKey"
\r
4727 HELP "A 'note' indicating the current location of the lease docs."
\r
4730 ADD FIELD "RecoveryType" OF "TenancyLease" AS character
\r
4735 HELP "The method of Outgoings Recovery: F=Fixed, B=Budget, N=None"
\r
4738 ADD FIELD "PropertyCode" OF "TenancyLease" AS integer
\r
4739 DESCRIPTION "The property that the rental spaces in this lease are a part of."
\r
4747 ADD FIELD "TermYears" OF "TenancyLease" AS integer
\r
4755 ADD FIELD "TermMonths" OF "TenancyLease" AS integer
\r
4760 VALEXP "TermMonths >= 0 AND TermMonths < 12"
\r
4761 VALMSG "Must be between 0 and 11"
\r
4764 ADD FIELD "TermDays" OF "TenancyLease" AS integer
\r
4769 VALEXP "TermDays >= 0 AND TermDays < 32"
\r
4770 VALMSG "Must be between 0 and 31"
\r
4773 ADD FIELD "ElectricityUnitRate" OF "TenancyLease" AS decimal
\r
4776 LABEL "Electricity Rate"
\r
4782 ADD FIELD "OutgoingsBudget" OF "TenancyLease" AS decimal
\r
4783 DESCRIPTION "Basis for charging outgoings to a tenant."
\r
4784 FORMAT ">,>>>,>>9.99"
\r
4791 ADD FIELD "TaxApplies" OF "TenancyLease" AS logical
\r
4794 LABEL "Tax applies"
\r
4797 COLUMN-LABEL "Taxable"
\r
4800 ADD FIELD "LastModifiedDate" OF "TenancyLease" AS date
\r
4801 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
4802 FORMAT "99/99/9999"
\r
4803 INITIAL "1/1/0001"
\r
4809 ADD FIELD "LastModifiedTime" OF "TenancyLease" AS integer
\r
4810 DESCRIPTION "The time that this record was last modified"
\r
4811 FORMAT "->,>>>,>>9"
\r
4817 ADD FIELD "LastModifiedUser" OF "TenancyLease" AS character
\r
4818 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
4826 ADD FIELD "AuditRecordId" OF "TenancyLease" AS integer
\r
4827 FORMAT "->,>>>,>>9"
\r
4833 ADD FIELD "RentEndDate" OF "TenancyLease" AS date
\r
4834 FORMAT "99/99/9999"
\r
4839 HELP "The date on which the tenant stops being liable for rent"
\r
4842 ADD FIELD "IncentiveNotes" OF "TenancyLease" AS character
\r
4843 DESCRIPTION "Just some notes that get written in when the lease is settled (i.e when a new lease is setup)."
\r
4851 ADD FIELD "PrimarySpace" OF "TenancyLease" AS integer
\r
4852 DESCRIPTION "A sequence number which identifies the primary rental space within the property."
\r
4855 LABEL "Primary Space"
\r
4858 COLUMN-LABEL "Primary"
\r
4861 ADD FIELD "OutgoingsRate" OF "TenancyLease" AS decimal
\r
4870 ADD FIELD "GrossLease" OF "TenancyLease" AS logical
\r
4873 LABEL "Gross Lease"
\r
4876 COLUMN-LABEL "G/N"
\r
4879 ADD FIELD "AreaDescription" OF "TenancyLease" AS character
\r
4882 LABEL "Areas Rented"
\r
4887 ADD FIELD "FirstLeaseStart" OF "TenancyLease" AS date
\r
4888 FORMAT "99/99/9999"
\r
4890 LABEL "First lease start"
\r
4893 COLUMN-LABEL "First Start"
\r
4894 HELP "The date the first lease on this space by this tenant commenced"
\r
4897 ADD FIELD "PaymentFrequency" OF "TenancyLease" AS character
\r
4898 DESCRIPTION "The code used to refer to this kind of regularity"
\r
4905 ADD FIELD "HasRatchet" OF "TenancyLease" AS logical
\r
4906 DESCRIPTION "Is the rental ratcheted"
\r
4914 ADD INDEX "TenancyLeases" ON "TenancyLease"
\r
4915 AREA "Schema Area"
\r
4918 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
4920 ADD INDEX "XAK1TenancyLeases" ON "TenancyLease"
\r
4921 AREA "Schema Area"
\r
4922 INDEX-FIELD "TenantCode" ASCENDING
\r
4924 ADD INDEX "XAK2TenancyLeases" ON "TenancyLease"
\r
4925 AREA "Schema Area"
\r
4926 INDEX-FIELD "PropertyCode" ASCENDING
\r
4928 ADD TABLE "TenancyOutgoing"
\r
4929 AREA "Schema Area"
\r
4930 DUMP-NAME "tenancyo"
\r
4932 ADD FIELD "TenancyLeaseCode" OF "TenancyOutgoing" AS integer
\r
4933 DESCRIPTION "The lease that this outgoings charge relates to."
\r
4940 ADD FIELD "AccountCode" OF "TenancyOutgoing" AS decimal
\r
4941 DESCRIPTION "The account, from the chart of accounts, that this outgoings charge accrues to."
\r
4949 ADD FIELD "AccumulatedAmount" OF "TenancyOutgoing" AS decimal
\r
4950 DESCRIPTION "The amount of actual charges accumulated in respect of this tenant since the last reconciliation of the account."
\r
4951 FORMAT "->,>>>,>>9.99"
\r
4958 ADD FIELD "BaseYear" OF "TenancyOutgoing" AS date
\r
4959 DESCRIPTION "The base year end, if applicable."
\r
4960 FORMAT "99/99/9999"
\r
4966 ADD FIELD "BaseYearAmount" OF "TenancyOutgoing" AS decimal
\r
4967 DESCRIPTION "The amount of the outgoings charge applying in the base year, if applicable."
\r
4968 FORMAT "->,>>>,>>9.99"
\r
4975 ADD FIELD "FixedAmount" OF "TenancyOutgoing" AS decimal
\r
4976 DESCRIPTION "If applicable, an annual total of the tenants fixed charges for this account."
\r
4977 FORMAT "->,>>>,>>9.99"
\r
4984 ADD FIELD "LastReconciliation" OF "TenancyOutgoing" AS integer
\r
4985 DESCRIPTION "The month up to which the last reconciliation of outgoings applied for this account."
\r
4992 ADD FIELD "OutgoingBasis" OF "TenancyOutgoing" AS character
\r
5000 ADD FIELD "Percentage" OF "TenancyOutgoing" AS decimal
\r
5001 DESCRIPTION "The fraction of the total property outgoings for this account which should accumulate against this tenant."
\r
5002 FORMAT "->>,>>9.99"
\r
5009 ADD FIELD "ReconciliationDue" OF "TenancyOutgoing" AS date
\r
5010 DESCRIPTION "The date on which the next reconciliation of outgoings is due for this tenancy lease account."
\r
5011 FORMAT "99/99/9999"
\r
5017 ADD INDEX "TenancyOutgoings" ON "TenancyOutgoing"
\r
5018 AREA "Schema Area"
\r
5021 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
5022 INDEX-FIELD "AccountCode" ASCENDING
\r
5024 ADD TABLE "Tenant"
\r
5025 AREA "Schema Area"
\r
5026 VALEXP "NOT CAN-FIND( FIRST AcctTran WHERE
\r
5027 AcctTran.EntityType = 'T' AND
\r
5028 AcctTran.EntityCode = Tenant.TenantCode )"
\r
5029 VALMSG "You cannot delete a tenant who has transactions !"
\r
5030 DUMP-NAME "tenant"
\r
5031 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crtenant.p" CRC "?"
\r
5032 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "detenant.p" CRC "?"
\r
5033 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrtenant.p" CRC "?"
\r
5035 ADD FIELD "TenantCode" OF "Tenant" AS integer
\r
5036 DESCRIPTION "A code used to refer to this tenant."
\r
5043 ADD FIELD "BillingContact" OF "Tenant" AS integer
\r
5044 DESCRIPTION "A person to whom the bills should be addressed."
\r
5051 ADD FIELD "Name" OF "Tenant" AS character
\r
5052 DESCRIPTION "The name used to refer to this tenant."
\r
5060 ADD FIELD "PropertyContact" OF "Tenant" AS integer
\r
5061 DESCRIPTION "Contact personfor Property matters"
\r
5068 ADD FIELD "Active" OF "Tenant" AS logical
\r
5069 DESCRIPTION "Flag to indicate whether the tenant is active or inactive"
\r
5076 ADD FIELD "DebtClassification" OF "Tenant" AS character
\r
5079 LABEL "Debt Class"
\r
5085 ADD FIELD "VarianceClassification" OF "Tenant" AS character
\r
5088 LABEL "Variance Class"
\r
5093 ADD FIELD "EntityCode" OF "Tenant" AS integer
\r
5094 DESCRIPTION "The code used to refer to a company or property."
\r
5103 ADD FIELD "NoteCode" OF "Tenant" AS integer
\r
5104 DESCRIPTION "A unique code identifying this note."
\r
5111 ADD FIELD "Quality" OF "Tenant" AS integer
\r
5112 DESCRIPTION "A number indicating the quality of the tenant"
\r
5119 ADD FIELD "AH1Contact" OF "Tenant" AS integer
\r
5120 FORMAT "->,>>>,>>9"
\r
5122 LABEL "After Hours #1"
\r
5127 ADD FIELD "EntityType" OF "Tenant" AS character
\r
5128 DESCRIPTION "The type of the related entity specified in EntityCode"
\r
5133 VALEXP "EntityType = ""P"" OR EntityType = ""L"""
\r
5134 VALMSG "May only equal ""L"" or ""P"""
\r
5138 ADD FIELD "LegalName" OF "Tenant" AS character
\r
5141 LABEL "Legal name"
\r
5147 ADD FIELD "PaymentStyle" OF "Tenant" AS character
\r
5156 ADD FIELD "LastModifiedDate" OF "Tenant" AS date
\r
5157 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
5158 FORMAT "99/99/9999"
\r
5159 INITIAL "1/1/0001"
\r
5165 ADD FIELD "LastModifiedTime" OF "Tenant" AS integer
\r
5166 DESCRIPTION "The time that this record was last modified"
\r
5167 FORMAT "->,>>>,>>9"
\r
5173 ADD FIELD "LastModifiedUser" OF "Tenant" AS character
\r
5174 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
5182 ADD FIELD "AuditRecordId" OF "Tenant" AS integer
\r
5183 FORMAT "->,>>>,>>9"
\r
5189 ADD FIELD "AH2Contact" OF "Tenant" AS integer
\r
5190 FORMAT "->,>>>,>>9"
\r
5192 LABEL "After Hours #2"
\r
5197 ADD FIELD "BusinessType" OF "Tenant" AS character
\r
5200 LABEL "Business type"
\r
5205 ADD FIELD "LastRentTotal" OF "Tenant" AS decimal
\r
5206 DESCRIPTION "The total amount of rent charged last rent run"
\r
5207 FORMAT "->>,>>>,>>9.99"
\r
5214 ADD FIELD "CFBalance" OF "Tenant" AS decimal
\r
5215 DESCRIPTION "The balance carried forward on the last invoice/statement"
\r
5216 FORMAT "->>,>>>,>>9.99"
\r
5223 ADD FIELD "BatchLastStatement" OF "Tenant" AS integer
\r
5224 DESCRIPTION "The number of the last posted batch when the last invoice / statement was produced"
\r
5225 FORMAT "->,>>>,>>9"
\r
5231 ADD INDEX "Tenants" ON "Tenant"
\r
5232 AREA "Schema Area"
\r
5235 INDEX-FIELD "TenantCode" ASCENDING
\r
5237 ADD INDEX "XAK1Tenants" ON "Tenant"
\r
5238 AREA "Schema Area"
\r
5239 INDEX-FIELD "Name" ASCENDING ABBREVIATED
\r
5241 ADD INDEX "XAK2Tenants" ON "Tenant"
\r
5242 AREA "Schema Area"
\r
5243 INDEX-FIELD "Active" ASCENDING
\r
5244 INDEX-FIELD "TenantCode" ASCENDING
\r
5246 ADD INDEX "XAK3Tenants" ON "Tenant"
\r
5247 AREA "Schema Area"
\r
5248 INDEX-FIELD "EntityType" DESCENDING
\r
5249 INDEX-FIELD "EntityCode" ASCENDING
\r
5251 ADD INDEX "XAK4Tenants" ON "Tenant"
\r
5252 AREA "Schema Area"
\r
5253 INDEX-FIELD "Active" ASCENDING
\r
5254 INDEX-FIELD "EntityType" DESCENDING
\r
5255 INDEX-FIELD "EntityCode" ASCENDING
\r
5257 ADD INDEX "XAK5Tenants" ON "Tenant"
\r
5258 AREA "Schema Area"
\r
5259 INDEX-FIELD "Active" ASCENDING
\r
5260 INDEX-FIELD "Name" ASCENDING
\r
5262 ADD TABLE "Valuation"
\r
5263 AREA "Schema Area"
\r
5264 DUMP-NAME "valuatio"
\r
5266 ADD FIELD "PropertyCode" OF "Valuation" AS integer
\r
5267 DESCRIPTION "The property that this valuation applies to"
\r
5274 ADD FIELD "ValuationType" OF "Valuation" AS character
\r
5282 ADD FIELD "ValuationCode" OF "Valuation" AS integer
\r
5283 DESCRIPTION "A sequence separating this valuation from others for the same property."
\r
5290 ADD FIELD "Amount" OF "Valuation" AS decimal
\r
5291 DESCRIPTION "The valuation."
\r
5292 FORMAT "->>,>>9.99"
\r
5299 ADD FIELD "DateDone" OF "Valuation" AS date
\r
5300 DESCRIPTION "The date that the valuation was done."
\r
5301 FORMAT "99/99/9999"
\r
5307 ADD FIELD "Valuer" OF "Valuation" AS character
\r
5308 DESCRIPTION "The person who performed the valuation"
\r
5315 ADD INDEX "XPKValuations" ON "Valuation"
\r
5316 AREA "Schema Area"
\r
5319 INDEX-FIELD "PropertyCode" ASCENDING
\r
5320 INDEX-FIELD "DateDone" DESCENDING
\r
5321 INDEX-FIELD "ValuationType" ASCENDING
\r
5323 ADD INDEX "XAK1Valuations" ON "Valuation"
\r
5324 AREA "Schema Area"
\r
5325 INDEX-FIELD "ValuationType" ASCENDING
\r
5326 INDEX-FIELD "DateDone" DESCENDING
\r
5328 ADD INDEX "XAK2Valuations" ON "Valuation"
\r
5329 AREA "Schema Area"
\r
5330 INDEX-FIELD "DateDone" DESCENDING
\r
5332 ADD TABLE "ValuationType"
\r
5333 AREA "Schema Area"
\r
5334 DUMP-NAME "valuati1"
\r
5336 ADD FIELD "ValuationType" OF "ValuationType" AS character
\r
5344 ADD FIELD "Description" OF "ValuationType" AS character
\r
5351 ADD INDEX "XPKValuationTypes" ON "ValuationType"
\r
5352 AREA "Schema Area"
\r
5355 INDEX-FIELD "ValuationType" ASCENDING
\r
5357 ADD TABLE "Cheque"
\r
5358 AREA "Schema Area"
\r
5359 DUMP-NAME "cheque"
\r
5360 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrcheque.p" CRC "?"
\r
5362 ADD FIELD "ChequeNo" OF "Cheque" AS integer
\r
5363 DESCRIPTION "Number identifying the cheque."
\r
5371 ADD FIELD "BankAccountCode" OF "Cheque" AS character
\r
5380 ADD FIELD "CreditorCode" OF "Cheque" AS integer
\r
5381 DESCRIPTION "Code of the creditor that this cheque is payable to."
\r
5389 ADD FIELD "Amount" OF "Cheque" AS decimal
\r
5390 DESCRIPTION "Dollar amount for the cheque."
\r
5391 FORMAT "->>>,>>>,>>9.99"
\r
5398 ADD FIELD "BatchCode" OF "Cheque" AS integer
\r
5399 DESCRIPTION "Code of the batch of documents that this cheque belongs to."
\r
5405 COLUMN-LABEL "Batch"
\r
5408 ADD FIELD "DocumentCode" OF "Cheque" AS integer
\r
5409 DESCRIPTION "Code of the document that this cheque applies to."
\r
5412 LABEL "Document No."
\r
5415 COLUMN-LABEL "Doc No."
\r
5418 ADD FIELD "PayeeName" OF "Cheque" AS character
\r
5419 DESCRIPTION "Name of the payee as printed for the cheque."
\r
5427 ADD FIELD "Date" OF "Cheque" AS date
\r
5428 DESCRIPTION "The date as printed for the cheque."
\r
5429 FORMAT "99/99/9999"
\r
5435 ADD FIELD "Cancelled" OF "Cheque" AS logical
\r
5436 DESCRIPTION "A value corresponding to the cancellation status of the cheque."
\r
5443 ADD FIELD "DatePresented" OF "Cheque" AS date
\r
5444 DESCRIPTION "The date this cheque was presented.
\r
5446 FORMAT "99/99/9999"
\r
5453 ADD FIELD "PresentedAmount" OF "Cheque" AS decimal
\r
5454 FORMAT ">>>,>>>,>>9.99"
\r
5461 ADD FIELD "DateSent" OF "Cheque" AS date
\r
5462 DESCRIPTION "The date the cheque was actually sent to the creditor"
\r
5463 FORMAT "99/99/9999"
\r
5470 ADD INDEX "XPKChequeDate" ON "Cheque"
\r
5471 AREA "Schema Area"
\r
5474 INDEX-FIELD "BankAccountCode" ASCENDING
\r
5475 INDEX-FIELD "Date" DESCENDING
\r
5476 INDEX-FIELD "ChequeNo" DESCENDING
\r
5478 ADD INDEX "XAK1Cheques" ON "Cheque"
\r
5479 AREA "Schema Area"
\r
5480 INDEX-FIELD "CreditorCode" ASCENDING
\r
5481 INDEX-FIELD "Date" DESCENDING
\r
5483 ADD INDEX "XPKCheque" ON "Cheque"
\r
5484 AREA "Schema Area"
\r
5486 INDEX-FIELD "BankAccountCode" ASCENDING
\r
5487 INDEX-FIELD "ChequeNo" ASCENDING
\r
5489 ADD TABLE "InvoiceLine"
\r
5490 AREA "Schema Area"
\r
5491 DUMP-NAME "invoicel"
\r
5492 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deinvlne.p" CRC "?"
\r
5493 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrinvlne.p" CRC "?"
\r
5495 ADD FIELD "InvoiceNo" OF "InvoiceLine" AS integer
\r
5498 LABEL "Invoice No"
\r
5501 COLUMN-LABEL "Invoice"
\r
5504 ADD FIELD "AccountCode" OF "InvoiceLine" AS decimal
\r
5505 DESCRIPTION "The account against which this transaction applies."
\r
5511 COLUMN-LABEL-SA "C"
\r
5516 ADD FIELD "AccountText" OF "InvoiceLine" AS character
\r
5519 LABEL "Description"
\r
5525 ADD FIELD "Amount" OF "InvoiceLine" AS decimal
\r
5526 FORMAT "->,>>>,>>9.99"
\r
5534 ADD FIELD "Percent" OF "InvoiceLine" AS decimal
\r
5543 ADD FIELD "YourShare" OF "InvoiceLine" AS decimal
\r
5544 FORMAT "->,>>>,>>9.99"
\r
5551 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "a-ivlysh.p" CRC "?"
\r
5553 ADD FIELD "LineSeq" OF "InvoiceLine" AS integer
\r
5554 FORMAT "->,>>>,>>9"
\r
5561 ADD FIELD "Quantity" OF "InvoiceLine" AS decimal
\r
5562 DESCRIPTION "The quantity of goods invoiced"
\r
5563 FORMAT "->>,>>9.99"
\r
5570 ADD FIELD "EntityType" OF "InvoiceLine" AS character
\r
5571 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this transaction applies (Company, Property, Project, Creditor or Tenant)."
\r
5574 LABEL "Entity type"
\r
5578 COLUMN-LABEL-SA "C"
\r
5581 ADD FIELD "EntityCode" OF "InvoiceLine" AS integer
\r
5587 COLUMN-LABEL-SA "C"
\r
5590 ADD INDEX "XPKInvoiceLine" ON "InvoiceLine"
\r
5591 AREA "Schema Area"
\r
5594 INDEX-FIELD "InvoiceNo" ASCENDING
\r
5595 INDEX-FIELD "LineSeq" ASCENDING
\r
5597 ADD INDEX "XAK1InvoiceLines" ON "InvoiceLine"
\r
5598 AREA "Schema Area"
\r
5599 INDEX-FIELD "InvoiceNo" ASCENDING
\r
5600 INDEX-FIELD "AccountCode" ASCENDING
\r
5602 ADD TABLE "VoucherStatus"
\r
5603 AREA "Schema Area"
\r
5604 DUMP-NAME "vouchers"
\r
5606 ADD FIELD "Description" OF "VoucherStatus" AS character
\r
5614 ADD FIELD "VoucherStatus" OF "VoucherStatus" AS character
\r
5622 ADD FIELD "SequenceCode" OF "VoucherStatus" AS integer
\r
5631 ADD INDEX "XPKVoucherStatus" ON "VoucherStatus"
\r
5632 AREA "Schema Area"
\r
5634 INDEX-FIELD "VoucherStatus" ASCENDING
\r
5636 ADD INDEX "XAK1Sequence" ON "VoucherStatus"
\r
5637 AREA "Schema Area"
\r
5638 INDEX-FIELD "SequenceCode" ASCENDING
\r
5640 ADD TABLE "Approver"
\r
5641 AREA "Schema Area"
\r
5642 DESCRIPTION "Short Codes for approval persons"
\r
5643 DUMP-NAME "approver"
\r
5644 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrapprvr.p" CRC "?"
\r
5646 ADD FIELD "ApproverCode" OF "Approver" AS character
\r
5647 DESCRIPTION "The short alphanumeric code that identifies this approver."
\r
5657 ADD FIELD "PersonCode" OF "Approver" AS integer
\r
5666 ADD FIELD "ApprovalLimit" OF "Approver" AS decimal
\r
5667 FORMAT "->>,>>>,>>9.99"
\r
5669 LABEL "Approval Limit"
\r
5675 ADD FIELD "SignatoryLimit" OF "Approver" AS decimal
\r
5676 FORMAT "->>,>>>,>>9.99"
\r
5678 LABEL "Chq Signing Limit"
\r
5684 ADD FIELD "Active" OF "Approver" AS logical
\r
5685 DESCRIPTION "Flag to indicate whether the creditor is active or inactive"
\r
5692 ADD FIELD "LastModifiedDate" OF "Approver" AS date
\r
5693 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
5694 FORMAT "99/99/9999"
\r
5695 INITIAL "1/1/0001"
\r
5701 ADD FIELD "LastModifiedTime" OF "Approver" AS integer
\r
5702 DESCRIPTION "The time that this record was last modified"
\r
5703 FORMAT "->,>>>,>>9"
\r
5709 ADD FIELD "LastModifiedUser" OF "Approver" AS character
\r
5710 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
5718 ADD FIELD "AuditRecordId" OF "Approver" AS integer
\r
5719 FORMAT "->,>>>,>>9"
\r
5725 ADD FIELD "OverBudgetLimit" OF "Approver" AS decimal
\r
5726 FORMAT "->>,>>>,>>9.99"
\r
5728 LABEL "Over Budget Limit"
\r
5734 ADD INDEX "XPKApprover" ON "Approver"
\r
5735 AREA "Schema Area"
\r
5738 INDEX-FIELD "ApproverCode" ASCENDING
\r
5739 INDEX-FIELD "PersonCode" ASCENDING
\r
5741 ADD TABLE "BankAccount"
\r
5742 AREA "Schema Area"
\r
5743 DUMP-NAME "bankacco"
\r
5744 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrbnkact.p" CRC "?"
\r
5746 ADD FIELD "BankAccountCode" OF "BankAccount" AS character
\r
5755 ADD FIELD "AccountName" OF "BankAccount" AS character
\r
5758 LABEL "Account name"
\r
5764 ADD FIELD "BankBranchName" OF "BankAccount" AS character
\r
5767 LABEL "BranchName"
\r
5773 ADD FIELD "BankName" OF "BankAccount" AS character
\r
5782 ADD FIELD "BankAccount" OF "BankAccount" AS character
\r
5783 FORMAT "99-9999-9999999-999"
\r
5791 ADD FIELD "CompanyCode" OF "BankAccount" AS integer
\r
5797 HELP "The ledger that transactions should go to"
\r
5800 ADD FIELD "AccountCode" OF "BankAccount" AS decimal
\r
5803 LABEL "GL Account"
\r
5806 HELP "The GL account for transactions"
\r
5810 ADD FIELD "LastModifiedDate" OF "BankAccount" AS date
\r
5811 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
5812 FORMAT "99/99/9999"
\r
5813 INITIAL "1/1/0001"
\r
5819 ADD FIELD "LastModifiedTime" OF "BankAccount" AS integer
\r
5820 DESCRIPTION "The time that this record was last modified"
\r
5821 FORMAT "->,>>>,>>9"
\r
5827 ADD FIELD "LastModifiedUser" OF "BankAccount" AS character
\r
5828 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
5836 ADD FIELD "AuditRecordId" OF "BankAccount" AS integer
\r
5837 FORMAT "->,>>>,>>9"
\r
5843 ADD FIELD "ChequeAccount" OF "BankAccount" AS logical
\r
5846 LABEL "Cheque Account"
\r
5849 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
5852 ADD FIELD "Active" OF "BankAccount" AS logical
\r
5857 HELP "Is this bank account active"
\r
5860 ADD FIELD "DEUserId" OF "BankAccount" AS character
\r
5867 ADD INDEX "BankAccounts" ON "BankAccount"
\r
5868 AREA "Schema Area"
\r
5870 INDEX-FIELD "BankAccountCode" ASCENDING
\r
5872 ADD TABLE "Office"
\r
5873 AREA "Schema Area"
\r
5874 DUMP-NAME "office"
\r
5875 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wroffice.p" CRC "?"
\r
5877 ADD FIELD "OfficeCode" OF "Office" AS character
\r
5886 ADD FIELD "Name" OF "Office" AS character
\r
5894 ADD FIELD "ThisOffice" OF "Office" AS logical
\r
5901 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "a-ofcths.p" CRC "?"
\r
5903 ADD FIELD "GSTNo" OF "Office" AS integer
\r
5904 FORMAT "999999999"
\r
5910 ADD FIELD "AccountingContact" OF "Office" AS integer
\r
5911 DESCRIPTION "A primary contact for matters relating to accounting within this office."
\r
5914 LABEL "Accounting contact"
\r
5919 ADD FIELD "GST" OF "Office" AS decimal
\r
5924 HELP "The GST rate applicable in this office"
\r
5928 ADD FIELD "StreetAddress" OF "Office" AS character
\r
5931 LABEL "Street Address"
\r
5934 VIEW-AS "VIEW-AS EDITOR
\r
5935 SIZE-CHARS 50 by 5
\r
5936 SCROLLBAR-VERTICAL
\r
5942 ADD INDEX "Offices" ON "Office"
\r
5943 AREA "Schema Area"
\r
5946 INDEX-FIELD "OfficeCode" ASCENDING
\r
5948 ADD INDEX "ThisOffice" ON "Office"
\r
5949 AREA "Schema Area"
\r
5950 INDEX-FIELD "ThisOffice" ASCENDING
\r
5952 ADD TABLE "Invoice"
\r
5953 AREA "Schema Area"
\r
5954 DUMP-NAME "invoice"
\r
5955 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crinvoce.p" CRC "?"
\r
5956 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deinvoce.p" CRC "?"
\r
5958 ADD FIELD "InvoiceNo" OF "Invoice" AS integer
\r
5961 LABEL "Invoice No"
\r
5964 COLUMN-LABEL "Invoice"
\r
5968 ADD FIELD "EntityType" OF "Invoice" AS character
\r
5971 LABEL "Entity type"
\r
5974 COLUMN-LABEL "Type"
\r
5979 ADD FIELD "EntityCode" OF "Invoice" AS integer
\r
5985 COLUMN-LABEL-SA "C"
\r
5988 ADD FIELD "InvoiceDate" OF "Invoice" AS date
\r
5989 FORMAT "99/99/9999"
\r
5991 LABEL "Invoice date"
\r
5994 COLUMN-LABEL "Date"
\r
5997 ADD FIELD "ToPay" OF "Invoice" AS character
\r
6006 ADD FIELD "ToDetail" OF "Invoice" AS character
\r
6015 ADD FIELD "TaxApplies" OF "Invoice" AS logical
\r
6024 ADD FIELD "TermsCode" OF "Invoice" AS character
\r
6034 ADD FIELD "TaxAmount" OF "Invoice" AS decimal
\r
6035 FORMAT "->,>>>,>>9.99"
\r
6043 ADD FIELD "Total" OF "Invoice" AS decimal
\r
6044 FORMAT "->>,>>>,>>>,>>9.99"
\r
6051 ADD FIELD "Blurb" OF "Invoice" AS character
\r
6052 DESCRIPTION "Blurb for this invoice"
\r
6058 VIEW-AS "VIEW-AS EDITOR SIZE-PIXELS 600 by 300
\r
6059 SCROLLBAR-VERTICAL"
\r
6063 ADD FIELD "InvoiceStatus" OF "Invoice" AS character
\r
6072 ADD FIELD "InvoiceType" OF "Invoice" AS character
\r
6073 DESCRIPTION "A system-maintained code which indicates what type of invoice this is, and (most importantly) what it should look like when being presented for viewing or maintenance, or printing."
\r
6081 ADD FIELD "DueDate" OF "Invoice" AS date
\r
6082 DESCRIPTION "Due date for Invoice payment. If left blank then the due date printed on the invoice is invoice date + no of days as stipulated by the Terms type."
\r
6083 FORMAT "99/99/9999"
\r
6088 COLUMN-LABEL "Due Date"
\r
6089 HELP "Enter a due date otherwise it will be calculated from terms."
\r
6092 ADD FIELD "AttnTo" OF "Invoice" AS character
\r
6093 DESCRIPTION "Used to store the Attn details for the person sent the invoice."
\r
6100 ADD INDEX "Invoices" ON "Invoice"
\r
6101 AREA "Schema Area"
\r
6104 INDEX-FIELD "InvoiceNo" ASCENDING
\r
6106 ADD INDEX "XAK1Entity" ON "Invoice"
\r
6107 AREA "Schema Area"
\r
6108 INDEX-FIELD "EntityType" ASCENDING
\r
6109 INDEX-FIELD "EntityCode" ASCENDING
\r
6111 ADD INDEX "XAK2Date" ON "Invoice"
\r
6112 AREA "Schema Area"
\r
6113 INDEX-FIELD "InvoiceDate" ASCENDING
\r
6115 ADD INDEX "XAK3Invoices" ON "Invoice"
\r
6116 AREA "Schema Area"
\r
6117 INDEX-FIELD "InvoiceStatus" ASCENDING
\r
6118 INDEX-FIELD "InvoiceNo" ASCENDING
\r
6120 ADD INDEX "XAK4Invoice" ON "Invoice"
\r
6121 AREA "Schema Area"
\r
6122 INDEX-FIELD "InvoiceStatus" ASCENDING
\r
6123 INDEX-FIELD "InvoiceDate" ASCENDING
\r
6125 ADD INDEX "XAK5Invoice" ON "Invoice"
\r
6126 AREA "Schema Area"
\r
6127 INDEX-FIELD "InvoiceStatus" ASCENDING
\r
6128 INDEX-FIELD "EntityType" ASCENDING
\r
6129 INDEX-FIELD "EntityCode" ASCENDING
\r
6131 ADD TABLE "InvoiceTerms"
\r
6132 AREA "Schema Area"
\r
6133 DUMP-NAME "invoicet"
\r
6135 ADD FIELD "TermsCode" OF "InvoiceTerms" AS character
\r
6145 ADD FIELD "Description" OF "InvoiceTerms" AS character
\r
6153 ADD INDEX "InvoiceTerms" ON "InvoiceTerms"
\r
6154 AREA "Schema Area"
\r
6157 INDEX-FIELD "TermsCode" ASCENDING
\r
6159 ADD TABLE "NewAcctTrans"
\r
6160 AREA "Schema Area"
\r
6161 DESCRIPTION "Holds transactions to be updated."
\r
6162 DUMP-NAME "newtrans"
\r
6163 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "denactrn.p" CRC "?"
\r
6164 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrnactrn.p" CRC "?"
\r
6166 ADD FIELD "BatchCode" OF "NewAcctTrans" AS integer
\r
6175 ADD FIELD "DocumentCode" OF "NewAcctTrans" AS integer
\r
6184 ADD FIELD "TransactionCode" OF "NewAcctTrans" AS integer
\r
6193 ADD FIELD "EntityType" OF "NewAcctTrans" AS character
\r
6203 ADD FIELD "EntityCode" OF "NewAcctTrans" AS integer
\r
6209 HELP "Code of Tenant, Company, Creditor or etc."
\r
6213 ADD FIELD "AccountCode" OF "NewAcctTrans" AS decimal
\r
6223 ADD FIELD "Date" OF "NewAcctTrans" AS date
\r
6224 FORMAT "99/99/9999"
\r
6230 ADD FIELD "Description" OF "NewAcctTrans" AS character
\r
6238 ADD FIELD "Amount" OF "NewAcctTrans" AS decimal
\r
6239 FORMAT "->>,>>>,>>>,>>9.99"
\r
6245 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "a-trnamt.p" CRC "?"
\r
6247 ADD FIELD "Reference" OF "NewAcctTrans" AS character
\r
6248 DESCRIPTION "Overrides the reference at document level for some display situations."
\r
6254 HELP "Enter a reference to override the document reference"
\r
6258 ADD FIELD "ConsequenceOf" OF "NewAcctTrans" AS integer
\r
6259 DESCRIPTION "Indicates which transactioncode in this document caused this transaction to be created during the transaction update process."
\r
6264 HELP "System maintained."
\r
6267 ADD FIELD "MonthCode" OF "NewAcctTrans" AS integer
\r
6268 DESCRIPTION "The code of the month that this transaction should update to."
\r
6274 HELP "The code of the month that this transaction should update to."
\r
6277 ADD INDEX "NewTransactions" ON "NewAcctTrans"
\r
6278 AREA "Schema Area"
\r
6281 INDEX-FIELD "BatchCode" ASCENDING
\r
6282 INDEX-FIELD "DocumentCode" ASCENDING
\r
6283 INDEX-FIELD "TransactionCode" ASCENDING
\r
6285 ADD TABLE "NewDocument"
\r
6286 AREA "Schema Area"
\r
6287 DESCRIPTION "Hold documents to be updated."
\r
6288 DUMP-NAME "newdocum"
\r
6289 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "denewdoc.p" CRC "?"
\r
6290 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrnewdoc.p" CRC "?"
\r
6292 ADD FIELD "BatchCode" OF "NewDocument" AS integer
\r
6300 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "a-ndcbch.p" CRC "?"
\r
6302 ADD FIELD "DocumentCode" OF "NewDocument" AS integer
\r
6311 ADD FIELD "Description" OF "NewDocument" AS character
\r
6320 ADD FIELD "Reference" OF "NewDocument" AS character
\r
6329 ADD FIELD "DocumentType" OF "NewDocument" AS character
\r
6336 HELP "Invoice, Journal, Voucher, etc."
\r
6341 ADD INDEX "NewDocuments" ON "NewDocument"
\r
6342 AREA "Schema Area"
\r
6345 INDEX-FIELD "BatchCode" ASCENDING
\r
6346 INDEX-FIELD "DocumentCode" ASCENDING
\r
6348 ADD TABLE "NewBatch"
\r
6349 AREA "Schema Area"
\r
6350 DESCRIPTION "Holds batch control records for 'new' batches - i.e. those that could be 'posted' to update accounts."
\r
6351 DUMP-NAME "newbatch"
\r
6352 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crnewbch.p" CRC "?"
\r
6353 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "denewbch.p" CRC "?"
\r
6355 ADD FIELD "BatchCode" OF "NewBatch" AS integer
\r
6364 ADD FIELD "PersonCode" OF "NewBatch" AS integer
\r
6373 ADD FIELD "BatchType" OF "NewBatch" AS character
\r
6383 ADD FIELD "DocumentCount" OF "NewBatch" AS integer
\r
6392 ADD FIELD "Total" OF "NewBatch" AS decimal
\r
6393 FORMAT "->>>,>>>,>>9.99"
\r
6401 ADD FIELD "Description" OF "NewBatch" AS character
\r
6406 VALEXP "Description <> """" AND Description <> ?"
\r
6407 VALMSG "The batch description may not be null"
\r
6411 ADD INDEX "XPKNewBatch" ON "NewBatch"
\r
6412 AREA "Schema Area"
\r
6415 INDEX-FIELD "BatchCode" ASCENDING
\r
6417 ADD INDEX "XAK1NewBatch" ON "NewBatch"
\r
6418 AREA "Schema Area"
\r
6420 INDEX-FIELD "BatchType" ASCENDING
\r
6421 INDEX-FIELD "BatchCode" DESCENDING
\r
6423 ADD INDEX "XAKDescription" ON "NewBatch"
\r
6424 AREA "Schema Area"
\r
6425 INDEX-FIELD "Description" ASCENDING
\r
6427 ADD TABLE "DocumentType"
\r
6428 AREA "Schema Area"
\r
6429 DESCRIPTION "Types of documents"
\r
6430 DUMP-NAME "docutype"
\r
6432 ADD FIELD "DocumentType" OF "DocumentType" AS character
\r
6435 LABEL "Document Type"
\r
6438 COLUMN-LABEL "Code"
\r
6443 ADD FIELD "Description" OF "DocumentType" AS character
\r
6452 ADD INDEX "DocumentTypes" ON "DocumentType"
\r
6453 AREA "Schema Area"
\r
6456 INDEX-FIELD "DocumentType" ASCENDING
\r
6458 ADD TABLE "AccountBalance"
\r
6459 AREA "Schema Area"
\r
6460 DUMP-NAME "accountb"
\r
6461 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deactbal.p" CRC "?"
\r
6462 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wractbal.p" CRC "?"
\r
6464 ADD FIELD "EntityType" OF "AccountBalance" AS character
\r
6465 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this transaction applies (Company, Property, Project, Creditor or Tenant)."
\r
6468 LABEL "Entity type"
\r
6472 COLUMN-LABEL-SA "C"
\r
6477 ADD FIELD "EntityCode" OF "AccountBalance" AS integer
\r
6483 COLUMN-LABEL-SA "C"
\r
6487 ADD FIELD "AccountCode" OF "AccountBalance" AS decimal
\r
6488 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
6498 ADD FIELD "MonthCode" OF "AccountBalance" AS integer
\r
6499 DESCRIPTION "The code of the month that this account applies to."
\r
6508 ADD FIELD "Balance" OF "AccountBalance" AS decimal
\r
6509 DESCRIPTION "The sum of the months transactions against this creditor ledger account."
\r
6510 FORMAT "->>,>>>,>>>,>>9.99"
\r
6517 ADD FIELD "Budget" OF "AccountBalance" AS decimal
\r
6518 FORMAT "->>,>>>,>>>,>>9.99"
\r
6525 ADD FIELD "RevisedBudget" OF "AccountBalance" AS decimal
\r
6526 FORMAT "->>,>>>,>>>,>>9.99"
\r
6534 ADD FIELD "NoteCode" OF "AccountBalance" AS integer
\r
6535 DESCRIPTION "A unique code identifying this note."
\r
6542 ADD INDEX "XPKAccountBalances" ON "AccountBalance"
\r
6543 AREA "Schema Area"
\r
6546 INDEX-FIELD "EntityType" ASCENDING
\r
6547 INDEX-FIELD "EntityCode" ASCENDING
\r
6548 INDEX-FIELD "AccountCode" ASCENDING
\r
6549 INDEX-FIELD "MonthCode" ASCENDING
\r
6551 ADD INDEX "XAK1AccountBalances" ON "AccountBalance"
\r
6552 AREA "Schema Area"
\r
6553 INDEX-FIELD "EntityType" ASCENDING
\r
6554 INDEX-FIELD "AccountCode" ASCENDING
\r
6555 INDEX-FIELD "MonthCode" ASCENDING
\r
6557 ADD TABLE "OfficeControlAccount"
\r
6558 AREA "Schema Area"
\r
6559 DUMP-NAME "officeco"
\r
6561 ADD FIELD "OfficeCode" OF "OfficeControlAccount" AS character
\r
6567 HELP "Office that this control account applies to"
\r
6572 ADD FIELD "EntityType" OF "OfficeControlAccount" AS character
\r
6573 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this control account applies (Company, Property, Project, Creditor or Tenant)."
\r
6576 LABEL "Entity type"
\r
6579 COLUMN-LABEL "Type"
\r
6580 COLUMN-LABEL-SA "C"
\r
6581 HELP "Entity type of control account"
\r
6586 ADD FIELD "EntityCode" OF "OfficeControlAccount" AS integer
\r
6592 COLUMN-LABEL-SA "C"
\r
6593 HELP "An optional entity code if applicable"
\r
6596 ADD FIELD "AccountCode" OF "OfficeControlAccount" AS decimal
\r
6597 DESCRIPTION "The code of this control account."
\r
6603 COLUMN-LABEL-SA "C"
\r
6604 HELP "The code of this control account."
\r
6609 ADD FIELD "Description" OF "OfficeControlAccount" AS character
\r
6610 DESCRIPTION "A description of this control account."
\r
6615 HELP "A description of this control account."
\r
6619 ADD FIELD "Name" OF "OfficeControlAccount" AS character
\r
6624 HELP "The name of this sequence"
\r
6628 ADD INDEX "XPKOfficeControlAccounts" ON "OfficeControlAccount"
\r
6629 AREA "Schema Area"
\r
6631 INDEX-FIELD "OfficeCode" ASCENDING
\r
6632 INDEX-FIELD "Name" ASCENDING
\r
6634 ADD TABLE "AutoText"
\r
6635 AREA "Schema Area"
\r
6636 DUMP-NAME "autotext"
\r
6638 ADD FIELD "AutoTextCode" OF "AutoText" AS character
\r
6641 LABEL "Auto Text code"
\r
6644 COLUMN-LABEL "AutoCode"
\r
6648 ADD FIELD "Description" OF "AutoText" AS character
\r
6651 LABEL "Auto Text Description"
\r
6654 COLUMN-LABEL "Text"
\r
6658 ADD INDEX "XPKAutoTextCode" ON "AutoText"
\r
6659 AREA "Schema Area"
\r
6662 INDEX-FIELD "AutoTextCode" ASCENDING
\r
6664 ADD TABLE "TenantSubLease"
\r
6665 AREA "Schema Area"
\r
6666 DUMP-NAME "tenantsu"
\r
6668 ADD FIELD "TenantSubLeaseCode" OF "TenantSubLease" AS integer
\r
6677 ADD FIELD "TenancyLeaseCode" OF "TenantSubLease" AS integer
\r
6678 DESCRIPTION "A code used to refer to this tenancy lease"
\r
6686 ADD FIELD "Notes" OF "TenantSubLease" AS integer
\r
6687 DESCRIPTION "Any notes relating to this lease"
\r
6696 ADD FIELD "Name" OF "TenantSubLease" AS character
\r
6705 ADD INDEX "XPKTenantSubLeases" ON "TenantSubLease"
\r
6706 AREA "Schema Area"
\r
6709 INDEX-FIELD "TenantSubLeaseCode" ASCENDING
\r
6711 ADD INDEX "XAK1TenantSubLease" ON "TenantSubLease"
\r
6712 AREA "Schema Area"
\r
6713 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
6715 ADD INDEX "XAK2TenantSubLeases" ON "TenantSubLease"
\r
6716 AREA "Schema Area"
\r
6717 INDEX-FIELD "Name" ASCENDING
\r
6720 AREA "Schema Area"
\r
6722 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crusr.p" CRC "?"
\r
6723 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deusr.p" CRC "?"
\r
6724 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrusr.p" CRC "?"
\r
6726 ADD FIELD "UserName" OF "Usr" AS character
\r
6732 COLUMN-LABEL "User"
\r
6737 ADD FIELD "Abbreviation" OF "Usr" AS character
\r
6740 LABEL "Abbreviation"
\r
6746 ADD FIELD "PersonCode" OF "Usr" AS integer
\r
6747 DESCRIPTION "The person code used to refer to this System User."
\r
6750 LABEL "Person code"
\r
6753 COLUMN-LABEL "Person"
\r
6757 ADD INDEX "XPKUserName" ON "Usr"
\r
6758 AREA "Schema Area"
\r
6761 INDEX-FIELD "UserName" ASCENDING
\r
6763 ADD INDEX "XAK1PersonCode" ON "Usr"
\r
6764 AREA "Schema Area"
\r
6765 INDEX-FIELD "PersonCode" ASCENDING
\r
6767 ADD INDEX "XAK2Abbreviation" ON "Usr"
\r
6768 AREA "Schema Area"
\r
6769 INDEX-FIELD "Abbreviation" ASCENDING
\r
6771 ADD TABLE "UsrGroup"
\r
6772 AREA "Schema Area"
\r
6773 DUMP-NAME "usrgroup"
\r
6774 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deusrgrp.p" CRC "?"
\r
6775 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrusrgrp.p" CRC "?"
\r
6777 ADD FIELD "GroupName" OF "UsrGroup" AS character
\r
6780 LABEL "Group Name"
\r
6783 COLUMN-LABEL "Group"
\r
6788 ADD FIELD "Description" OF "UsrGroup" AS character
\r
6796 ADD FIELD "Sequence" OF "UsrGroup" AS integer
\r
6797 FORMAT "->,>>>,>>9"
\r
6803 ADD INDEX "XPKUsrGroup" ON "UsrGroup"
\r
6804 AREA "Schema Area"
\r
6807 INDEX-FIELD "GroupName" ASCENDING
\r
6809 ADD INDEX "XAK1UsrGroup" ON "UsrGroup"
\r
6810 AREA "Schema Area"
\r
6811 INDEX-FIELD "Sequence" ASCENDING
\r
6813 ADD TABLE "ProgramLink"
\r
6814 AREA "Schema Area"
\r
6815 DUMP-NAME "programl"
\r
6816 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crprglnk.p" CRC "?"
\r
6817 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deprglnk.p" CRC "?"
\r
6818 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrprglnk.p" CRC "?"
\r
6820 ADD FIELD "LinkType" OF "ProgramLink" AS character
\r
6830 ADD FIELD "Description" OF "ProgramLink" AS character
\r
6839 ADD FIELD "Source" OF "ProgramLink" AS integer
\r
6847 ADD FIELD "Target" OF "ProgramLink" AS integer
\r
6855 ADD FIELD "Viewer" OF "ProgramLink" AS character
\r
6863 ADD FIELD "Function" OF "ProgramLink" AS character
\r
6871 ADD FIELD "CreateViewer" OF "ProgramLink" AS logical
\r
6878 ADD FIELD "ButtonLabel" OF "ProgramLink" AS character
\r
6886 ADD FIELD "FillName" OF "ProgramLink" AS character
\r
6894 ADD FIELD "CodeName" OF "ProgramLink" AS character
\r
6902 ADD FIELD "LinkCode" OF "ProgramLink" AS integer
\r
6909 ADD FIELD "SortPanel" OF "ProgramLink" AS logical
\r
6914 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
6917 ADD FIELD "FilterPanel" OF "ProgramLink" AS logical
\r
6922 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
6925 ADD INDEX "XPKLinkCode" ON "ProgramLink"
\r
6926 AREA "Schema Area"
\r
6929 INDEX-FIELD "LinkCode" ASCENDING
\r
6931 ADD INDEX "XAK1ProgramLinkSrc" ON "ProgramLink"
\r
6932 AREA "Schema Area"
\r
6933 INDEX-FIELD "Source" ASCENDING
\r
6934 INDEX-FIELD "Description" ASCENDING
\r
6936 ADD INDEX "XAK2ProgramLinkTgt" ON "ProgramLink"
\r
6937 AREA "Schema Area"
\r
6938 INDEX-FIELD "Target" ASCENDING
\r
6939 INDEX-FIELD "Description" ASCENDING
\r
6941 ADD TABLE "UsrGroupMember"
\r
6942 AREA "Schema Area"
\r
6943 DUMP-NAME "usrgrpmm"
\r
6944 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crusgmem.p" CRC "?"
\r
6945 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deusgmem.p" CRC "?"
\r
6946 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrusgmem.p" CRC "?"
\r
6948 ADD FIELD "UserName" OF "UsrGroupMember" AS character
\r
6954 COLUMN-LABEL "User"
\r
6959 ADD FIELD "GroupName" OF "UsrGroupMember" AS character
\r
6962 LABEL "Group Name"
\r
6965 COLUMN-LABEL "Group"
\r
6970 ADD INDEX "XPKUserGroup" ON "UsrGroupMember"
\r
6971 AREA "Schema Area"
\r
6974 INDEX-FIELD "UserName" ASCENDING
\r
6975 INDEX-FIELD "GroupName" ASCENDING
\r
6977 ADD INDEX "XAK1GroupUser" ON "UsrGroupMember"
\r
6978 AREA "Schema Area"
\r
6980 INDEX-FIELD "GroupName" ASCENDING
\r
6981 INDEX-FIELD "UserName" ASCENDING
\r
6983 ADD TABLE "UsrGroupMenuItem"
\r
6984 AREA "Schema Area"
\r
6985 DUMP-NAME "usrgrpmi"
\r
6986 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crusgmni.p" CRC "?"
\r
6987 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deusgmni.p" CRC "?"
\r
6988 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrusgmni.p" CRC "?"
\r
6990 ADD FIELD "LinkCode" OF "UsrGroupMenuItem" AS integer
\r
6997 ADD FIELD "GroupName" OF "UsrGroupMenuItem" AS character
\r
7000 LABEL "Group Name"
\r
7003 COLUMN-LABEL "Group"
\r
7008 ADD FIELD "SequenceCode" OF "UsrGroupMenuItem" AS integer
\r
7015 ADD FIELD "ButtonLabel" OF "UsrGroupMenuItem" AS character
\r
7016 DESCRIPTION "If this button is non null then it will be used in place of the default label"
\r
7024 ADD FIELD "MenuName" OF "UsrGroupMenuItem" AS character
\r
7033 ADD INDEX "XPKGroupMenu" ON "UsrGroupMenuItem"
\r
7034 AREA "Schema Area"
\r
7036 INDEX-FIELD "GroupName" ASCENDING
\r
7037 INDEX-FIELD "MenuName" ASCENDING
\r
7038 INDEX-FIELD "SequenceCode" ASCENDING
\r
7040 ADD INDEX "XAK1LinkCode" ON "UsrGroupMenuItem"
\r
7041 AREA "Schema Area"
\r
7042 INDEX-FIELD "LinkCode" ASCENDING
\r
7044 ADD TABLE "LinkNode"
\r
7045 AREA "Schema Area"
\r
7046 DUMP-NAME "linknode"
\r
7047 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crlnknde.p" CRC "?"
\r
7048 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "delnknde.p" CRC "?"
\r
7049 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrlnknde.p" CRC "?"
\r
7051 ADD FIELD "NodeCode" OF "LinkNode" AS integer
\r
7059 ADD FIELD "NodeType" OF "LinkNode" AS character
\r
7060 DESCRIPTION "The type of the system window i.e Menu, Drill, Maintain etc
\r
7070 ADD FIELD "Description" OF "LinkNode" AS character
\r
7078 ADD FIELD "Path" OF "LinkNode" AS character
\r
7087 ADD FIELD "File" OF "LinkNode" AS character
\r
7096 ADD FIELD "RunFile" OF "LinkNode" AS character
\r
7104 ADD INDEX "XPKNodeCode" ON "LinkNode"
\r
7105 AREA "Schema Area"
\r
7108 INDEX-FIELD "NodeCode" ASCENDING
\r
7110 ADD INDEX "XAK1NodeType" ON "LinkNode"
\r
7111 AREA "Schema Area"
\r
7113 INDEX-FIELD "NodeType" ASCENDING
\r
7114 INDEX-FIELD "Description" ASCENDING
\r
7116 ADD INDEX "XAK2File" ON "LinkNode"
\r
7117 AREA "Schema Area"
\r
7119 INDEX-FIELD "File" ASCENDING
\r
7121 ADD INDEX "XAK2NodeType" ON "LinkNode"
\r
7122 AREA "Schema Area"
\r
7123 INDEX-FIELD "NodeType" ASCENDING
\r
7125 ADD TABLE "OutgoingDescription"
\r
7126 AREA "Schema Area"
\r
7127 DUMP-NAME "outgodes"
\r
7129 ADD FIELD "Percentage" OF "OutgoingDescription" AS decimal
\r
7135 HELP "Percentage of this outgoing"
\r
7140 ADD FIELD "TenancyLeaseCode" OF "OutgoingDescription" AS integer
\r
7141 DESCRIPTION "A code used to refer to this tenancy lease"
\r
7150 ADD FIELD "Description" OF "OutgoingDescription" AS character
\r
7153 LABEL "Description"
\r
7160 ADD INDEX "XPKOutgoingDescriptions" ON "OutgoingDescription"
\r
7161 AREA "Schema Area"
\r
7163 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
7165 ADD TABLE "AccountSummary"
\r
7166 AREA "Schema Area"
\r
7167 DUMP-NAME "accounts"
\r
7169 ADD FIELD "EntityType" OF "AccountSummary" AS character
\r
7170 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this transaction applies (Company, Property, Project, Creditor or Tenant)."
\r
7173 LABEL "Entity type"
\r
7177 COLUMN-LABEL-SA "C"
\r
7182 ADD FIELD "EntityCode" OF "AccountSummary" AS integer
\r
7188 COLUMN-LABEL-SA "C"
\r
7192 ADD FIELD "AccountCode" OF "AccountSummary" AS decimal
\r
7193 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
7203 ADD FIELD "Balance" OF "AccountSummary" AS decimal
\r
7204 DESCRIPTION "The sum of the months transactions against this creditor ledger account."
\r
7205 FORMAT "->>,>>>,>>>,>>9.99"
\r
7212 ADD FIELD "Budget" OF "AccountSummary" AS decimal
\r
7213 FORMAT "->>,>>>,>>>,>>9.99"
\r
7220 ADD FIELD "RevisedBudget" OF "AccountSummary" AS decimal
\r
7221 FORMAT "->>,>>>,>>>,>>9.99"
\r
7229 ADD FIELD "NoteCode" OF "AccountSummary" AS integer
\r
7230 DESCRIPTION "A unique code identifying this note."
\r
7237 ADD INDEX "XPKAccountSummary" ON "AccountSummary"
\r
7238 AREA "Schema Area"
\r
7241 INDEX-FIELD "EntityType" ASCENDING
\r
7242 INDEX-FIELD "EntityCode" ASCENDING
\r
7243 INDEX-FIELD "AccountCode" ASCENDING
\r
7245 ADD INDEX "XAK1AccountCode" ON "AccountSummary"
\r
7246 AREA "Schema Area"
\r
7247 INDEX-FIELD "AccountCode" ASCENDING
\r
7249 ADD TABLE "Voucher"
\r
7250 AREA "Schema Area"
\r
7252 DESCRIPTION "Invoices are received for payment and registered onto the system, an approval form is generated which accompanies the physical piece of paper around the organisation until the invoice is approved for payment. Invoices may also be held, or cancelled, prior to payment. 6420 Vouchers were processed in Wellington in 1995."
\r
7253 DUMP-NAME "voucher"
\r
7254 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crvouchr.p" CRC "?"
\r
7255 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrvouchr.p" CRC "?"
\r
7257 ADD FIELD "CreditorCode" OF "Voucher" AS integer
\r
7258 DESCRIPTION "The code of the Creditor that this Voucher applies to."
\r
7265 ADD FIELD "Date" OF "Voucher" AS date
\r
7266 DESCRIPTION "The date applying to the voucher."
\r
7267 FORMAT "99/99/9999"
\r
7273 ADD FIELD "InvoiceReference" OF "Voucher" AS character
\r
7274 DESCRIPTION "Reference to the invoice that the voucher applies to.
\r
7283 ADD FIELD "OurOrderNo" OF "Voucher" AS character
\r
7284 DESCRIPTION "Internal order number for this voucher.
\r
7293 ADD FIELD "CapExCode" OF "Voucher" AS integer
\r
7294 DESCRIPTION "Code for the Capital Expenditure that this voucher applies to."
\r
7301 ADD FIELD "ApproverCode" OF "Voucher" AS character
\r
7302 DESCRIPTION "The short alpha code for the person who approved the voucher."
\r
7311 ADD FIELD "GoodsValue" OF "Voucher" AS decimal
\r
7312 DESCRIPTION "Value of the goods for this voucher."
\r
7313 FORMAT "->,>>>,>>9.99"
\r
7320 ADD FIELD "TaxValue" OF "Voucher" AS decimal
\r
7321 DESCRIPTION "Tax value for the goods of this voucher."
\r
7322 FORMAT "->>>,>>9.99"
\r
7329 ADD FIELD "Description" OF "Voucher" AS character
\r
7330 DESCRIPTION "Description of the voucher."
\r
7338 ADD FIELD "BatchCode" OF "Voucher" AS integer
\r
7345 ADD FIELD "DocumentCode" OF "Voucher" AS integer
\r
7346 DESCRIPTION "The code of the document that this voucher applies to."
\r
7353 ADD FIELD "BankAccountCode" OF "Voucher" AS character
\r
7363 ADD FIELD "DateDue" OF "Voucher" AS date
\r
7364 DESCRIPTION "Due Date for voucher resolution."
\r
7365 FORMAT "99/99/9999"
\r
7371 ADD FIELD "VoucherSeq" OF "Voucher" AS integer
\r
7372 DESCRIPTION "Unique sequence number for this voucher."
\r
7379 ADD FIELD "AccountCode" OF "Voucher" AS decimal
\r
7380 DESCRIPTION "The code of the account that this voucher applies to.
\r
7389 ADD FIELD "VoucherStatus" OF "Voucher" AS character
\r
7390 DESCRIPTION "The code for the voucher status that this voucher applies to.
\r
7399 ADD FIELD "EntityType" OF "Voucher" AS character
\r
7400 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this voucher applies (Company, Property, Project, Creditor or Tenant)."
\r
7403 LABEL "Entity type"
\r
7407 COLUMN-LABEL-SA "C"
\r
7411 ADD FIELD "EntityCode" OF "Voucher" AS integer
\r
7417 COLUMN-LABEL-SA "C"
\r
7420 ADD FIELD "LastModifiedDate" OF "Voucher" AS date
\r
7421 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
7422 FORMAT "99/99/9999"
\r
7423 INITIAL "1/1/0001"
\r
7429 ADD FIELD "LastModifiedTime" OF "Voucher" AS integer
\r
7430 DESCRIPTION "The time that this record was last modified"
\r
7431 FORMAT "->,>>>,>>9"
\r
7437 ADD FIELD "LastModifiedUser" OF "Voucher" AS character
\r
7438 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
7446 ADD FIELD "ChequeNo" OF "Voucher" AS integer
\r
7447 DESCRIPTION "Number identifying the cheque."
\r
7455 ADD FIELD "SecondApprover" OF "Voucher" AS character
\r
7456 DESCRIPTION "The short alpha code for the person who approved the voucher."
\r
7459 LABEL "Second Approval"
\r
7465 ADD FIELD "OrderCode" OF "Voucher" AS integer
\r
7472 ADD FIELD "ProjectCode" OF "Voucher" AS integer
\r
7479 ADD FIELD "CreatedDate" OF "Voucher" AS date
\r
7480 FORMAT "99/99/9999"
\r
7487 ADD FIELD "PaymentStyle" OF "Voucher" AS character
\r
7495 ADD FIELD "InvoicePeriod" OF "Voucher" AS character
\r
7501 COLUMN-LABEL "Invoice Period"
\r
7504 ADD INDEX "VoucherSeq" ON "Voucher"
\r
7505 AREA "Schema Area"
\r
7508 INDEX-FIELD "VoucherSeq" ASCENDING
\r
7510 ADD INDEX "XAK10Vouchers" ON "Voucher"
\r
7511 AREA "Schema Area"
\r
7512 INDEX-FIELD "CreditorCode" ASCENDING
\r
7513 INDEX-FIELD "VoucherStatus" ASCENDING
\r
7514 INDEX-FIELD "DateDue" ASCENDING
\r
7516 ADD INDEX "XAK11Vouchers" ON "Voucher"
\r
7517 AREA "Schema Area"
\r
7518 INDEX-FIELD "BankAccountCode" ASCENDING
\r
7519 INDEX-FIELD "ChequeNo" ASCENDING
\r
7521 ADD INDEX "XAK12Vouchers" ON "Voucher"
\r
7522 AREA "Schema Area"
\r
7523 INDEX-FIELD "ProjectCode" ASCENDING
\r
7524 INDEX-FIELD "OrderCode" ASCENDING
\r
7526 ADD INDEX "XAK13Vouchers" ON "Voucher"
\r
7527 AREA "Schema Area"
\r
7528 INDEX-FIELD "ApproverCode" ASCENDING
\r
7529 INDEX-FIELD "VoucherStatus" ASCENDING
\r
7530 INDEX-FIELD "Date" ASCENDING
\r
7532 ADD INDEX "XAK2Vouchers" ON "Voucher"
\r
7533 AREA "Schema Area"
\r
7534 INDEX-FIELD "EntityType" ASCENDING
\r
7535 INDEX-FIELD "EntityCode" ASCENDING
\r
7536 INDEX-FIELD "VoucherSeq" ASCENDING
\r
7538 ADD INDEX "XAK3Vouchers" ON "Voucher"
\r
7539 AREA "Schema Area"
\r
7540 INDEX-FIELD "CreditorCode" ASCENDING
\r
7541 INDEX-FIELD "VoucherSeq" ASCENDING
\r
7543 ADD INDEX "XAK4Vouchers" ON "Voucher"
\r
7544 AREA "Schema Area"
\r
7545 INDEX-FIELD "ApproverCode" ASCENDING
\r
7546 INDEX-FIELD "VoucherSeq" DESCENDING
\r
7548 ADD INDEX "XAK5Vouchers" ON "Voucher"
\r
7549 AREA "Schema Area"
\r
7550 INDEX-FIELD "VoucherStatus" ASCENDING
\r
7551 INDEX-FIELD "VoucherSeq" ASCENDING
\r
7553 ADD INDEX "XAK6Vouchers" ON "Voucher"
\r
7554 AREA "Schema Area"
\r
7555 INDEX-FIELD "EntityType" ASCENDING
\r
7556 INDEX-FIELD "EntityCode" ASCENDING
\r
7557 INDEX-FIELD "AccountCode" ASCENDING
\r
7559 ADD INDEX "XAK7Vouchers" ON "Voucher"
\r
7560 AREA "Schema Area"
\r
7561 INDEX-FIELD "VoucherStatus" ASCENDING
\r
7562 INDEX-FIELD "EntityType" ASCENDING
\r
7563 INDEX-FIELD "EntityCode" ASCENDING
\r
7564 INDEX-FIELD "AccountCode" ASCENDING
\r
7566 ADD INDEX "XAK8Vouchers" ON "Voucher"
\r
7567 AREA "Schema Area"
\r
7568 INDEX-FIELD "Date" DESCENDING
\r
7570 ADD INDEX "XAK9Vouchers" ON "Voucher"
\r
7571 AREA "Schema Area"
\r
7572 INDEX-FIELD "VoucherStatus" DESCENDING
\r
7573 INDEX-FIELD "Date" DESCENDING
\r
7575 ADD TABLE "ShareHolder"
\r
7576 AREA "Schema Area"
\r
7577 DUMP-NAME "sharehol"
\r
7578 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deshrhld.p" CRC "?"
\r
7580 ADD FIELD "CompanyCode" OF "ShareHolder" AS integer
\r
7581 DESCRIPTION "The code of the company that this person is a shareholder of."
\r
7589 ADD FIELD "PersonCode" OF "ShareHolder" AS integer
\r
7590 DESCRIPTION "The person that is a shareholder of this company"
\r
7599 ADD FIELD "NoteCode" OF "ShareHolder" AS integer
\r
7600 DESCRIPTION "Any notes about the shareholder."
\r
7607 ADD FIELD "HolderCompany" OF "ShareHolder" AS integer
\r
7615 ADD FIELD "SharesHeld" OF "ShareHolder" AS integer
\r
7616 FORMAT ">,>>>,>>>,>>9"
\r
7622 ADD INDEX "XPKShareHolders" ON "ShareHolder"
\r
7623 AREA "Schema Area"
\r
7626 INDEX-FIELD "CompanyCode" ASCENDING
\r
7627 INDEX-FIELD "PersonCode" ASCENDING
\r
7628 INDEX-FIELD "HolderCompany" ASCENDING
\r
7630 ADD TABLE "InvoiceStatus"
\r
7631 AREA "Schema Area"
\r
7632 DUMP-NAME "invoices"
\r
7634 ADD FIELD "InvoiceStatus" OF "InvoiceStatus" AS character
\r
7644 ADD FIELD "Description" OF "InvoiceStatus" AS character
\r
7653 ADD INDEX "XPKInvoiceStatus" ON "InvoiceStatus"
\r
7654 AREA "Schema Area"
\r
7657 INDEX-FIELD "InvoiceStatus" ASCENDING
\r
7659 ADD TABLE "BuildingType"
\r
7660 AREA "Schema Area"
\r
7661 DUMP-NAME "bldtype"
\r
7663 ADD FIELD "BuildingType" OF "BuildingType" AS character
\r
7672 ADD FIELD "Description" OF "BuildingType" AS character
\r
7681 ADD INDEX "XPKBuildingType" ON "BuildingType"
\r
7682 AREA "Schema Area"
\r
7685 INDEX-FIELD "BuildingType" ASCENDING
\r
7688 AREA "Schema Area"
\r
7689 DUMP-NAME "reptparm"
\r
7691 ADD FIELD "ReportID" OF "RP" AS character
\r
7700 ADD FIELD "UserName" OF "RP" AS character
\r
7706 COLUMN-LABEL "User"
\r
7711 ADD FIELD "Char1" OF "RP" AS character
\r
7719 ADD FIELD "Char2" OF "RP" AS character
\r
7727 ADD FIELD "Char3" OF "RP" AS character
\r
7735 ADD FIELD "Char4" OF "RP" AS character
\r
7743 ADD FIELD "Char5" OF "RP" AS character
\r
7751 ADD FIELD "Char6" OF "RP" AS character
\r
7759 ADD FIELD "Int1" OF "RP" AS integer
\r
7760 FORMAT "->,>>>,>>9"
\r
7766 ADD FIELD "Int2" OF "RP" AS integer
\r
7767 FORMAT "->,>>>,>>9"
\r
7773 ADD FIELD "Int3" OF "RP" AS integer
\r
7774 FORMAT "->,>>>,>>9"
\r
7780 ADD FIELD "Int4" OF "RP" AS integer
\r
7781 FORMAT "->,>>>,>>9"
\r
7787 ADD FIELD "Int5" OF "RP" AS integer
\r
7788 FORMAT "->,>>>,>>9"
\r
7794 ADD FIELD "Int6" OF "RP" AS integer
\r
7795 FORMAT "->,>>>,>>9"
\r
7801 ADD FIELD "Int7" OF "RP" AS integer
\r
7802 FORMAT "->,>>>,>>9"
\r
7808 ADD FIELD "Int8" OF "RP" AS integer
\r
7809 FORMAT "->,>>>,>>9"
\r
7815 ADD FIELD "Date1" OF "RP" AS date
\r
7816 FORMAT "99/99/9999"
\r
7822 ADD FIELD "Date2" OF "RP" AS date
\r
7823 FORMAT "99/99/9999"
\r
7829 ADD FIELD "Date3" OF "RP" AS date
\r
7830 FORMAT "99/99/9999"
\r
7836 ADD FIELD "Date4" OF "RP" AS date
\r
7837 FORMAT "99/99/9999"
\r
7843 ADD FIELD "Dec1" OF "RP" AS decimal
\r
7844 FORMAT "->>,>>9.99"
\r
7851 ADD FIELD "Dec2" OF "RP" AS decimal
\r
7852 FORMAT "->>,>>9.99"
\r
7859 ADD FIELD "Dec3" OF "RP" AS decimal
\r
7860 FORMAT "->>,>>9.99"
\r
7867 ADD FIELD "Dec4" OF "RP" AS decimal
\r
7868 FORMAT "->>,>>9.99"
\r
7875 ADD FIELD "Dec5" OF "RP" AS decimal
\r
7876 FORMAT "->>,>>9.99"
\r
7883 ADD FIELD "Dec6" OF "RP" AS decimal
\r
7884 FORMAT "->>,>>9.99"
\r
7891 ADD FIELD "Log1" OF "RP" AS logical
\r
7896 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7899 ADD FIELD "Log2" OF "RP" AS logical
\r
7904 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7907 ADD FIELD "Log3" OF "RP" AS logical
\r
7912 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7915 ADD FIELD "Log4" OF "RP" AS logical
\r
7920 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7923 ADD FIELD "Log5" OF "RP" AS logical
\r
7928 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7931 ADD FIELD "Log6" OF "RP" AS logical
\r
7936 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7939 ADD FIELD "Log7" OF "RP" AS logical
\r
7944 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7947 ADD FIELD "Log8" OF "RP" AS logical
\r
7952 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7955 ADD FIELD "Log9" OF "RP" AS logical
\r
7960 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7963 ADD INDEX "XAKReportParameters" ON "RP"
\r
7964 AREA "Schema Area"
\r
7967 INDEX-FIELD "ReportID" ASCENDING
\r
7968 INDEX-FIELD "UserName" ASCENDING
\r
7970 ADD TABLE "PropertyOutgoing"
\r
7971 AREA "Schema Area"
\r
7972 DUMP-NAME "propoutg"
\r
7974 ADD FIELD "PropertyCode" OF "PropertyOutgoing" AS integer
\r
7975 DESCRIPTION "The code used to refer to a property outgoing"
\r
7984 ADD FIELD "AccountCode" OF "PropertyOutgoing" AS decimal
\r
7985 DESCRIPTION "The account, from the chart of accounts, that this outgoings charge accrues to."
\r
7994 ADD FIELD "BudgetAmount" OF "PropertyOutgoing" AS decimal
\r
7995 DESCRIPTION "If applicable, an annual total of the property's fixed charges for this account."
\r
7996 FORMAT "->>,>>>,>>9.99"
\r
8003 ADD INDEX "XPKPropertyOutgoing" ON "PropertyOutgoing"
\r
8004 AREA "Schema Area"
\r
8007 INDEX-FIELD "PropertyCode" ASCENDING
\r
8008 INDEX-FIELD "AccountCode" ASCENDING
\r
8010 ADD TABLE "UsrGroupMenu"
\r
8011 AREA "Schema Area"
\r
8012 DUMP-NAME "usrgrpmn"
\r
8013 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crusgmnu.p" CRC "?"
\r
8014 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deusgmnu.p" CRC "?"
\r
8015 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrusgmnu.p" CRC "?"
\r
8017 ADD FIELD "GroupName" OF "UsrGroupMenu" AS character
\r
8020 LABEL "Group Name"
\r
8023 COLUMN-LABEL "Group"
\r
8028 ADD FIELD "Autostart" OF "UsrGroupMenu" AS logical
\r
8037 ADD FIELD "MenuName" OF "UsrGroupMenu" AS character
\r
8039 INITIAL "User Menu"
\r
8046 ADD FIELD "NodeCode" OF "UsrGroupMenu" AS integer
\r
8054 ADD INDEX "XPKUsrGroupMenu" ON "UsrGroupMenu"
\r
8055 AREA "Schema Area"
\r
8058 INDEX-FIELD "GroupName" ASCENDING
\r
8059 INDEX-FIELD "NodeCode" ASCENDING
\r
8061 ADD INDEX "XAK1UsrGroup" ON "UsrGroupMenu"
\r
8062 AREA "Schema Area"
\r
8064 INDEX-FIELD "GroupName" ASCENDING
\r
8065 INDEX-FIELD "MenuName" ASCENDING
\r
8067 ADD TABLE "SupplyMeter"
\r
8068 AREA "Schema Area"
\r
8069 LABEL "Supply Meter"
\r
8070 DUMP-NAME "supplyme"
\r
8072 ADD FIELD "OldMeterCode" OF "SupplyMeter" AS integer
\r
8081 ADD FIELD "Description" OF "SupplyMeter" AS character
\r
8090 ADD FIELD "PropertyCode" OF "SupplyMeter" AS integer
\r
8096 COLUMN-LABEL-SA "C"
\r
8099 ADD FIELD "EntityType" OF "SupplyMeter" AS character
\r
8100 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this meter is charged (Company, Property, Project, Creditor or Tenant)."
\r
8103 LABEL "Entity type"
\r
8107 COLUMN-LABEL-SA "C"
\r
8110 ADD FIELD "EntityCode" OF "SupplyMeter" AS integer
\r
8116 COLUMN-LABEL-SA "C"
\r
8119 ADD FIELD "AccountCode" OF "SupplyMeter" AS decimal
\r
8120 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
8129 ADD FIELD "ElectricityUnitRate" OF "SupplyMeter" AS decimal
\r
8130 FORMAT ">>>,>>>9.9999"
\r
8132 LABEL "Electricity Rate"
\r
8138 ADD FIELD "Multiplier" OF "SupplyMeter" AS decimal
\r
8139 FORMAT "->>>,>>9.9999"
\r
8143 HELP "The amount to multiply readings by to get units"
\r
8147 ADD FIELD "Level" OF "SupplyMeter" AS integer
\r
8152 HELP "The level within the building which the meter is located on"
\r
8155 ADD FIELD "SupplyType" OF "SupplyMeter" AS character
\r
8160 HELP "The type of supply metered"
\r
8163 ADD FIELD "MeterCode" OF "SupplyMeter" AS character
\r
8170 ADD INDEX "XPKSupplyMeter" ON "SupplyMeter"
\r
8171 AREA "Schema Area"
\r
8174 INDEX-FIELD "PropertyCode" ASCENDING
\r
8175 INDEX-FIELD "MeterCode" ASCENDING
\r
8177 ADD TABLE "ConsolidationList"
\r
8178 AREA "Schema Area"
\r
8179 DUMP-NAME "con-list"
\r
8181 ADD FIELD "Name" OF "ConsolidationList" AS character
\r
8190 ADD FIELD "Description" OF "ConsolidationList" AS character
\r
8193 LABEL "Description"
\r
8199 ADD FIELD "CompanyList" OF "ConsolidationList" AS character
\r
8205 HELP "Comma separated list of company codes"
\r
8209 ADD INDEX "XPKConsolidationList" ON "ConsolidationList"
\r
8210 AREA "Schema Area"
\r
8213 INDEX-FIELD "Name" ASCENDING
\r
8215 ADD TABLE "ClosingGroup"
\r
8216 AREA "Schema Area"
\r
8217 DUMP-NAME "closingg"
\r
8219 ADD FIELD "EntityType" OF "ClosingGroup" AS character
\r
8220 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this transaction applies (Company, Property, Project, Creditor or Tenant)."
\r
8223 LABEL "Entity type"
\r
8227 COLUMN-LABEL-SA "C"
\r
8232 ADD FIELD "EntityCode" OF "ClosingGroup" AS integer
\r
8238 COLUMN-LABEL-SA "C"
\r
8242 ADD FIELD "AccountCode" OF "ClosingGroup" AS decimal
\r
8243 DESCRIPTION "The code of the account."
\r
8253 ADD FIELD "ClosingGroup" OF "ClosingGroup" AS integer
\r
8254 DESCRIPTION "A number, if applicable, to identify this 'group' of transactions as 'closed'. The sum of such a group of transactions will be zero."
\r
8255 FORMAT ">>>,>>>,>>9"
\r
8259 HELP "System maintained."
\r
8262 ADD FIELD "DateClosed" OF "ClosingGroup" AS date
\r
8263 DESCRIPTION "The date on which the group of transactions to which this record applies were closed."
\r
8264 FORMAT "99/99/9999"
\r
8270 ADD FIELD "ClosedStatus" OF "ClosingGroup" AS character
\r
8277 HELP "F=Full, P=Partial"
\r
8280 ADD FIELD "Description" OF "ClosingGroup" AS character
\r
8281 DESCRIPTION "The description of the outstanding amount for partially closed groups"
\r
8284 LABEL "Description"
\r
8289 ADD INDEX "XPKClosingGroup" ON "ClosingGroup"
\r
8290 AREA "Schema Area"
\r
8293 INDEX-FIELD "EntityType" ASCENDING
\r
8294 INDEX-FIELD "EntityCode" ASCENDING
\r
8295 INDEX-FIELD "AccountCode" ASCENDING
\r
8296 INDEX-FIELD "ClosingGroup" ASCENDING
\r
8298 ADD INDEX "XAK1ClosingGroup" ON "ClosingGroup"
\r
8299 AREA "Schema Area"
\r
8300 INDEX-FIELD "EntityType" ASCENDING
\r
8301 INDEX-FIELD "EntityCode" ASCENDING
\r
8302 INDEX-FIELD "AccountCode" ASCENDING
\r
8303 INDEX-FIELD "ClosedStatus" ASCENDING
\r
8305 ADD TABLE "SubLease"
\r
8306 AREA "Schema Area"
\r
8307 DUMP-NAME "sublease"
\r
8309 ADD FIELD "TenancyLeaseCode" OF "SubLease" AS integer
\r
8310 DESCRIPTION "A code used to refer to this tenancy lease"
\r
8318 ADD FIELD "SubLeaseCode" OF "SubLease" AS integer
\r
8325 ADD FIELD "LeaseStartDate" OF "SubLease" AS date
\r
8326 DESCRIPTION "The date that the lease commenced (which could be in the future)."
\r
8327 FORMAT "99/99/9999"
\r
8329 LABEL "Lease start"
\r
8334 ADD FIELD "LeaseEndDate" OF "SubLease" AS date
\r
8335 DESCRIPTION "The date on which the lease ends."
\r
8336 FORMAT "99/99/9999"
\r
8343 ADD FIELD "PersonCode" OF "SubLease" AS integer
\r
8344 DESCRIPTION "A code used to refer to this person."
\r
8347 LABEL "Person code"
\r
8350 COLUMN-LABEL "Person"
\r
8354 ADD FIELD "Details" OF "SubLease" AS character
\r
8359 VIEW-AS "VIEW-AS EDITOR INNER-CHARS 51 INNER-LINES 4 SCROLLBAR-VERTICAL"
\r
8363 ADD FIELD "Name" OF "SubLease" AS character
\r
8371 ADD FIELD "AnnualRental" OF "SubLease" AS decimal
\r
8372 FORMAT "->>,>>>,>>9.99"
\r
8374 LABEL "Annual rental"
\r
8380 ADD FIELD "Location" OF "SubLease" AS character
\r
8385 HELP "Location description"
\r
8388 ADD FIELD "AreaSize" OF "SubLease" AS decimal
\r
8389 FORMAT "->,>>>,>>9.99"
\r
8394 HELP "The area (Sq.M) of the space subleased"
\r
8398 ADD FIELD "NoteCode" OF "SubLease" AS integer
\r
8399 DESCRIPTION "A unique code identifying this note."
\r
8406 ADD INDEX "XPKSubLeases" ON "SubLease"
\r
8407 AREA "Schema Area"
\r
8410 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
8411 INDEX-FIELD "SubLeaseCode" ASCENDING
\r
8413 ADD TABLE "Region"
\r
8414 AREA "Schema Area"
\r
8415 DUMP-NAME "region"
\r
8417 ADD FIELD "Region" OF "Region" AS character
\r
8425 ADD FIELD "Name" OF "Region" AS character
\r
8433 ADD INDEX "XPKRegion" ON "Region"
\r
8434 AREA "Schema Area"
\r
8437 INDEX-FIELD "Region" ASCENDING ABBREVIATED
\r
8439 ADD TABLE "VoucherLine"
\r
8440 AREA "Schema Area"
\r
8441 DUMP-NAME "vchrline"
\r
8442 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "devchlne.p" CRC "?"
\r
8443 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrvchlne.p" CRC "?"
\r
8445 ADD FIELD "EntityType" OF "VoucherLine" AS character
\r
8446 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this transaction applies (Company, Property, Project, Creditor or Tenant)."
\r
8449 LABEL "Entity type"
\r
8453 COLUMN-LABEL-SA "C"
\r
8458 ADD FIELD "EntityCode" OF "VoucherLine" AS integer
\r
8464 COLUMN-LABEL-SA "C"
\r
8468 ADD FIELD "AccountCode" OF "VoucherLine" AS decimal
\r
8469 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
8479 ADD FIELD "Description" OF "VoucherLine" AS character
\r
8480 DESCRIPTION "A description of this transaction, overriding the description of the document."
\r
8485 HELP "A narrative which overrides the document narrative."
\r
8489 ADD FIELD "Amount" OF "VoucherLine" AS decimal
\r
8490 FORMAT "->>>,>>>,>>9.99"
\r
8494 COLUMN-LABEL-SA "C"
\r
8498 ADD FIELD "VoucherSeq" OF "VoucherLine" AS integer
\r
8499 DESCRIPTION "Unique sequence number for this voucher."
\r
8506 ADD FIELD "LineSeq" OF "VoucherLine" AS integer
\r
8507 FORMAT "->,>>>,>>9"
\r
8514 ADD FIELD "TaxAmount" OF "VoucherLine" AS decimal
\r
8515 DESCRIPTION "Tax value for this line of allocation for the voucher"
\r
8516 FORMAT "->>,>>>,>>9.99"
\r
8523 ADD INDEX "XPKVoucherLine" ON "VoucherLine"
\r
8524 AREA "Schema Area"
\r
8527 INDEX-FIELD "VoucherSeq" ASCENDING
\r
8528 INDEX-FIELD "LineSeq" ASCENDING
\r
8530 ADD INDEX "XAK1VoucherLines" ON "VoucherLine"
\r
8531 AREA "Schema Area"
\r
8532 INDEX-FIELD "VoucherSeq" ASCENDING
\r
8533 INDEX-FIELD "EntityCode" ASCENDING
\r
8534 INDEX-FIELD "AccountCode" ASCENDING
\r
8536 ADD TABLE "JournalDescription"
\r
8537 AREA "Schema Area"
\r
8538 DUMP-NAME "journald"
\r
8539 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crjnldsc.p" CRC "?"
\r
8541 ADD FIELD "JournalCode" OF "JournalDescription" AS integer
\r
8549 ADD FIELD "BatchCode" OF "JournalDescription" AS integer
\r
8550 DESCRIPTION "The batch which this journal applies to."
\r
8556 COLUMN-LABEL "Batch"
\r
8559 ADD FIELD "DocumentCode" OF "JournalDescription" AS integer
\r
8560 DESCRIPTION "The document within the batch which this journal is a part of."
\r
8563 LABEL "Document No."
\r
8566 COLUMN-LABEL "Doc #"
\r
8569 ADD FIELD "Description" OF "JournalDescription" AS character
\r
8574 VIEW-AS "VIEW-AS EDITOR
\r
8575 SIZE-CHARS 80 by 5
\r
8576 SCROLLBAR-HORIZONTAL SCROLLBAR-VERTICAL
\r
8581 ADD INDEX "XPKJournalDescription" ON "JournalDescription"
\r
8582 AREA "Schema Area"
\r
8585 INDEX-FIELD "JournalCode" ASCENDING
\r
8587 ADD INDEX "XAK1JournalDescription" ON "JournalDescription"
\r
8588 AREA "Schema Area"
\r
8590 INDEX-FIELD "BatchCode" ASCENDING
\r
8591 INDEX-FIELD "DocumentCode" ASCENDING
\r
8593 ADD TABLE "PeriodicDetail"
\r
8594 AREA "Schema Area"
\r
8595 DUMP-NAME "periodic"
\r
8597 ADD FIELD "ReportID" OF "PeriodicDetail" AS character
\r
8598 DESCRIPTION "Identifies the report from which this piece of detail belongs."
\r
8606 ADD FIELD "EntityID" OF "PeriodicDetail" AS character
\r
8607 DESCRIPTION "Along with the ReportID, this field identifies the entity that this detail refers to."
\r
8615 ADD FIELD "DetailType" OF "PeriodicDetail" AS character
\r
8616 DESCRIPTION "Identifies the type of detail - ""D"" for data, ""C"" for Comment"
\r
8624 ADD FIELD "Date" OF "PeriodicDetail" AS date
\r
8625 DESCRIPTION "The date that the detail was generated/modified."
\r
8626 FORMAT "99/99/9999"
\r
8632 ADD FIELD "Data" OF "PeriodicDetail" AS character
\r
8633 DESCRIPTION "The actual detail"
\r
8641 ADD FIELD "BreakValue1" OF "PeriodicDetail" AS character
\r
8642 DESCRIPTION "This is used in the report output process to break items."
\r
8650 ADD FIELD "BreakValue2" OF "PeriodicDetail" AS character
\r
8651 DESCRIPTION "This is used in the report output process to break items."
\r
8659 ADD FIELD "BreakValue3" OF "PeriodicDetail" AS character
\r
8660 DESCRIPTION "This is used in the report output process to break items."
\r
8668 ADD INDEX "XPKPeriodicDetail" ON "PeriodicDetail"
\r
8669 AREA "Schema Area"
\r
8671 INDEX-FIELD "ReportID" ASCENDING
\r
8672 INDEX-FIELD "Date" ASCENDING
\r
8673 INDEX-FIELD "EntityID" ASCENDING
\r
8674 INDEX-FIELD "DetailType" ASCENDING
\r
8676 ADD INDEX "XAK1PeriodicDetail" ON "PeriodicDetail"
\r
8677 AREA "Schema Area"
\r
8678 INDEX-FIELD "ReportID" ASCENDING
\r
8679 INDEX-FIELD "Date" ASCENDING
\r
8680 INDEX-FIELD "DetailType" ASCENDING
\r
8681 INDEX-FIELD "BreakValue1" ASCENDING
\r
8683 ADD INDEX "XAK2PeriodicDetail" ON "PeriodicDetail"
\r
8684 AREA "Schema Area"
\r
8685 INDEX-FIELD "ReportID" ASCENDING
\r
8686 INDEX-FIELD "Date" ASCENDING
\r
8687 INDEX-FIELD "DetailType" ASCENDING
\r
8688 INDEX-FIELD "BreakValue2" ASCENDING
\r
8690 ADD INDEX "XAK3PeriodicDetail" ON "PeriodicDetail"
\r
8691 AREA "Schema Area"
\r
8692 INDEX-FIELD "ReportID" ASCENDING
\r
8693 INDEX-FIELD "Date" ASCENDING
\r
8694 INDEX-FIELD "DetailType" ASCENDING
\r
8695 INDEX-FIELD "BreakValue3" ASCENDING
\r
8697 ADD INDEX "XAK4PeriodicDetail" ON "PeriodicDetail"
\r
8698 AREA "Schema Area"
\r
8699 INDEX-FIELD "ReportID" ASCENDING
\r
8700 INDEX-FIELD "EntityID" ASCENDING
\r
8701 INDEX-FIELD "DetailType" ASCENDING
\r
8702 INDEX-FIELD "Date" ASCENDING
\r
8704 ADD TABLE "AuditTrail"
\r
8705 AREA "Schema Area"
\r
8707 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "craudit.p" CRC "?"
\r
8709 ADD FIELD "AuditRecordId" OF "AuditTrail" AS integer
\r
8710 FORMAT "->,>>>,>>9"
\r
8716 ADD FIELD "AuditOf" OF "AuditTrail" AS character
\r
8724 ADD FIELD "AuditEvent" OF "AuditTrail" AS character
\r
8732 ADD FIELD "OldValue" OF "AuditTrail" AS character
\r
8740 ADD FIELD "NewValue" OF "AuditTrail" AS character
\r
8748 ADD INDEX "XPKAudittrail" ON "AuditTrail"
\r
8749 AREA "Schema Area"
\r
8752 INDEX-FIELD "AuditRecordId" ASCENDING
\r
8754 ADD TABLE "OfficeSettings"
\r
8755 AREA "Schema Area"
\r
8756 DUMP-NAME "officset"
\r
8758 ADD FIELD "OfficeCode" OF "OfficeSettings" AS character
\r
8767 ADD FIELD "SetName" OF "OfficeSettings" AS character
\r
8775 ADD FIELD "SetValue" OF "OfficeSettings" AS character
\r
8783 ADD INDEX "XPKOfficeSettings" ON "OfficeSettings"
\r
8784 AREA "Schema Area"
\r
8787 INDEX-FIELD "OfficeCode" ASCENDING
\r
8788 INDEX-FIELD "SetName" ASCENDING
\r
8790 ADD TABLE "RentSpaceHistory"
\r
8791 AREA "Schema Area"
\r
8792 DUMP-NAME "rspchist"
\r
8794 ADD FIELD "PropertyCode" OF "RentSpaceHistory" AS integer
\r
8795 DESCRIPTION "The code used to refer to a property"
\r
8803 ADD FIELD "RentalSpaceCode" OF "RentSpaceHistory" AS integer
\r
8804 DESCRIPTION "A sequence number which identifies this rental space within the property."
\r
8807 LABEL "Rental space code"
\r
8810 COLUMN-LABEL "Space"
\r
8814 ADD FIELD "Description" OF "RentSpaceHistory" AS character
\r
8815 DESCRIPTION "A brief description of the space"
\r
8823 ADD FIELD "AreaStatus" OF "RentSpaceHistory" AS character
\r
8824 DESCRIPTION "The Status of the rental space, eg. Leased, Vacant"
\r
8834 ADD FIELD "AreaSize" OF "RentSpaceHistory" AS decimal
\r
8835 DESCRIPTION "The area of the rental space in square metres."
\r
8836 FORMAT "->>,>>9.99"
\r
8841 COLUMN-LABEL-SA "C"
\r
8845 ADD FIELD "ContractedRental" OF "RentSpaceHistory" AS decimal
\r
8846 DESCRIPTION "The annual rental which tenants have contracted to pay for this space."
\r
8847 FORMAT "->,>>>,>>9.99"
\r
8849 LABEL "Contract Rental"
\r
8855 ADD FIELD "ChargedRental" OF "RentSpaceHistory" AS decimal
\r
8856 FORMAT "->,>>>,>>9.99"
\r
8858 LABEL "Charged Rent"
\r
8864 ADD FIELD "MarketRental" OF "RentSpaceHistory" AS decimal
\r
8865 DESCRIPTION "The estimated market rental which the space is worth at current market rates."
\r
8866 FORMAT "->,>>>,>>9.99"
\r
8874 ADD FIELD "MarketRentalDate" OF "RentSpaceHistory" AS date
\r
8875 DESCRIPTION "The date at which the market rental was last estimated."
\r
8876 FORMAT "99/99/9999"
\r
8878 LABEL "Market rental date"
\r
8881 COLUMN-LABEL "Mkt date"
\r
8884 ADD FIELD "TenancyLeaseCode" OF "RentSpaceHistory" AS integer
\r
8885 DESCRIPTION "The code referring to the tenancy lease record applying to this rental space."
\r
8893 ADD FIELD "DateChanged" OF "RentSpaceHistory" AS date
\r
8894 FORMAT "99/99/9999"
\r
8900 ADD FIELD "VacationDate" OF "RentSpaceHistory" AS date
\r
8901 DESCRIPTION "The date that this rental space was vacated. This only applies
\r
8902 if AreaStatus = ""V""."
\r
8903 FORMAT "99/99/9999"
\r
8905 LABEL "Date Vacated"
\r
8908 COLUMN-LABEL "Vacated"
\r
8911 ADD FIELD "VacantCosts" OF "RentSpaceHistory" AS decimal
\r
8912 FORMAT "->,>>>,>>9.99"
\r
8919 ADD FIELD "OutgoingsPercentage" OF "RentSpaceHistory" AS decimal
\r
8922 LABEL "O/G Percent"
\r
8928 ADD INDEX "XPKRentalSpaceHistory" ON "RentSpaceHistory"
\r
8929 AREA "Schema Area"
\r
8932 INDEX-FIELD "PropertyCode" ASCENDING
\r
8933 INDEX-FIELD "RentalSpaceCode" ASCENDING
\r
8934 INDEX-FIELD "DateChanged" DESCENDING
\r
8936 ADD TABLE "UsrGroupRights"
\r
8937 AREA "Schema Area"
\r
8938 DUMP-NAME "ugrights"
\r
8940 ADD FIELD "GroupName" OF "UsrGroupRights" AS character
\r
8943 LABEL "Group Name"
\r
8946 COLUMN-LABEL "Group"
\r
8951 ADD FIELD "ApplicationCode" OF "UsrGroupRights" AS character
\r
8959 ADD FIELD "Action" OF "UsrGroupRights" AS character
\r
8967 ADD FIELD "Rights" OF "UsrGroupRights" AS logical
\r
8974 ADD INDEX "XPKUsrGroupRights" ON "UsrGroupRights"
\r
8975 AREA "Schema Area"
\r
8978 INDEX-FIELD "GroupName" ASCENDING
\r
8979 INDEX-FIELD "ApplicationCode" ASCENDING
\r
8980 INDEX-FIELD "Action" ASCENDING
\r
8983 AREA "Schema Area"
\r
8985 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deorder.p" CRC "?"
\r
8986 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrorder.p" CRC "?"
\r
8988 ADD FIELD "ProjectCode" OF "Order" AS integer
\r
8995 ADD FIELD "OrderCode" OF "Order" AS integer
\r
9002 ADD FIELD "AccountCode" OF "Order" AS decimal
\r
9003 DESCRIPTION "The code of the account."
\r
9013 ADD FIELD "CreditorCode" OF "Order" AS integer
\r
9014 DESCRIPTION "The code used to refer to a creditor."
\r
9022 ADD FIELD "ApprovedAmount" OF "Order" AS decimal
\r
9023 FORMAT "->>>,>>>,>>9.99"
\r
9030 ADD FIELD "OrderAmount" OF "Order" AS decimal
\r
9031 FORMAT "->>>,>>>,>>9.99"
\r
9038 ADD FIELD "TaxAmount" OF "Order" AS decimal
\r
9039 FORMAT "->>>,>>>,>>9.99"
\r
9046 ADD FIELD "FirstApprover" OF "Order" AS character
\r
9047 DESCRIPTION "The short alphanumeric code that identifies this approver."
\r
9056 ADD FIELD "SecondApprover" OF "Order" AS character
\r
9057 DESCRIPTION "The short alphanumeric code that identifies this approver."
\r
9066 ADD FIELD "QuotedAmount" OF "Order" AS decimal
\r
9067 FORMAT "->>>,>>>,>>9.99"
\r
9074 ADD FIELD "OrderDate" OF "Order" AS date
\r
9075 FORMAT "99/99/9999"
\r
9077 LABEL "Order Date"
\r
9082 ADD FIELD "Description" OF "Order" AS character
\r
9087 VIEW-AS "VIEW-AS EDITOR
\r
9088 SIZE-CHARS 80 by 60
\r
9089 SCROLLBAR-VERTICAL
\r
9093 ADD FIELD "EntityType" OF "Order" AS character
\r
9094 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this transaction applies (Company, Property, Project, Creditor or Tenant)."
\r
9097 LABEL "Entity type"
\r
9101 COLUMN-LABEL-SA "C"
\r
9104 ADD FIELD "EntityCode" OF "Order" AS integer
\r
9110 COLUMN-LABEL-SA "C"
\r
9113 ADD FIELD "OrderStatus" OF "Order" AS character
\r
9120 ADD FIELD "OverridePaid" OF "Order" AS decimal
\r
9121 FORMAT "->>,>>>,>>9.99"
\r
9129 ADD INDEX "XPKOrder" ON "Order"
\r
9130 AREA "Schema Area"
\r
9133 INDEX-FIELD "ProjectCode" ASCENDING
\r
9134 INDEX-FIELD "OrderCode" ASCENDING
\r
9136 ADD INDEX "XAK1Orders" ON "Order"
\r
9137 AREA "Schema Area"
\r
9138 INDEX-FIELD "ProjectCode" ASCENDING
\r
9139 INDEX-FIELD "AccountCode" ASCENDING
\r
9140 INDEX-FIELD "OrderCode" ASCENDING
\r
9142 ADD INDEX "XAK2Orders" ON "Order"
\r
9143 AREA "Schema Area"
\r
9144 INDEX-FIELD "EntityType" ASCENDING
\r
9145 INDEX-FIELD "EntityCode" ASCENDING
\r
9146 INDEX-FIELD "OrderCode" ASCENDING
\r
9148 ADD INDEX "XAK3Orders" ON "Order"
\r
9149 AREA "Schema Area"
\r
9150 INDEX-FIELD "EntityType" ASCENDING
\r
9151 INDEX-FIELD "EntityCode" ASCENDING
\r
9152 INDEX-FIELD "AccountCode" ASCENDING
\r
9153 INDEX-FIELD "OrderCode" ASCENDING
\r
9155 ADD INDEX "XAK4Orders" ON "Order"
\r
9156 AREA "Schema Area"
\r
9157 INDEX-FIELD "OrderStatus" ASCENDING
\r
9158 INDEX-FIELD "EntityType" ASCENDING
\r
9159 INDEX-FIELD "EntityCode" ASCENDING
\r
9160 INDEX-FIELD "OrderCode" ASCENDING
\r
9162 ADD TABLE "ProjectBudget"
\r
9163 AREA "Schema Area"
\r
9164 DUMP-NAME "projectb"
\r
9165 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrprjbdg.p" CRC "?"
\r
9167 ADD FIELD "ProjectCode" OF "ProjectBudget" AS integer
\r
9174 ADD FIELD "AccountCode" OF "ProjectBudget" AS decimal
\r
9175 DESCRIPTION "The code of the account."
\r
9185 ADD FIELD "OriginalBudget" OF "ProjectBudget" AS decimal
\r
9186 FORMAT ">>>,>>>,>>9.99"
\r
9193 ADD FIELD "CommittedBudget" OF "ProjectBudget" AS decimal
\r
9194 FORMAT ">>>,>>>,>>9.99"
\r
9201 ADD FIELD "Adjustment" OF "ProjectBudget" AS decimal
\r
9202 FORMAT "->>>,>>>,>>9.99"
\r
9209 ADD FIELD "AgreedVariation" OF "ProjectBudget" AS decimal
\r
9210 FORMAT ">>>,>>>,>>9.99"
\r
9217 ADD FIELD "EntityType" OF "ProjectBudget" AS character
\r
9220 LABEL "Entity type code"
\r
9227 ADD FIELD "EntityCode" OF "ProjectBudget" AS integer
\r
9233 COLUMN-LABEL-SA "C"
\r
9236 ADD FIELD "EntityAccount" OF "ProjectBudget" AS decimal
\r
9237 DESCRIPTION "The code of the account."
\r
9247 ADD FIELD "AdjustmentReviewed" OF "ProjectBudget" AS logical
\r
9250 LABEL "Adjustment Reviewed?"
\r
9253 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
9256 ADD FIELD "AdjustmentReviewDate" OF "ProjectBudget" AS date
\r
9257 FORMAT "99/99/9999"
\r
9263 ADD FIELD "Description" OF "ProjectBudget" AS character
\r
9270 ADD FIELD "UncommittedBudget" OF "ProjectBudget" AS decimal
\r
9271 FORMAT "->>>,>>>,>>9.99"
\r
9278 ADD FIELD "HighVolume" OF "ProjectBudget" AS logical
\r
9279 DESCRIPTION "Whether or not the account should show totals only by default on a transaction report."
\r
9282 LABEL "High volume"
\r
9285 COLUMN-LABEL "HiVol"
\r
9288 ADD FIELD "AllowPosting" OF "ProjectBudget" AS logical
\r
9289 DESCRIPTION "Whether or not users can post to this in transaction entry, or if posting must be done automatically through children."
\r
9297 ADD FIELD "ProjectExpenseCategory" OF "ProjectBudget" AS character
\r
9305 ADD INDEX "XPKProjectBudget" ON "ProjectBudget"
\r
9306 AREA "Schema Area"
\r
9309 INDEX-FIELD "ProjectCode" ASCENDING
\r
9310 INDEX-FIELD "AccountCode" ASCENDING
\r
9312 ADD TABLE "ConstructionDetails"
\r
9313 AREA "Schema Area"
\r
9314 DUMP-NAME "construc"
\r
9316 ADD FIELD "PropertyCode" OF "ConstructionDetails" AS integer
\r
9317 DESCRIPTION "The code used to refer to a property"
\r
9325 ADD FIELD "ConstructionDate" OF "ConstructionDetails" AS date
\r
9326 FORMAT "99/99/9999"
\r
9328 LABEL "Constructed"
\r
9333 ADD FIELD "Classification" OF "ConstructionDetails" AS character
\r
9340 ADD FIELD "IntendedLife" OF "ConstructionDetails" AS integer
\r
9341 FORMAT "->,>>>,>>9"
\r
9347 ADD FIELD "LocationText" OF "ConstructionDetails" AS character
\r
9354 ADD FIELD "DescriptionText" OF "ConstructionDetails" AS character
\r
9361 ADD FIELD "LegalText" OF "ConstructionDetails" AS character
\r
9368 ADD FIELD "ZoningText" OF "ConstructionDetails" AS character
\r
9375 ADD FIELD "TerritorialAuthority" OF "ConstructionDetails" AS character
\r
9382 ADD FIELD "UsageText" OF "ConstructionDetails" AS character
\r
9383 DESCRIPTION "The designed or actual usage of the building"
\r
9386 LABEL "Building Usage"
\r
9389 HELP "The designed or actual usage of the building"
\r
9392 ADD INDEX "XPKConstructionDetails" ON "ConstructionDetails"
\r
9393 AREA "Schema Area"
\r
9396 INDEX-FIELD "PropertyCode" ASCENDING
\r
9398 ADD TABLE "ScenarioParameter"
\r
9399 AREA "Schema Area"
\r
9400 DUMP-NAME "scenarip"
\r
9402 ADD FIELD "ScenarioCode" OF "ScenarioParameter" AS integer
\r
9403 DESCRIPTION "A code to identify the scenario."
\r
9410 ADD FIELD "ParameterID" OF "ScenarioParameter" AS character
\r
9411 DESCRIPTION "Identifies the parameter - for use by the programs which use it."
\r
9418 ADD FIELD "Data" OF "ScenarioParameter" AS character
\r
9419 DESCRIPTION "Parameter data values."
\r
9426 ADD INDEX "XPKScenarioParameter" ON "ScenarioParameter"
\r
9427 AREA "Schema Area"
\r
9430 INDEX-FIELD "ScenarioCode" ASCENDING
\r
9431 INDEX-FIELD "ParameterID" ASCENDING
\r
9433 ADD TABLE "LeaseHistory"
\r
9434 AREA "Schema Area"
\r
9435 DUMP-NAME "leasehis"
\r
9437 ADD FIELD "DateChanged" OF "LeaseHistory" AS date
\r
9438 FORMAT "99/99/9999"
\r
9444 ADD FIELD "TenancyLeaseCode" OF "LeaseHistory" AS integer
\r
9445 DESCRIPTION "A code used to refer to this tenancy lease"
\r
9453 ADD FIELD "AssignedLeaseCode" OF "LeaseHistory" AS integer
\r
9454 DESCRIPTION "The prior lease in the chain of assigned leases."
\r
9457 LABEL "Assigned to"
\r
9462 ADD FIELD "AssignmentDate" OF "LeaseHistory" AS date
\r
9463 DESCRIPTION "The date on which this lease was assigned from the prior one."
\r
9464 FORMAT "99/99/9999"
\r
9466 LABEL "Assign date"
\r
9471 ADD FIELD "LeaseEndDate" OF "LeaseHistory" AS date
\r
9472 DESCRIPTION "The date on which the lease ends."
\r
9473 FORMAT "99/99/9999"
\r
9480 ADD FIELD "LeaseStartDate" OF "LeaseHistory" AS date
\r
9481 DESCRIPTION "The date that the lease commenced (which could be in the future)."
\r
9482 FORMAT "99/99/9999"
\r
9484 LABEL "Lease start"
\r
9489 ADD FIELD "LeaseStatus" OF "LeaseHistory" AS character
\r
9499 ADD FIELD "LeaseType" OF "LeaseHistory" AS character
\r
9500 DESCRIPTION "A code classifying the type of lease."
\r
9510 ADD FIELD "NoteCode" OF "LeaseHistory" AS integer
\r
9511 DESCRIPTION "Any notes relating to this lease"
\r
9519 ADD FIELD "RatchetClause" OF "LeaseHistory" AS character
\r
9520 DESCRIPTION "The type of ratchet clause included in the lease, e.g. None, Full, Partial etc."
\r
9526 HELP "Ratchet clause type: None, full, part etc."
\r
9530 ADD FIELD "RentStartDate" OF "LeaseHistory" AS date
\r
9531 FORMAT "99/99/9999"
\r
9533 LABEL "Rent start"
\r
9536 HELP "The date on which the tenant starts being liable for rent"
\r
9539 ADD FIELD "RentEndDate" OF "LeaseHistory" AS date
\r
9540 FORMAT "99/99/9999"
\r
9545 HELP "The date on which the tenant stops being liable for rent"
\r
9548 ADD FIELD "ReviewNoticePeriod" OF "LeaseHistory" AS integer
\r
9551 LABEL "Review notice"
\r
9554 COLUMN-LABEL "RR notice"
\r
9555 HELP "The number of months of notice required for a rent review."
\r
9558 ADD FIELD "RightsOfRenewal" OF "LeaseHistory" AS character
\r
9561 LABEL "Rights of Renewal"
\r
9564 COLUMN-LABEL "RoR"
\r
9565 HELP "The rights of renewal written into the lease."
\r
9569 ADD FIELD "RORNoticePeriod" OF "LeaseHistory" AS integer
\r
9570 DESCRIPTION "The number of months of notice required for exercise of the rights of renewal."
\r
9573 LABEL "RoR notice"
\r
9576 HELP "Months notice required for exercise of renewal rights"
\r
9579 ADD FIELD "TenantCode" OF "LeaseHistory" AS integer
\r
9580 DESCRIPTION "The tenant who should be billed with transactions relating to this lease. This should be the same as the TenancyLeaseCode unless people change their minds..."
\r
9586 HELP "The tenant code for accounting for this lease."
\r
9589 ADD FIELD "DocumentLocation" OF "LeaseHistory" AS integer
\r
9590 DESCRIPTION "The current location of the lease
\r
9591 Foreign key on the 'Note' table."
\r
9594 LABEL "Document Location Notes"
\r
9597 COLUMN-LABEL "NotesKey"
\r
9598 HELP "A 'note' indicating the current location of the lease docs."
\r
9601 ADD FIELD "PrimarySpace" OF "LeaseHistory" AS integer
\r
9602 DESCRIPTION "A sequence number which identifies the primary rental space within the property."
\r
9605 LABEL "Primary Space"
\r
9608 COLUMN-LABEL "Primary"
\r
9611 ADD FIELD "OutgoingsRate" OF "LeaseHistory" AS decimal
\r
9620 ADD FIELD "PropertyCode" OF "LeaseHistory" AS integer
\r
9621 DESCRIPTION "The property that the rental spaces in this lease are a part of."
\r
9629 ADD FIELD "TermYears" OF "LeaseHistory" AS integer
\r
9637 ADD FIELD "TermMonths" OF "LeaseHistory" AS integer
\r
9642 VALEXP "TermMonths >= 0 AND TermMonths < 12"
\r
9643 VALMSG "Must be between 0 and 11"
\r
9646 ADD FIELD "TermDays" OF "LeaseHistory" AS integer
\r
9651 VALEXP "TermDays >= 0 AND TermDays < 32"
\r
9652 VALMSG "Must be between 0 and 31"
\r
9655 ADD FIELD "GrossLease" OF "LeaseHistory" AS logical
\r
9658 LABEL "Gross Lease"
\r
9661 COLUMN-LABEL "G/N"
\r
9664 ADD FIELD "RevSequence" OF "LeaseHistory" AS integer
\r
9665 DESCRIPTION "Sequence from Rev property system"
\r
9666 FORMAT "->,>>>,>>9"
\r
9672 ADD FIELD "RevTenant" OF "LeaseHistory" AS character
\r
9673 DESCRIPTION "Tenant code from Revelation system"
\r
9681 ADD FIELD "ElectricityUnitRate" OF "LeaseHistory" AS decimal
\r
9684 LABEL "Electricity Rate"
\r
9690 ADD FIELD "OutgoingsBudget" OF "LeaseHistory" AS decimal
\r
9691 DESCRIPTION "Basis for charging outgoings to a tenant."
\r
9692 FORMAT ">,>>>,>>9.99"
\r
9699 ADD FIELD "TaxApplies" OF "LeaseHistory" AS logical
\r
9702 LABEL "Tax applies"
\r
9705 COLUMN-LABEL "Taxable"
\r
9708 ADD FIELD "AreaDescription" OF "LeaseHistory" AS character
\r
9711 LABEL "Areas Rented"
\r
9716 ADD FIELD "FirstLeaseStart" OF "LeaseHistory" AS date
\r
9717 FORMAT "99/99/9999"
\r
9719 LABEL "First lease start"
\r
9722 COLUMN-LABEL "First Start"
\r
9723 HELP "The date the first lease on this space by this tenant commenced"
\r
9726 ADD FIELD "IncentiveNotes" OF "LeaseHistory" AS character
\r
9727 DESCRIPTION "Just some notes that get written in when the lease is settled (i.e when a new lease is setup)."
\r
9735 ADD FIELD "ChangedBy" OF "LeaseHistory" AS character
\r
9736 DESCRIPTION "A system controlled record of what process caused the lease information to change"
\r
9743 ADD INDEX "XPKLeaseHistory" ON "LeaseHistory"
\r
9744 AREA "Schema Area"
\r
9747 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
9748 INDEX-FIELD "DateChanged" DESCENDING
\r
9750 ADD TABLE "RentalSpace"
\r
9751 AREA "Schema Area"
\r
9752 DUMP-NAME "rentalsp"
\r
9753 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrrntspc.p" CRC "?"
\r
9755 ADD FIELD "PropertyCode" OF "RentalSpace" AS integer
\r
9756 DESCRIPTION "The property that this rental space is a part of"
\r
9764 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "a-rsppcd.p" CRC "?"
\r
9766 ADD FIELD "RentalSpaceCode" OF "RentalSpace" AS integer
\r
9767 DESCRIPTION "A sequence number which identifies this rental space within the property."
\r
9770 LABEL "Rental space code"
\r
9773 COLUMN-LABEL "Space"
\r
9777 ADD FIELD "Contact" OF "RentalSpace" AS integer
\r
9778 DESCRIPTION "A person to contact about things to do with this space."
\r
9786 ADD FIELD "AreaType" OF "RentalSpace" AS character
\r
9787 DESCRIPTION "The type of rental space eg. Office, Rental, Carpark, Warehouse, etc"
\r
9793 COLUMN-LABEL "Type"
\r
9798 ADD FIELD "AreaStatus" OF "RentalSpace" AS character
\r
9799 DESCRIPTION "The Status of the rental space, eg. Leased, Vacant"
\r
9809 ADD FIELD "AreaSize" OF "RentalSpace" AS decimal
\r
9810 DESCRIPTION "The area of the rental space in square metres."
\r
9811 FORMAT "->>,>>9.99"
\r
9816 COLUMN-LABEL-SA "C"
\r
9820 ADD FIELD "ContractedRental" OF "RentalSpace" AS decimal
\r
9821 DESCRIPTION "The annual rental which tenants have contracted to pay for this space."
\r
9822 FORMAT "->,>>>,>>9.99"
\r
9824 LABEL "Contract Rental"
\r
9830 ADD FIELD "Description" OF "RentalSpace" AS character
\r
9831 DESCRIPTION "A brief description of the space"
\r
9839 ADD FIELD "MarketRental" OF "RentalSpace" AS decimal
\r
9840 DESCRIPTION "The estimated market rental which the space is worth at current market rates."
\r
9841 FORMAT "->,>>>,>>9.99"
\r
9849 ADD FIELD "MarketRentalDate" OF "RentalSpace" AS date
\r
9850 DESCRIPTION "The date at which the market rental was last estimated."
\r
9851 FORMAT "99/99/9999"
\r
9853 LABEL "Market rental date"
\r
9856 COLUMN-LABEL "Mkt date"
\r
9859 ADD FIELD "TenancyLeaseCode" OF "RentalSpace" AS integer
\r
9860 DESCRIPTION "The code referring to the tenancy lease record applying to this rental space."
\r
9868 ADD FIELD "Warden1" OF "RentalSpace" AS integer
\r
9869 DESCRIPTION "The person who is the primary warden for the rental space."
\r
9876 ADD FIELD "Warden2" OF "RentalSpace" AS integer
\r
9877 DESCRIPTION "The person who is the secondary warden for the rental space."
\r
9885 ADD FIELD "Level" OF "RentalSpace" AS integer
\r
9892 ADD FIELD "LevelSequence" OF "RentalSpace" AS integer
\r
9898 COLUMN-LABEL "Seq"
\r
9901 ADD FIELD "NoteCode" OF "RentalSpace" AS integer
\r
9908 ADD FIELD "ChargedRental" OF "RentalSpace" AS decimal
\r
9909 FORMAT "->,>>>,>>9.99"
\r
9911 LABEL "Charged Rent"
\r
9917 ADD FIELD "AuditRecordId" OF "RentalSpace" AS integer
\r
9918 FORMAT "->,>>>,>>9"
\r
9924 ADD FIELD "LastModifiedDate" OF "RentalSpace" AS date
\r
9925 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
9926 FORMAT "99/99/9999"
\r
9927 INITIAL "1/1/0001"
\r
9933 ADD FIELD "LastModifiedTime" OF "RentalSpace" AS integer
\r
9934 DESCRIPTION "The time that this record was last modified"
\r
9935 FORMAT "->,>>>,>>9"
\r
9941 ADD FIELD "LastModifiedUser" OF "RentalSpace" AS character
\r
9942 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
9950 ADD FIELD "VacantCosts" OF "RentalSpace" AS decimal
\r
9951 FORMAT "->,>>>,>>9.99"
\r
9958 ADD FIELD "OutgoingsPercentage" OF "RentalSpace" AS decimal
\r
9961 LABEL "O/G Percent"
\r
9967 ADD FIELD "TaxApplies" OF "RentalSpace" AS logical
\r
9970 LABEL "Tax applies"
\r
9973 COLUMN-LABEL "Taxable"
\r
9976 ADD FIELD "VacationDate" OF "RentalSpace" AS date
\r
9977 DESCRIPTION "The date that this rental space was vacated. This only applies
\r
9978 if AreaStatus = ""V""."
\r
9979 FORMAT "99/99/9999"
\r
9981 LABEL "Date Vacated"
\r
9984 COLUMN-LABEL "Vacated"
\r
9987 ADD INDEX "RentalSpaces" ON "RentalSpace"
\r
9988 AREA "Schema Area"
\r
9991 INDEX-FIELD "PropertyCode" ASCENDING
\r
9992 INDEX-FIELD "RentalSpaceCode" ASCENDING
\r
9994 ADD INDEX "XAK1RentalSpaces" ON "RentalSpace"
\r
9995 AREA "Schema Area"
\r
9996 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
9997 INDEX-FIELD "RentalSpaceCode" ASCENDING
\r
9999 ADD INDEX "XAK2RentalSpaces" ON "RentalSpace"
\r
10000 AREA "Schema Area"
\r
10001 INDEX-FIELD "PropertyCode" ASCENDING
\r
10002 INDEX-FIELD "Level" ASCENDING
\r
10003 INDEX-FIELD "LevelSequence" ASCENDING
\r
10005 ADD TABLE "AssetType"
\r
10006 AREA "Schema Area"
\r
10007 DUMP-NAME "assettyp"
\r
10009 ADD FIELD "AssetType" OF "AssetType" AS character
\r
10016 ADD FIELD "Description" OF "AssetType" AS character
\r
10023 ADD FIELD "DepreciationStyle" OF "AssetType" AS character
\r
10030 ADD FIELD "DepreciationRate" OF "AssetType" AS decimal
\r
10038 ADD FIELD "AccountCode" OF "AssetType" AS decimal
\r
10046 ADD INDEX "XPKAssetType" ON "AssetType"
\r
10047 AREA "Schema Area"
\r
10050 INDEX-FIELD "AssetType" ASCENDING
\r
10052 ADD TABLE "BatchQueue"
\r
10053 AREA "Schema Area"
\r
10054 DUMP-NAME "batchque"
\r
10056 ADD FIELD "RunDate" OF "BatchQueue" AS date
\r
10057 FORMAT "99/99/9999"
\r
10063 ADD FIELD "RunTime" OF "BatchQueue" AS integer
\r
10064 FORMAT "->,>>>,>>9"
\r
10070 ADD FIELD "RunStatus" OF "BatchQueue" AS character
\r
10077 ADD FIELD "RunProgram" OF "BatchQueue" AS character
\r
10084 ADD FIELD "RunParameters" OF "BatchQueue" AS character
\r
10091 ADD FIELD "RunOutput" OF "BatchQueue" AS character
\r
10098 ADD FIELD "RunErrors" OF "BatchQueue" AS character
\r
10103 HELP "Errors produced by the processing of this job"
\r
10106 ADD FIELD "UserName" OF "BatchQueue" AS character
\r
10111 HELP "Name of user requesting batch job"
\r
10114 ADD FIELD "StartedOn" OF "BatchQueue" AS date
\r
10115 FORMAT "99/99/9999"
\r
10119 HELP "Date job was started"
\r
10122 ADD FIELD "StartedAt" OF "BatchQueue" AS integer
\r
10127 HELP "Time job was started"
\r
10130 ADD FIELD "Elapsed" OF "BatchQueue" AS integer
\r
10135 HELP "Time job took to run"
\r
10138 ADD INDEX "XPKBatchQueue" ON "BatchQueue"
\r
10139 AREA "Schema Area"
\r
10141 INDEX-FIELD "RunStatus" ASCENDING
\r
10142 INDEX-FIELD "RunDate" ASCENDING
\r
10143 INDEX-FIELD "RunTime" ASCENDING
\r
10145 ADD TABLE "CFChangeType"
\r
10146 AREA "Schema Area"
\r
10147 DUMP-NAME "cfchgtyp"
\r
10149 ADD FIELD "CFChangeType" OF "CFChangeType" AS character
\r
10152 LABEL "Change type"
\r
10155 COLUMN-LABEL "Change"
\r
10158 ADD FIELD "Description" OF "CFChangeType" AS character
\r
10165 ADD INDEX "XKPCFChangetype" ON "CFChangeType"
\r
10166 AREA "Schema Area"
\r
10169 INDEX-FIELD "CFChangeType" ASCENDING
\r
10171 ADD TABLE "FixedAsset"
\r
10172 AREA "Schema Area"
\r
10173 DUMP-NAME "fixedass"
\r
10175 ADD FIELD "AssetCode" OF "FixedAsset" AS integer
\r
10182 ADD FIELD "Description" OF "FixedAsset" AS character
\r
10189 ADD FIELD "Active" OF "FixedAsset" AS logical
\r
10196 ADD FIELD "PurchaseDate" OF "FixedAsset" AS date
\r
10197 FORMAT "99/99/9999"
\r
10203 ADD FIELD "SaleDate" OF "FixedAsset" AS date
\r
10204 FORMAT "99/99/9999"
\r
10210 ADD FIELD "BookDepreciationType" OF "FixedAsset" AS character
\r
10217 ADD FIELD "TaxDepreciationType" OF "FixedAsset" AS character
\r
10224 ADD FIELD "LastModifiedDate" OF "FixedAsset" AS date
\r
10225 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
10226 FORMAT "99/99/9999"
\r
10227 INITIAL "1/1/0001"
\r
10233 ADD FIELD "LastModifiedTime" OF "FixedAsset" AS integer
\r
10234 DESCRIPTION "The time that this record was last modified"
\r
10235 FORMAT "->,>>>,>>9"
\r
10241 ADD FIELD "LastModifiedUser" OF "FixedAsset" AS character
\r
10242 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
10250 ADD FIELD "AuditRecordId" OF "FixedAsset" AS integer
\r
10251 FORMAT "->,>>>,>>9"
\r
10257 ADD FIELD "NoteCode" OF "FixedAsset" AS integer
\r
10258 DESCRIPTION "A unique code identifying this note."
\r
10265 ADD FIELD "AssetStatus" OF "FixedAsset" AS character
\r
10273 ADD FIELD "AssetType" OF "FixedAsset" AS character
\r
10281 ADD FIELD "ParentAssetCode" OF "FixedAsset" AS integer
\r
10286 HELP "Asset code of parent asset that this asset belongs to (if applicable)"
\r
10289 ADD FIELD "AssetReference" OF "FixedAsset" AS character
\r
10292 LABEL "Reference"
\r
10295 HELP "Serial Number or external reference id"
\r
10298 ADD FIELD "EntityType" OF "FixedAsset" AS character
\r
10303 HELP "The type of accounting entity (company, property etc) owning this asset"
\r
10306 ADD FIELD "EntityCode" OF "FixedAsset" AS integer
\r
10311 HELP "The accounting entity (company, property etc) with financial ownership of this asset"
\r
10314 ADD FIELD "PurchaseFrom" OF "FixedAsset" AS character
\r
10317 LABEL "Purchased from"
\r
10320 HELP "Person/company purchased from"
\r
10323 ADD FIELD "WarrantyMonths" OF "FixedAsset" AS integer
\r
10328 HELP "Length of warranty from purchase date, in months"
\r
10331 ADD FIELD "NextDepreciationDate" OF "FixedAsset" AS date
\r
10332 FORMAT "99/99/9999"
\r
10336 HELP "Next date to depreciating asset on"
\r
10339 ADD FIELD "DepreciationFreq" OF "FixedAsset" AS character
\r
10344 HELP "Frequency of depreciation"
\r
10347 ADD FIELD "SoldTo" OF "FixedAsset" AS character
\r
10353 HELP "Person / company sold to"
\r
10356 ADD INDEX "XPKFixedAsset" ON "FixedAsset"
\r
10357 AREA "Schema Area"
\r
10360 INDEX-FIELD "AssetCode" ASCENDING
\r
10362 ADD INDEX "XAK1FixedAsset" ON "FixedAsset"
\r
10363 AREA "Schema Area"
\r
10364 INDEX-FIELD "Active" ASCENDING
\r
10365 INDEX-FIELD "AssetCode" ASCENDING
\r
10367 ADD INDEX "XAK1ParentAsset" ON "FixedAsset"
\r
10368 AREA "Schema Area"
\r
10369 INDEX-FIELD "ParentAssetCode" ASCENDING
\r
10371 ADD INDEX "XAK2Description" ON "FixedAsset"
\r
10372 AREA "Schema Area"
\r
10373 INDEX-FIELD "Description" ASCENDING
\r
10375 ADD INDEX "XAK3FixedAsset" ON "FixedAsset"
\r
10376 AREA "Schema Area"
\r
10377 INDEX-FIELD "Active" ASCENDING
\r
10378 INDEX-FIELD "Description" ASCENDING
\r
10380 ADD TABLE "ReplCollisionLog"
\r
10381 AREA "Schema Area"
\r
10382 DESCRIPTION "Collision Log"
\r
10383 DUMP-NAME "replcoll"
\r
10385 ADD FIELD "CollisionID" OF "ReplCollisionLog" AS integer
\r
10386 DESCRIPTION "Unique Key Field"
\r
10387 FORMAT ">>>,>>>,>>9"
\r
10389 LABEL "Collision ID"
\r
10392 COLUMN-LABEL "Coll Id"
\r
10395 ADD FIELD "ReplId" OF "ReplCollisionLog" AS integer
\r
10396 DESCRIPTION "Relates back to the original replication record involved."
\r
10397 FORMAT ">>>,>>>,>>9"
\r
10399 LABEL "Replication Id"
\r
10402 COLUMN-LABEL "Rep Id"
\r
10405 ADD FIELD "TransActID" OF "ReplCollisionLog" AS integer
\r
10406 DESCRIPTION "Progress DBTASKID. Groups all records in the same transaction. None of them will be replicated."
\r
10407 FORMAT ">,>>>,>>>,>>9"
\r
10409 LABEL "Transaction ID"
\r
10412 COLUMN-LABEL "Trans. ID"
\r
10415 ADD FIELD "ReplDate" OF "ReplCollisionLog" AS date
\r
10416 DESCRIPTION "The date applying to the data change"
\r
10417 FORMAT "99/99/9999"
\r
10421 COLUMN-LABEL-SA "C"
\r
10424 ADD FIELD "ReplTime" OF "ReplCollisionLog" AS integer
\r
10425 DESCRIPTION "The time that this record was last modified"
\r
10426 FORMAT "->,>>>,>>9"
\r
10432 ADD FIELD "ReplEvent" OF "ReplCollisionLog" AS character
\r
10433 DESCRIPTION "Create, Modify, Delete"
\r
10439 COLUMN-LABEL "Event"
\r
10442 ADD FIELD "ReplBI" OF "ReplCollisionLog" AS raw
\r
10443 DESCRIPTION "RAW image of record before it changed"
\r
10450 ADD FIELD "ReplAI" OF "ReplCollisionLog" AS raw
\r
10451 DESCRIPTION "Raw image of record after it changed"
\r
10458 ADD FIELD "LoadFile" OF "ReplCollisionLog" AS character
\r
10459 DESCRIPTION "Taken from the dump file name"
\r
10466 ADD FIELD "Collided" OF "ReplCollisionLog" AS logical
\r
10467 DESCRIPTION "Indicates whether this record was the one that collided. If ""no"" then it was just an innocent bystander in a transaction that cuased a collision."
\r
10470 LABEL "Collision Record"
\r
10473 COLUMN-LABEL "Coll Rec"
\r
10476 ADD FIELD "TableToRepl" OF "ReplCollisionLog" AS character
\r
10477 DESCRIPTION "Name of the table replicated"
\r
10480 LABEL "Table Name"
\r
10483 COLUMN-LABEL "Table"
\r
10486 ADD INDEX "ReplColl" ON "ReplCollisionLog"
\r
10487 AREA "Schema Area"
\r
10490 INDEX-FIELD "CollisionID" ASCENDING
\r
10492 ADD INDEX "ReplCollTrans" ON "ReplCollisionLog"
\r
10493 AREA "Schema Area"
\r
10494 INDEX-FIELD "TransActID" ASCENDING
\r
10495 INDEX-FIELD "CollisionID" ASCENDING
\r
10497 ADD INDEX "ReplDateTime" ON "ReplCollisionLog"
\r
10498 AREA "Schema Area"
\r
10499 INDEX-FIELD "ReplDate" ASCENDING
\r
10500 INDEX-FIELD "ReplTime" ASCENDING
\r
10501 INDEX-FIELD "CollisionID" ASCENDING
\r
10503 ADD TABLE "ReplLoadRule"
\r
10504 AREA "Schema Area"
\r
10505 LABEL "Replication Load Rules"
\r
10506 DESCRIPTION "List of tables to load at a particular site. This table is site specific."
\r
10507 DUMP-NAME "replload"
\r
10509 ADD FIELD "TableToLoad" OF "ReplLoadRule" AS character
\r
10512 LABEL "Table Name"
\r
10515 COLUMN-LABEL "Table"
\r
10516 HELP "Enter the name of the replicated table to load"
\r
10519 ADD FIELD "Activity" OF "ReplLoadRule" AS character
\r
10520 DESCRIPTION "The activity on which replication will take place.
\r
10521 Create, Modify, Delete. CMD"
\r
10527 COLUMN-LABEL "Activity"
\r
10528 HELP "Enter 'C'reate, 'M'odify and/or 'D'elete"
\r
10531 ADD FIELD "SourceSystem" OF "ReplLoadRule" AS character
\r
10532 DESCRIPTION "System from which data to replicated. "
\r
10535 LABEL "Source System"
\r
10538 COLUMN-LABEL "Source"
\r
10539 HELP "Source system for replication."
\r
10542 ADD FIELD "CollisionDetect" OF "ReplLoadRule" AS logical
\r
10543 DESCRIPTION "Detect for collisions"
\r
10546 LABEL "Collision Detect"
\r
10549 COLUMN-LABEL "C.D."
\r
10552 ADD FIELD "UniqueIndex" OF "ReplLoadRule" AS character
\r
10555 LABEL "Unique Index"
\r
10558 COLUMN-LABEL "Index"
\r
10561 ADD INDEX "ReplLoad" ON "ReplLoadRule"
\r
10562 AREA "Schema Area"
\r
10565 INDEX-FIELD "TableToLoad" ASCENDING
\r
10566 INDEX-FIELD "SourceSystem" ASCENDING
\r
10568 ADD TABLE "ReplLog"
\r
10569 AREA "Schema Area"
\r
10570 LABEL "Replication Log"
\r
10571 DESCRIPTION "Replication log"
\r
10572 DUMP-NAME "repllog"
\r
10574 ADD FIELD "OfficeCode" OF "ReplLog" AS character
\r
10582 ADD FIELD "ReplId" OF "ReplLog" AS integer
\r
10583 FORMAT ">>>,>>>,>>9"
\r
10585 LABEL "Replication Id"
\r
10588 COLUMN-LABEL "Rep Id"
\r
10591 ADD FIELD "TransActID" OF "ReplLog" AS integer
\r
10592 DESCRIPTION "Progress DBTASKID"
\r
10593 FORMAT ">,>>>,>>>,>>9"
\r
10595 LABEL "Transaction ID"
\r
10598 COLUMN-LABEL "Trans. ID"
\r
10601 ADD FIELD "TableToRepl" OF "ReplLog" AS character
\r
10602 DESCRIPTION "Name of the table replicated"
\r
10605 LABEL "Table Name"
\r
10608 COLUMN-LABEL "Table"
\r
10611 ADD FIELD "ReplDate" OF "ReplLog" AS date
\r
10612 DESCRIPTION "The date applying to the data change"
\r
10613 FORMAT "99/99/9999"
\r
10617 COLUMN-LABEL-SA "C"
\r
10620 ADD FIELD "ReplTime" OF "ReplLog" AS integer
\r
10621 DESCRIPTION "The time that this record was last modified"
\r
10622 FORMAT "->,>>>,>>9"
\r
10628 ADD FIELD "ReplEvent" OF "ReplLog" AS character
\r
10629 DESCRIPTION "Create, Modify, Delete"
\r
10635 COLUMN-LABEL "Event"
\r
10638 ADD FIELD "ReplBI" OF "ReplLog" AS raw
\r
10639 DESCRIPTION "RAW image of record before it changed"
\r
10646 ADD FIELD "ReplAI" OF "ReplLog" AS raw
\r
10647 DESCRIPTION "Raw image of record after it changed"
\r
10654 ADD FIELD "DumpFile" OF "ReplLog" AS character
\r
10661 ADD FIELD "TableRowID" OF "ReplLog" AS recid
\r
10668 ADD INDEX "ReplOffice" ON "ReplLog"
\r
10669 AREA "Schema Area"
\r
10671 INDEX-FIELD "OfficeCode" ASCENDING
\r
10672 INDEX-FIELD "ReplId" ASCENDING
\r
10674 ADD INDEX "ReplRowid" ON "ReplLog"
\r
10675 AREA "Schema Area"
\r
10676 INDEX-FIELD "TableToRepl" ASCENDING
\r
10677 INDEX-FIELD "TransActID" ASCENDING
\r
10678 INDEX-FIELD "TableRowID" ASCENDING
\r
10680 ADD INDEX "ReplTransAct" ON "ReplLog"
\r
10681 AREA "Schema Area"
\r
10682 INDEX-FIELD "TransActID" ASCENDING
\r
10683 INDEX-FIELD "ReplId" ASCENDING
\r
10685 ADD TABLE "ReplTrigger"
\r
10686 AREA "Schema Area"
\r
10687 DESCRIPTION "Replication triggers to be created"
\r
10688 DUMP-NAME "repltrig"
\r
10690 ADD FIELD "TableToRepl" OF "ReplTrigger" AS character
\r
10691 DESCRIPTION "Name of the table to replicate"
\r
10694 LABEL "Table Name"
\r
10697 COLUMN-LABEL "Table"
\r
10700 ADD FIELD "Activity" OF "ReplTrigger" AS character
\r
10701 DESCRIPTION "The activity on which replication will take place.
\r
10702 Create, Modify, Delete. CMD"
\r
10708 COLUMN-LABEL "Activity"
\r
10709 HELP "Enter 'C'reate, 'M'odify and/or 'D'elete"
\r
10712 ADD INDEX "ReplTrigger" ON "ReplTrigger"
\r
10713 AREA "Schema Area"
\r
10715 INDEX-FIELD "TableToRepl" ASCENDING
\r
10717 ADD TABLE "ToPost"
\r
10718 AREA "Schema Area"
\r
10719 DESCRIPTION "A list of batches that have been posted on a peer replication site"
\r
10720 DUMP-NAME "topost"
\r
10722 ADD FIELD "BatchCode" OF "ToPost" AS integer
\r
10723 DESCRIPTION "The code of a batch of documents."
\r
10726 LABEL "Batch No."
\r
10729 COLUMN-LABEL "Batch"
\r
10732 ADD FIELD "OperatorCode" OF "ToPost" AS integer
\r
10733 DESCRIPTION "The staff contact code for the operator who updated this batch of documents."
\r
10742 ADD FIELD "UpdatedAt" OF "ToPost" AS integer
\r
10743 DESCRIPTION "The time that the batch update was completed."
\r
10744 FORMAT "->,>>>,>>9"
\r
10746 LABEL "Updated At"
\r
10749 COLUMN-LABEL-SA "C"
\r
10752 ADD FIELD "UpdatedOn" OF "ToPost" AS date
\r
10753 DESCRIPTION "The date on which the batch update was completed."
\r
10754 FORMAT "99/99/9999"
\r
10756 LABEL "Updated On"
\r
10759 COLUMN-LABEL-SA "C"
\r
10762 ADD FIELD "Description" OF "ToPost" AS character
\r
10767 HELP "A description of the documents in this batch"
\r
10771 ADD FIELD "UpdatedBy" OF "ToPost" AS character
\r
10774 LABEL "Updated By"
\r
10779 ADD FIELD "OfficeCode" OF "ToPost" AS character
\r
10780 DESCRIPTION "The office at which this batch was originally posted"
\r
10788 ADD FIELD "PostStatus" OF "ToPost" AS character
\r
10795 ADD INDEX "XPKToPost" ON "ToPost"
\r
10796 AREA "Schema Area"
\r
10799 INDEX-FIELD "BatchCode" ASCENDING
\r
10801 ADD INDEX "XAK1ToPost" ON "ToPost"
\r
10802 AREA "Schema Area"
\r
10803 INDEX-FIELD "OfficeCode" ASCENDING
\r
10804 INDEX-FIELD "PostStatus" ASCENDING
\r
10805 INDEX-FIELD "BatchCode" ASCENDING
\r
10807 ADD TABLE "ProjectExpenseCategory"
\r
10808 AREA "Schema Area"
\r
10809 DUMP-NAME "prjxpcat"
\r
10811 ADD FIELD "ProjectExpenseCategory" OF "ProjectExpenseCategory" AS character
\r
10820 ADD FIELD "Description" OF "ProjectExpenseCategory" AS character
\r
10827 ADD INDEX "XPKProjectExpenseCategory" ON "ProjectExpenseCategory"
\r
10828 AREA "Schema Area"
\r
10831 INDEX-FIELD "ProjectExpenseCategory" ASCENDING
\r
10833 ADD TABLE "ProjectType"
\r
10834 AREA "Schema Area"
\r
10835 DUMP-NAME "prjtype"
\r
10837 ADD FIELD "ProjectType" OF "ProjectType" AS character
\r
10846 ADD FIELD "Description" OF "ProjectType" AS character
\r
10853 ADD INDEX "XPKProjectType" ON "ProjectType"
\r
10854 AREA "Schema Area"
\r
10857 INDEX-FIELD "ProjectType" ASCENDING
\r
10859 ADD TABLE "Variation"
\r
10860 AREA "Schema Area"
\r
10861 DUMP-NAME "variatio"
\r
10862 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "devaritn.p" CRC "?"
\r
10863 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrvaritn.p" CRC "?"
\r
10865 ADD FIELD "ProjectCode" OF "Variation" AS integer
\r
10872 ADD FIELD "VariationCode" OF "Variation" AS integer
\r
10879 ADD FIELD "VariationType" OF "Variation" AS character
\r
10887 ADD FIELD "VariationDate" OF "Variation" AS date
\r
10888 FORMAT "99/99/9999"
\r
10894 ADD FIELD "Reason" OF "Variation" AS character
\r
10901 ADD FIELD "Approvers" OF "Variation" AS character
\r
10909 ADD FIELD "VariationCategory" OF "Variation" AS character
\r
10917 ADD INDEX "XPKVariations" ON "Variation"
\r
10918 AREA "Schema Area"
\r
10921 INDEX-FIELD "ProjectCode" ASCENDING
\r
10922 INDEX-FIELD "VariationCode" ASCENDING
\r
10924 ADD INDEX "XAK1Variations" ON "Variation"
\r
10925 AREA "Schema Area"
\r
10926 INDEX-FIELD "ProjectCode" ASCENDING
\r
10927 INDEX-FIELD "VariationDate" ASCENDING
\r
10929 ADD INDEX "XAK2Variations" ON "Variation"
\r
10930 AREA "Schema Area"
\r
10932 INDEX-FIELD "ProjectCode" ASCENDING
\r
10933 INDEX-FIELD "VariationType" ASCENDING
\r
10934 INDEX-FIELD "VariationDate" ASCENDING
\r
10935 INDEX-FIELD "VariationCode" ASCENDING
\r
10937 ADD TABLE "VariationFlow"
\r
10938 AREA "Schema Area"
\r
10939 DUMP-NAME "var-flow"
\r
10940 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "devarflw.p" CRC "?"
\r
10941 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrvarflw.p" CRC "?"
\r
10943 ADD FIELD "ProjectCode" OF "VariationFlow" AS integer
\r
10950 ADD FIELD "VariationCode" OF "VariationFlow" AS integer
\r
10957 ADD FIELD "AccountCode" OF "VariationFlow" AS decimal
\r
10958 DESCRIPTION "The code of the account."
\r
10960 INITIAL "0000.00"
\r
10967 ADD FIELD "MonthCode" OF "VariationFlow" AS integer
\r
10968 DESCRIPTION "The code of the month that this account applies to."
\r
10976 ADD FIELD "Amount" OF "VariationFlow" AS decimal
\r
10977 FORMAT "->>>,>>>,>>9.99"
\r
10981 COLUMN-LABEL-SA "C"
\r
10985 ADD INDEX "XPKVariationFlows" ON "VariationFlow"
\r
10986 AREA "Schema Area"
\r
10989 INDEX-FIELD "ProjectCode" ASCENDING
\r
10990 INDEX-FIELD "VariationCode" ASCENDING
\r
10991 INDEX-FIELD "AccountCode" ASCENDING
\r
10992 INDEX-FIELD "MonthCode" ASCENDING
\r
10994 ADD INDEX "XAK1VariationFlows" ON "VariationFlow"
\r
10995 AREA "Schema Area"
\r
10996 INDEX-FIELD "ProjectCode" ASCENDING
\r
10997 INDEX-FIELD "AccountCode" ASCENDING
\r
10998 INDEX-FIELD "MonthCode" ASCENDING
\r
11000 ADD TABLE "VariationType"
\r
11001 AREA "Schema Area"
\r
11002 DUMP-NAME "vartype"
\r
11004 ADD FIELD "VariationType" OF "VariationType" AS character
\r
11013 ADD FIELD "Description" OF "VariationType" AS character
\r
11020 ADD INDEX "XPKVariationType" ON "VariationType"
\r
11021 AREA "Schema Area"
\r
11024 INDEX-FIELD "VariationType" ASCENDING
\r
11026 ADD TABLE "RentCharge"
\r
11027 AREA "Schema Area"
\r
11028 DUMP-NAME "rentchag"
\r
11029 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "derntchg.p" CRC "?"
\r
11030 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrrntchg.p" CRC "?"
\r
11032 ADD FIELD "TenancyLeaseCode" OF "RentCharge" AS integer
\r
11033 DESCRIPTION "The tenancy lease that this charge relates to"
\r
11041 ADD FIELD "SequenceCode" OF "RentCharge" AS integer
\r
11042 DESCRIPTION "This code groups sets of related charges for a particular lease."
\r
11049 ADD FIELD "RentChargeType" OF "RentCharge" AS character
\r
11050 DESCRIPTION "The primary type of charge"
\r
11057 ADD FIELD "Description" OF "RentCharge" AS character
\r
11058 DESCRIPTION "A brief description of this charge"
\r
11065 ADD FIELD "AccountCode" OF "RentCharge" AS decimal
\r
11066 DESCRIPTION "The account against which this charge applies. If this is not set, then the account on the charge type will be used."
\r
11072 COLUMN-LABEL-SA "C"
\r
11077 ADD FIELD "EntityType" OF "RentCharge" AS character
\r
11078 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this charge applies (Company, Property, Project, Creditor or Tenant)."
\r
11081 LABEL "Entity type"
\r
11084 COLUMN-LABEL "Type"
\r
11085 COLUMN-LABEL-SA "C"
\r
11090 ADD FIELD "EntityCode" OF "RentCharge" AS integer
\r
11096 COLUMN-LABEL-SA "C"
\r
11099 ADD FIELD "CurrentAnnualRental" OF "RentCharge" AS decimal
\r
11100 DESCRIPTION "The last rent charged pro-rated to an annualised rental"
\r
11101 FORMAT "->>,>>>,>>9.99"
\r
11105 HELP "The last rent charged pro-rated to an annualised rental"
\r
11109 ADD FIELD "CurrentPeriodRental" OF "RentCharge" AS decimal
\r
11110 DESCRIPTION "The actual last rent charged for a period, usually monthly"
\r
11111 FORMAT "->>,>>>,>>9.99"
\r
11115 HELP "The actual last rent charged for a period, usually monthly"
\r
11119 ADD FIELD "CurrentTotal" OF "RentCharge" AS decimal
\r
11120 DESCRIPTION "The annualised total of the RentChargeLines currently in effect"
\r
11121 FORMAT "->>,>>>,>>9.99"
\r
11125 HELP "The annualised total of the RentChargeLines currently in effect"
\r
11129 ADD INDEX "XPKRentCharge" ON "RentCharge"
\r
11130 AREA "Schema Area"
\r
11133 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
11134 INDEX-FIELD "SequenceCode" ASCENDING
\r
11136 ADD INDEX "XAK1RentCharge" ON "RentCharge"
\r
11137 AREA "Schema Area"
\r
11139 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
11140 INDEX-FIELD "RentChargeType" ASCENDING
\r
11141 INDEX-FIELD "SequenceCode" ASCENDING
\r
11143 ADD TABLE "RentChargeLine"
\r
11144 AREA "Schema Area"
\r
11145 DESCRIPTION "Stores a schedule of rent charges against a lease over time including rent review type
\r
11147 DUMP-NAME "rentchar"
\r
11148 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrrchgln.p" CRC "?"
\r
11150 ADD FIELD "TenancyLeaseCode" OF "RentChargeLine" AS integer
\r
11151 DESCRIPTION "The tenancy lease that this charge relates to"
\r
11159 ADD FIELD "Amount" OF "RentChargeLine" AS decimal
\r
11160 FORMAT "->>>,>>>,>>9.99"
\r
11164 COLUMN-LABEL-SA "C"
\r
11168 ADD FIELD "StartDate" OF "RentChargeLine" AS date
\r
11169 DESCRIPTION "The date from which charging starts"
\r
11170 FORMAT "99/99/9999"
\r
11176 ADD FIELD "EndDate" OF "RentChargeLine" AS date
\r
11177 DESCRIPTION "The date when charging ceases"
\r
11178 FORMAT "99/99/9999"
\r
11184 ADD FIELD "LastChargedDate" OF "RentChargeLine" AS date
\r
11185 DESCRIPTION "The date when this charge was last charged."
\r
11186 FORMAT "99/99/9999"
\r
11192 ADD FIELD "FrequencyCode" OF "RentChargeLine" AS character
\r
11193 DESCRIPTION "The frequency with which charges are issued."
\r
11200 ADD FIELD "RentChargeLineStatus" OF "RentChargeLine" AS character
\r
11201 DESCRIPTION "The status of this rent charge line
\r
11209 ADD FIELD "SequenceCode" OF "RentChargeLine" AS integer
\r
11210 DESCRIPTION "This code groups sets of related charges for a particular lease."
\r
11217 ADD FIELD "LastModifiedDate" OF "RentChargeLine" AS date
\r
11218 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
11219 FORMAT "99/99/9999"
\r
11220 INITIAL "1/1/0001"
\r
11226 ADD FIELD "LastModifiedTime" OF "RentChargeLine" AS integer
\r
11227 DESCRIPTION "The time that this record was last modified"
\r
11228 FORMAT "->,>>>,>>9"
\r
11234 ADD FIELD "LastModifiedUser" OF "RentChargeLine" AS character
\r
11235 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
11243 ADD FIELD "AuditRecordId" OF "RentChargeLine" AS integer
\r
11244 FORMAT "->,>>>,>>9"
\r
11250 ADD FIELD "DateCommitted" OF "RentChargeLine" AS date
\r
11251 DESCRIPTION "The date that this scheuled charge was committed for charging"
\r
11252 FORMAT "99/99/9999"
\r
11258 ADD FIELD "EstimatedNetRentAmount" OF "RentChargeLine" AS decimal
\r
11259 FORMAT "->>>,>>>,>>9.99"
\r
11263 COLUMN-LABEL-SA "C"
\r
11267 ADD INDEX "XPKRentChargeLine" ON "RentChargeLine"
\r
11268 AREA "Schema Area"
\r
11270 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
11271 INDEX-FIELD "SequenceCode" ASCENDING
\r
11272 INDEX-FIELD "StartDate" ASCENDING
\r
11274 ADD TABLE "RentChargeLineStatus"
\r
11275 AREA "Schema Area"
\r
11276 DUMP-NAME "rentchas"
\r
11278 ADD FIELD "RentChargeLineStatus" OF "RentChargeLineStatus" AS character
\r
11279 DESCRIPTION "The status of this rent charge line i.e
\r
11280 REVW - Under review ( for a rent review )
\r
11281 INCO - Incomplete
\r
11289 ADD FIELD "Description" OF "RentChargeLineStatus" AS character
\r
11290 DESCRIPTION "A brief description of this status"
\r
11297 ADD INDEX "XPKRentChargeLineStatus" ON "RentChargeLineStatus"
\r
11298 AREA "Schema Area"
\r
11301 INDEX-FIELD "RentChargeLineStatus" ASCENDING
\r
11303 ADD TABLE "RentChargeType"
\r
11304 AREA "Schema Area"
\r
11305 DESCRIPTION "The primary type of rental charge
\r
11306 e.g RENT, CLEAN etc."
\r
11307 DUMP-NAME "rentchat"
\r
11309 ADD FIELD "RentChargeType" OF "RentChargeType" AS character
\r
11316 ADD FIELD "Description" OF "RentChargeType" AS character
\r
11323 ADD FIELD "AccountCode" OF "RentChargeType" AS decimal
\r
11324 DESCRIPTION "The account of the property against which this charge applies."
\r
11330 COLUMN-LABEL-SA "C"
\r
11335 ADD INDEX "XPKRentChargeType" ON "RentChargeType"
\r
11336 AREA "Schema Area"
\r
11339 INDEX-FIELD "RentChargeType" ASCENDING
\r
11341 ADD TABLE "UnitType"
\r
11342 AREA "Schema Area"
\r
11343 DUMP-NAME "unittype"
\r
11345 ADD FIELD "UnitType" OF "UnitType" AS character
\r
11353 ADD FIELD "Description" OF "UnitType" AS character
\r
11360 ADD FIELD "AllowInteger" OF "UnitType" AS logical
\r
11367 ADD FIELD "AllowReal" OF "UnitType" AS logical
\r
11374 ADD FIELD "AllowNegative" OF "UnitType" AS logical
\r
11381 ADD INDEX "XPKUnitTypes" ON "UnitType"
\r
11382 AREA "Schema Area"
\r
11385 INDEX-FIELD "UnitType" ASCENDING
\r
11387 ADD TABLE "Client"
\r
11388 AREA "Schema Area"
\r
11389 DUMP-NAME "client"
\r
11391 ADD FIELD "ClientCode" OF "Client" AS character
\r
11398 ADD FIELD "Name" OF "Client" AS character
\r
11405 ADD FIELD "LegalName" OF "Client" AS character
\r
11412 ADD FIELD "AccountsContact" OF "Client" AS integer
\r
11413 DESCRIPTION "A person with whom the accounts should be discussed. Billing and payment address"
\r
11420 ADD FIELD "PropertyContact" OF "Client" AS integer
\r
11421 DESCRIPTION "A person with whom the property management issues should be discussed."
\r
11428 ADD FIELD "TaxNo" OF "Client" AS character
\r
11435 ADD FIELD "LogoRoutine" OF "Client" AS character
\r
11442 ADD FIELD "RemittanceAddress" OF "Client" AS character
\r
11448 VIEW-AS "VIEW-AS EDITOR SIZE 78 BY 5 SCROLLBAR-HORIZONTAL SCROLLBAR-VERTICAL NO-WORD-WRAP"
\r
11451 ADD FIELD "DefaultChequeAccount" OF "Client" AS character
\r
11454 LABEL "Cheque a/c"
\r
11459 ADD FIELD "DefaultReceiptAccount" OF "Client" AS character
\r
11462 LABEL "Receipt a/c"
\r
11467 ADD INDEX "XPKClients" ON "Client"
\r
11468 AREA "Schema Area"
\r
11471 INDEX-FIELD "ClientCode" ASCENDING
\r
11473 ADD TABLE "PaymentStyle"
\r
11474 AREA "Schema Area"
\r
11475 DUMP-NAME "paystyle"
\r
11477 ADD FIELD "PaymentStyle" OF "PaymentStyle" AS character
\r
11485 ADD FIELD "Description" OF "PaymentStyle" AS character
\r
11492 ADD FIELD "Payments" OF "PaymentStyle" AS logical
\r
11497 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
11500 ADD FIELD "Receipts" OF "PaymentStyle" AS logical
\r
11505 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
11508 ADD INDEX "XPKPaymentStyles" ON "PaymentStyle"
\r
11509 AREA "Schema Area"
\r
11512 INDEX-FIELD "PaymentStyle" ASCENDING
\r
11514 ADD TABLE "DebtClassification"
\r
11515 AREA "Schema Area"
\r
11516 DUMP-NAME "debtclas"
\r
11518 ADD FIELD "DebtClassification" OF "DebtClassification" AS character
\r
11521 LABEL "Debt Class"
\r
11527 ADD FIELD "Description" OF "DebtClassification" AS character
\r
11534 ADD INDEX "XPKDebtClassifications" ON "DebtClassification"
\r
11535 AREA "Schema Area"
\r
11538 INDEX-FIELD "DebtClassification" ASCENDING
\r
11540 ADD TABLE "EntityContact"
\r
11541 AREA "Schema Area"
\r
11542 DUMP-NAME "econtact"
\r
11544 ADD FIELD "EntityType" OF "EntityContact" AS character
\r
11545 DESCRIPTION "A reference to the entity types table indicating the type of entity to which this contact applies (Company, Property, Project, Creditor or Tenant)."
\r
11548 LABEL "Entity type"
\r
11552 COLUMN-LABEL-SA "C"
\r
11555 ADD FIELD "EntityCode" OF "EntityContact" AS integer
\r
11561 COLUMN-LABEL-SA "C"
\r
11564 ADD FIELD "EntityContactType" OF "EntityContact" AS character
\r
11567 LABEL "Contact Type"
\r
11572 ADD FIELD "PersonCode" OF "EntityContact" AS integer
\r
11573 FORMAT ">>>>99999"
\r
11580 ADD INDEX "XPKEntityContacts" ON "EntityContact"
\r
11581 AREA "Schema Area"
\r
11583 INDEX-FIELD "EntityType" ASCENDING
\r
11584 INDEX-FIELD "EntityCode" ASCENDING
\r
11585 INDEX-FIELD "EntityContactType" ASCENDING
\r
11587 ADD INDEX "XAK1PersonCode" ON "EntityContact"
\r
11588 AREA "Schema Area"
\r
11589 INDEX-FIELD "PersonCode" ASCENDING
\r
11591 ADD TABLE "EntityContactType"
\r
11592 AREA "Schema Area"
\r
11593 DUMP-NAME "ectctype"
\r
11595 ADD FIELD "EntityContactType" OF "EntityContactType" AS character
\r
11602 ADD FIELD "EntityType" OF "EntityContactType" AS character
\r
11603 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this EntityContactType applies (Company, Property, Project, Creditor or Tenant)."
\r
11606 LABEL "Entity type"
\r
11610 COLUMN-LABEL-SA "C"
\r
11613 ADD FIELD "Description" OF "EntityContactType" AS character
\r
11620 ADD INDEX "XPKEntityContactTypes" ON "EntityContactType"
\r
11621 AREA "Schema Area"
\r
11624 INDEX-FIELD "EntityContactType" ASCENDING
\r
11625 INDEX-FIELD "EntityType" ASCENDING
\r
11627 ADD TABLE "VarianceClassification"
\r
11628 AREA "Schema Area"
\r
11629 DUMP-NAME "varclass"
\r
11631 ADD FIELD "VarianceClassification" OF "VarianceClassification" AS character
\r
11634 LABEL "Variance Class"
\r
11639 ADD FIELD "Description" OF "VarianceClassification" AS character
\r
11646 ADD INDEX "XPKVarianceClassifications" ON "VarianceClassification"
\r
11647 AREA "Schema Area"
\r
11650 INDEX-FIELD "VarianceClassification" ASCENDING
\r
11652 ADD TABLE "ActivityStatus"
\r
11653 AREA "Schema Area"
\r
11654 DUMP-NAME "act-stat"
\r
11656 ADD FIELD "ActivityStatus" OF "ActivityStatus" AS character
\r
11661 HELP "Status code for job, task, step"
\r
11664 ADD FIELD "Description" OF "ActivityStatus" AS character
\r
11669 HELP "Description of the status"
\r
11672 ADD INDEX "XPKActivityStatus" ON "ActivityStatus"
\r
11673 AREA "Schema Area"
\r
11676 INDEX-FIELD "ActivityStatus" ASCENDING
\r
11678 ADD TABLE "AssetStatus"
\r
11679 AREA "Schema Area"
\r
11680 DUMP-NAME "ass-stat"
\r
11682 ADD FIELD "AssetStatus" OF "AssetStatus" AS character
\r
11690 ADD FIELD "Description" OF "AssetStatus" AS character
\r
11697 ADD INDEX "XPKAssetStatus" ON "AssetStatus"
\r
11698 AREA "Schema Area"
\r
11701 INDEX-FIELD "AssetStatus" ASCENDING
\r
11703 ADD TABLE "JobLog"
\r
11704 AREA "Schema Area"
\r
11705 DUMP-NAME "joblog"
\r
11706 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "dejobjog.p" CRC "?"
\r
11708 ADD FIELD "Joblogno" OF "JobLog" AS integer
\r
11713 HELP "Job / Call Number"
\r
11716 ADD FIELD "ActivityStatus" OF "JobLog" AS character
\r
11721 HELP "Status of Job"
\r
11724 ADD FIELD "ServiceRequestedBy" OF "JobLog" AS integer
\r
11729 HELP "Service requested by"
\r
11732 ADD FIELD "Calldate" OF "JobLog" AS date
\r
11733 FORMAT "99/99/9999"
\r
11737 HELP "Date of call"
\r
11740 ADD FIELD "CallTime" OF "JobLog" AS integer
\r
11745 HELP "Time of call"
\r
11748 ADD FIELD "ReceivedBy" OF "JobLog" AS integer
\r
11753 HELP "Request received by"
\r
11756 ADD FIELD "ServiceDetails" OF "JobLog" AS character
\r
11761 HELP "Details of service request"
\r
11764 ADD FIELD "CompletedOn" OF "JobLog" AS date
\r
11765 FORMAT "99/99/9999"
\r
11769 HELP "Date completed"
\r
11772 ADD FIELD "CompletedBy" OF "JobLog" AS integer
\r
11777 HELP "Job completed by"
\r
11780 ADD FIELD "Priority" OF "JobLog" AS integer
\r
11785 HELP "Priority of job; '1' is highest"
\r
11788 ADD FIELD "ActionTaken" OF "JobLog" AS character
\r
11793 HELP "Description of service provided"
\r
11796 ADD INDEX "XPKJobLog" ON "JobLog"
\r
11797 AREA "Schema Area"
\r
11800 INDEX-FIELD "Joblogno" ASCENDING
\r
11802 ADD TABLE "FlowRule"
\r
11803 AREA "Schema Area"
\r
11804 DUMP-NAME "flowrule"
\r
11805 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrflwrul.p" CRC "?"
\r
11807 ADD FIELD "FlowTaskType" OF "FlowRule" AS character
\r
11814 ADD FIELD "FlowStepType" OF "FlowRule" AS character
\r
11821 ADD FIELD "FlowRuleCode" OF "FlowRule" AS character
\r
11828 ADD FIELD "FlowRuleType" OF "FlowRule" AS character
\r
11835 ADD FIELD "Description" OF "FlowRule" AS character
\r
11842 ADD FIELD "NextTaskType" OF "FlowRule" AS character
\r
11849 ADD FIELD "NextStepType" OF "FlowRule" AS character
\r
11856 ADD FIELD "Priority" OF "FlowRule" AS integer
\r
11863 ADD FIELD "ConditionProgram" OF "FlowRule" AS character
\r
11870 ADD FIELD "ConditionProgramParam" OF "FlowRule" AS character
\r
11873 LABEL "Parameters"
\r
11878 ADD FIELD "ActionProgram" OF "FlowRule" AS character
\r
11885 ADD FIELD "ActionProgramParam" OF "FlowRule" AS character
\r
11888 LABEL "Parameters"
\r
11893 ADD INDEX "XPKRule" ON "FlowRule"
\r
11894 AREA "Schema Area"
\r
11897 INDEX-FIELD "FlowTaskType" ASCENDING
\r
11898 INDEX-FIELD "FlowStepType" ASCENDING
\r
11899 INDEX-FIELD "FlowRuleCode" ASCENDING
\r
11901 ADD INDEX "NextStep" ON "FlowRule"
\r
11902 AREA "Schema Area"
\r
11903 INDEX-FIELD "NextTaskType" ASCENDING
\r
11904 INDEX-FIELD "NextStepType" ASCENDING
\r
11906 ADD TABLE "FlowRuleType"
\r
11907 AREA "Schema Area"
\r
11908 DUMP-NAME "fwrultyp"
\r
11910 ADD FIELD "FlowRuleType" OF "FlowRuleType" AS character
\r
11917 ADD FIELD "Description" OF "FlowRuleType" AS character
\r
11924 ADD INDEX "XPKRuleType" ON "FlowRuleType"
\r
11925 AREA "Schema Area"
\r
11928 INDEX-FIELD "FlowRuleType" ASCENDING
\r
11930 ADD TABLE "FlowStep"
\r
11931 AREA "Schema Area"
\r
11932 DUMP-NAME "flowstep"
\r
11933 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrflwstp.p" CRC "?"
\r
11935 ADD FIELD "DueDate" OF "FlowStep" AS date
\r
11936 FORMAT "99/99/9999"
\r
11940 HELP "Due date of task for this step"
\r
11943 ADD FIELD "FlowTaskNo" OF "FlowStep" AS integer
\r
11948 HELP "Task number that the step belongs to"
\r
11951 ADD FIELD "FlowStepNo" OF "FlowStep" AS integer
\r
11956 HELP "Sequence number of step"
\r
11959 ADD FIELD "FlowTaskType" OF "FlowStep" AS character
\r
11964 HELP "Type of task that this step belongs to"
\r
11967 ADD FIELD "FlowStepType" OF "FlowStep" AS character
\r
11972 HELP "Type of process step this is"
\r
11975 ADD FIELD "ActivityStatus" OF "FlowStep" AS character
\r
11980 HELP "Status of step"
\r
11983 ADD FIELD "StatusUpdateDate" OF "FlowStep" AS date
\r
11984 FORMAT "99/99/9999"
\r
11988 HELP "Date of last status update"
\r
11991 ADD FIELD "StepDueDate" OF "FlowStep" AS date
\r
11992 FORMAT "99/99/9999"
\r
11996 HELP "Due date of the step"
\r
11999 ADD FIELD "Description" OF "FlowStep" AS character
\r
12004 HELP "Description of step"
\r
12007 ADD FIELD "AllocatedTo" OF "FlowStep" AS integer
\r
12012 HELP "Person step is allocated to"
\r
12015 ADD FIELD "Contractor" OF "FlowStep" AS integer
\r
12020 HELP "Contractor allocated the job / process"
\r
12023 ADD FIELD "Priority" OF "FlowStep" AS integer
\r
12028 HELP "Priority of step. '1' is highest"
\r
12031 ADD FIELD "EntityType" OF "FlowStep" AS character
\r
12036 HELP "Type of entity"
\r
12039 ADD FIELD "EntityCode" OF "FlowStep" AS integer
\r
12044 HELP "Key value of the entity record"
\r
12047 ADD FIELD "Reference" OF "FlowStep" AS character
\r
12052 HELP "Contractor work order number"
\r
12055 ADD FIELD "NotifyDate" OF "FlowStep" AS date
\r
12056 DESCRIPTION "The date after which this step should show on a bring-up list"
\r
12057 FORMAT "99/99/9999"
\r
12061 HELP "The date after which this step should show on a bring-up list"
\r
12064 ADD INDEX "XPKStep" ON "FlowStep"
\r
12065 AREA "Schema Area"
\r
12068 INDEX-FIELD "DueDate" ASCENDING
\r
12069 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12070 INDEX-FIELD "FlowStepNo" ASCENDING
\r
12072 ADD INDEX "Reference" ON "FlowStep"
\r
12073 AREA "Schema Area"
\r
12075 INDEX-FIELD "Reference" ASCENDING
\r
12077 ADD INDEX "XAK1FlowStep" ON "FlowStep"
\r
12078 AREA "Schema Area"
\r
12079 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12080 INDEX-FIELD "DueDate" ASCENDING
\r
12081 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12082 INDEX-FIELD "FlowStepNo" ASCENDING
\r
12084 ADD INDEX "XAK2FlowStep" ON "FlowStep"
\r
12085 AREA "Schema Area"
\r
12086 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12087 INDEX-FIELD "AllocatedTo" ASCENDING
\r
12088 INDEX-FIELD "DueDate" ASCENDING
\r
12089 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12090 INDEX-FIELD "StepDueDate" ASCENDING
\r
12092 ADD INDEX "XAK3FlowStep" ON "FlowStep"
\r
12093 AREA "Schema Area"
\r
12094 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12095 INDEX-FIELD "Contractor" ASCENDING
\r
12096 INDEX-FIELD "DueDate" ASCENDING
\r
12097 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12098 INDEX-FIELD "StepDueDate" ASCENDING
\r
12100 ADD INDEX "XAK4FlowStep" ON "FlowStep"
\r
12101 AREA "Schema Area"
\r
12102 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12103 INDEX-FIELD "AllocatedTo" ASCENDING
\r
12104 INDEX-FIELD "NotifyDate" ASCENDING
\r
12106 ADD TABLE "FlowStepType"
\r
12107 AREA "Schema Area"
\r
12108 DUMP-NAME "fwstptyp"
\r
12109 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrstptyp.p" CRC "?"
\r
12111 ADD FIELD "FlowTaskType" OF "FlowStepType" AS character
\r
12116 HELP "The type of task that this type of step applies to"
\r
12119 ADD FIELD "FlowStepType" OF "FlowStepType" AS character
\r
12124 HELP "Definitions for a type of step"
\r
12127 ADD FIELD "InitialStatus" OF "FlowStepType" AS character
\r
12132 HELP "Initial status of a new step"
\r
12135 ADD FIELD "InitialPriority" OF "FlowStepType" AS integer
\r
12140 HELP "Initial priority of a new step record"
\r
12143 ADD FIELD "Description" OF "FlowStepType" AS character
\r
12148 HELP "Description of the type of step"
\r
12151 ADD FIELD "WarnPeriod" OF "FlowStepType" AS decimal
\r
12152 FORMAT "->>,>>9.99"
\r
12159 ADD FIELD "WarnUnits" OF "FlowStepType" AS character
\r
12160 DESCRIPTION "Whether the warning period is measured in days or months"
\r
12165 HELP "D = Days, M = Months"
\r
12168 ADD INDEX "XPKFlowStepType" ON "FlowStepType"
\r
12169 AREA "Schema Area"
\r
12172 INDEX-FIELD "FlowTaskType" ASCENDING
\r
12173 INDEX-FIELD "FlowStepType" ASCENDING
\r
12175 ADD TABLE "FlowTask"
\r
12176 AREA "Schema Area"
\r
12177 DUMP-NAME "flowtask"
\r
12178 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deflwtsk.p" CRC "?"
\r
12180 ADD FIELD "DueDate" OF "FlowTask" AS date
\r
12181 FORMAT "99/99/9999"
\r
12185 HELP "Date task is due to be completed"
\r
12188 ADD FIELD "FlowTaskNo" OF "FlowTask" AS integer
\r
12189 FORMAT ">>>>>>>9"
\r
12193 HELP "Task number"
\r
12196 ADD FIELD "ActivityStatus" OF "FlowTask" AS character
\r
12201 HELP "Status of task"
\r
12204 ADD FIELD "StatusUpdateDate" OF "FlowTask" AS date
\r
12205 FORMAT "99/99/9999"
\r
12209 HELP "Date that status was last updated"
\r
12212 ADD FIELD "Description" OF "FlowTask" AS character
\r
12217 HELP "Description of task"
\r
12220 ADD FIELD "FlowTaskType" OF "FlowTask" AS character
\r
12225 HELP "Type of task"
\r
12228 ADD FIELD "JobLogNo" OF "FlowTask" AS integer
\r
12233 HELP "The job log number that this task is associated to"
\r
12236 ADD FIELD "Priority" OF "FlowTask" AS integer
\r
12241 HELP "Priority of task"
\r
12244 ADD FIELD "AllocatedTo" OF "FlowTask" AS integer
\r
12249 HELP "Person responsible for performing task"
\r
12252 ADD FIELD "EntityType" OF "FlowTask" AS character
\r
12257 HELP "Type of entity"
\r
12260 ADD FIELD "EntityCode" OF "FlowTask" AS integer
\r
12265 HELP "Key value of entity"
\r
12268 ADD INDEX "XPKTask" ON "FlowTask"
\r
12269 AREA "Schema Area"
\r
12272 INDEX-FIELD "DueDate" ASCENDING
\r
12273 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12275 ADD INDEX "XAK1FlowTask" ON "FlowTask"
\r
12276 AREA "Schema Area"
\r
12277 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12278 INDEX-FIELD "DueDate" ASCENDING
\r
12279 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12281 ADD INDEX "XAK2FlowTask" ON "FlowTask"
\r
12282 AREA "Schema Area"
\r
12283 INDEX-FIELD "EntityType" ASCENDING
\r
12284 INDEX-FIELD "EntityCode" ASCENDING
\r
12285 INDEX-FIELD "DueDate" ASCENDING
\r
12287 ADD INDEX "XAK3FlowTask" ON "FlowTask"
\r
12288 AREA "Schema Area"
\r
12289 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12290 INDEX-FIELD "EntityType" ASCENDING
\r
12291 INDEX-FIELD "EntityCode" ASCENDING
\r
12292 INDEX-FIELD "DueDate" ASCENDING
\r
12294 ADD INDEX "XAK4FlowTask" ON "FlowTask"
\r
12295 AREA "Schema Area"
\r
12296 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12297 INDEX-FIELD "AllocatedTo" ASCENDING
\r
12298 INDEX-FIELD "DueDate" ASCENDING
\r
12299 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12301 ADD TABLE "FlowTaskType"
\r
12302 AREA "Schema Area"
\r
12303 DUMP-NAME "fwtsktyp"
\r
12304 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrtsktyp.p" CRC "?"
\r
12306 ADD FIELD "FlowTaskType" OF "FlowTaskType" AS character
\r
12311 HELP "Type of a task"
\r
12314 ADD FIELD "Description" OF "FlowTaskType" AS character
\r
12319 HELP "Description of task type"
\r
12322 ADD FIELD "InitialStep" OF "FlowTaskType" AS character
\r
12327 HELP "If not blank, the step type is used in the initial creation of workflow records (steps) for the task"
\r
12330 ADD INDEX "XPKTaskType" ON "FlowTaskType"
\r
12331 AREA "Schema Area"
\r
12334 INDEX-FIELD "FlowTaskType" ASCENDING
\r
12336 ADD TABLE "Inspector"
\r
12337 AREA "Schema Area"
\r
12338 DUMP-NAME "inspecto"
\r
12340 ADD FIELD "InspectorCode" OF "Inspector" AS integer
\r
12341 FORMAT "->,>>>,>>9"
\r
12347 ADD FIELD "PersonCode" OF "Inspector" AS integer
\r
12353 HELP "The person who is this inspector"
\r
12356 ADD FIELD "CreditorCode" OF "Inspector" AS integer
\r
12357 DESCRIPTION "The code used to refer to a creditor."
\r
12363 HELP "The creditor who is billed for this inspectors work"
\r
12366 ADD INDEX "XPKInspector" ON "Inspector"
\r
12367 AREA "Schema Area"
\r
12370 INDEX-FIELD "InspectorCode" ASCENDING
\r
12372 ADD TABLE "ScenarioAssumption"
\r
12373 AREA "Schema Area"
\r
12374 DUMP-NAME "scnass"
\r
12376 ADD FIELD "ScenarioCode" OF "ScenarioAssumption" AS integer
\r
12377 DESCRIPTION "A code to identify the scenario."
\r
12384 ADD FIELD "MonthCode" OF "ScenarioAssumption" AS integer
\r
12385 DESCRIPTION "The code of the month that this assumption applies from"
\r
12393 ADD FIELD "Scope" OF "ScenarioAssumption" AS character
\r
12394 DESCRIPTION "The scope of the assumption (G)lobal, (R)egional or (P)roperty."
\r
12399 HELP "The scope of the assumption (G)lobal, (R)egional or (P)roperty"
\r
12402 ADD FIELD "Region" OF "ScenarioAssumption" AS character
\r
12409 ADD FIELD "EntityType" OF "ScenarioAssumption" AS character
\r
12410 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this transaction applies (Company, Property, Project, Creditor or Tenant)."
\r
12413 LABEL "Entity type"
\r
12417 COLUMN-LABEL-SA "C"
\r
12420 ADD FIELD "EntityCode" OF "ScenarioAssumption" AS integer
\r
12426 COLUMN-LABEL-SA "C"
\r
12429 ADD FIELD "TypeScope" OF "ScenarioAssumption" AS character
\r
12430 DESCRIPTION "The area or service contract type which the assuption applies to"
\r
12438 ADD FIELD "AssumptionType" OF "ScenarioAssumption" AS character
\r
12445 ADD FIELD "AssumptionValue" OF "ScenarioAssumption" AS character
\r
12448 LABEL "Assumption"
\r
12453 ADD INDEX "XPKScenarioAssumptions" ON "ScenarioAssumption"
\r
12454 AREA "Schema Area"
\r
12456 INDEX-FIELD "ScenarioCode" ASCENDING
\r
12457 INDEX-FIELD "MonthCode" ASCENDING
\r
12458 INDEX-FIELD "Scope" ASCENDING
\r
12459 INDEX-FIELD "Region" ASCENDING
\r
12460 INDEX-FIELD "EntityType" ASCENDING
\r
12461 INDEX-FIELD "EntityCode" ASCENDING
\r
12462 INDEX-FIELD "TypeScope" ASCENDING
\r
12463 INDEX-FIELD "AssumptionType" ASCENDING
\r
12465 ADD INDEX "XAK1ScenarioAssumptions" ON "ScenarioAssumption"
\r
12466 AREA "Schema Area"
\r
12467 INDEX-FIELD "ScenarioCode" ASCENDING
\r
12468 INDEX-FIELD "Scope" ASCENDING
\r
12469 INDEX-FIELD "Region" ASCENDING
\r
12470 INDEX-FIELD "EntityType" ASCENDING
\r
12471 INDEX-FIELD "EntityCode" ASCENDING
\r
12472 INDEX-FIELD "MonthCode" ASCENDING
\r
12473 INDEX-FIELD "TypeScope" ASCENDING
\r
12475 ADD TABLE "PropForecast"
\r
12476 AREA "Schema Area"
\r
12477 DESCRIPTION "Forecast information for properties"
\r
12478 DUMP-NAME "propfcst"
\r
12480 ADD FIELD "PropertyCode" OF "PropForecast" AS integer
\r
12481 DESCRIPTION "The code used to refer to a property"
\r
12489 ADD FIELD "EntityType" OF "PropForecast" AS character
\r
12490 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this transaction applies (Company, Property, Project, Creditor or Tenant)."
\r
12493 LABEL "Entity type"
\r
12497 COLUMN-LABEL-SA "C"
\r
12500 ADD FIELD "EntityCode" OF "PropForecast" AS integer
\r
12506 COLUMN-LABEL-SA "C"
\r
12509 ADD FIELD "AccountCode" OF "PropForecast" AS decimal
\r
12510 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
12519 ADD FIELD "PropForecastType" OF "PropForecast" AS character
\r
12524 HELP "The type of property forecast record"
\r
12527 ADD FIELD "MonthCode" OF "PropForecast" AS integer
\r
12528 DESCRIPTION "The code of the month that this forecast applies to."
\r
12536 ADD FIELD "Amount" OF "PropForecast" AS decimal
\r
12537 DESCRIPTION "The forecast amount for this entity/type/month"
\r
12538 FORMAT "->>,>>>,>>>,>>9.99"
\r
12542 HELP "The forecast amount for this entity/type/month"
\r
12546 ADD INDEX "XPKPropForecast" ON "PropForecast"
\r
12547 AREA "Schema Area"
\r
12550 INDEX-FIELD "PropertyCode" ASCENDING
\r
12551 INDEX-FIELD "EntityType" ASCENDING
\r
12552 INDEX-FIELD "EntityCode" ASCENDING
\r
12553 INDEX-FIELD "AccountCode" ASCENDING
\r
12554 INDEX-FIELD "PropForecastType" ASCENDING
\r
12555 INDEX-FIELD "MonthCode" ASCENDING
\r
12557 ADD TABLE "PropForecastParam"
\r
12558 AREA "Schema Area"
\r
12559 DESCRIPTION "Parameters generally controlling the forecast for the property"
\r
12560 DUMP-NAME "propfcpr"
\r
12562 ADD FIELD "PropertyCode" OF "PropForecastParam" AS integer
\r
12563 DESCRIPTION "The code used to refer to a property"
\r
12571 ADD FIELD "MonthCode" OF "PropForecastParam" AS integer
\r
12572 DESCRIPTION "The code used to refer to a financial period (month)"
\r
12578 HELP "The code used to refer to a financial period (month)"
\r
12581 ADD FIELD "ParameterID" OF "PropForecastParam" AS character
\r
12582 DESCRIPTION "Identifies the parameter - for use by the programs which use it."
\r
12589 ADD FIELD "ParameterValue" OF "PropForecastParam" AS character
\r
12590 DESCRIPTION "The value of the parameter"
\r
12597 ADD INDEX "XPKPropForecastParam" ON "PropForecastParam"
\r
12598 AREA "Schema Area"
\r
12601 INDEX-FIELD "PropertyCode" ASCENDING
\r
12602 INDEX-FIELD "ParameterID" ASCENDING
\r
12603 INDEX-FIELD "MonthCode" ASCENDING
\r
12605 ADD INDEX "XAK1PropForecastParam" ON "PropForecastParam"
\r
12606 AREA "Schema Area"
\r
12609 INDEX-FIELD "PropertyCode" ASCENDING
\r
12610 INDEX-FIELD "MonthCode" ASCENDING
\r
12611 INDEX-FIELD "ParameterID" ASCENDING
\r
12613 ADD INDEX "XAK2PropForecastParam" ON "PropForecastParam"
\r
12614 AREA "Schema Area"
\r
12616 INDEX-FIELD "MonthCode" ASCENDING
\r
12617 INDEX-FIELD "ParameterID" ASCENDING
\r
12618 INDEX-FIELD "PropertyCode" ASCENDING
\r
12620 ADD TABLE "PropForecastType"
\r
12621 AREA "Schema Area"
\r
12622 DESCRIPTION "Description of types of records used in Property Forecasting"
\r
12623 DUMP-NAME "propfcty"
\r
12625 ADD FIELD "PropForecastType" OF "PropForecastType" AS character
\r
12630 HELP "The type of property forecast record"
\r
12633 ADD FIELD "Description" OF "PropForecastType" AS character
\r
12638 HELP "Description of the type of property forecast record"
\r
12641 ADD INDEX "XPKPropForecastType" ON "PropForecastType"
\r
12642 AREA "Schema Area"
\r
12645 INDEX-FIELD "PropForecastType" ASCENDING
\r
12647 ADD TABLE "BankImportException"
\r
12648 AREA "Schema Area"
\r
12649 DESCRIPTION "Exceptions to the normal bank import process"
\r
12650 DUMP-NAME "bnkimpex"
\r
12652 ADD FIELD "BankAccountCode" OF "BankImportException" AS character
\r
12660 ADD FIELD "TrnType" OF "BankImportException" AS character
\r
12667 ADD FIELD "Match1" OF "BankImportException" AS character
\r
12674 ADD FIELD "Match2" OF "BankImportException" AS character
\r
12681 ADD FIELD "EntityType" OF "BankImportException" AS character
\r
12682 DESCRIPTION "A reference to the entity types table indicating the type of entity against which this transaction applies (Company, Property, Project, Creditor or Tenant)."
\r
12685 LABEL "Entity type"
\r
12689 COLUMN-LABEL-SA "C"
\r
12692 ADD FIELD "EntityCode" OF "BankImportException" AS integer
\r
12698 COLUMN-LABEL-SA "C"
\r
12701 ADD FIELD "AccountCode" OF "BankImportException" AS decimal
\r
12702 DESCRIPTION "The account code to direct transactions to"
\r
12711 ADD FIELD "Description" OF "BankImportException" AS character
\r
12716 HELP "The description of the transaction created"
\r
12719 ADD INDEX "XPKBankImportExceptions" ON "BankImportException"
\r
12720 AREA "Schema Area"
\r
12722 INDEX-FIELD "BankAccountCode" ASCENDING
\r
12723 INDEX-FIELD "TrnType" ASCENDING
\r
12725 ADD TABLE "SupplyMeterReading"
\r
12726 AREA "Schema Area"
\r
12727 DESCRIPTION "Readings from supply meters"
\r
12728 DUMP-NAME "smetread"
\r
12730 ADD FIELD "PropertyCode" OF "SupplyMeterReading" AS integer
\r
12731 DESCRIPTION "The code used to refer to a property"
\r
12739 ADD FIELD "OldMeterCode" OF "SupplyMeterReading" AS integer
\r
12747 ADD FIELD "SupplyType" OF "SupplyMeterReading" AS character
\r
12752 HELP "The type of supply metered"
\r
12755 ADD FIELD "ReadingDate" OF "SupplyMeterReading" AS date
\r
12756 FORMAT "99/99/9999"
\r
12760 HELP "The date on which this reading was taken"
\r
12763 ADD FIELD "Reading" OF "SupplyMeterReading" AS decimal
\r
12764 FORMAT "->>,>>>,>>>,>>9"
\r
12768 HELP "The amount of the reading"
\r
12772 ADD FIELD "MeterCode" OF "SupplyMeterReading" AS character
\r
12779 ADD INDEX "XPKSupplyMeterReading" ON "SupplyMeterReading"
\r
12780 AREA "Schema Area"
\r
12783 INDEX-FIELD "SupplyType" ASCENDING
\r
12784 INDEX-FIELD "PropertyCode" ASCENDING
\r
12785 INDEX-FIELD "MeterCode" ASCENDING
\r
12786 INDEX-FIELD "ReadingDate" ASCENDING
\r
12788 ADD INDEX "XAK1SupplyMeterReading" ON "SupplyMeterReading"
\r
12789 AREA "Schema Area"
\r
12790 INDEX-FIELD "PropertyCode" ASCENDING
\r
12791 INDEX-FIELD "ReadingDate" ASCENDING
\r
12793 ADD TABLE "LookupCode"
\r
12794 AREA "Schema Area"
\r
12795 LABEL "Lookup Codes"
\r
12796 DESCRIPTION "Arbitrary lookup code values for any field of any table"
\r
12797 DUMP-NAME "lookups"
\r
12799 ADD FIELD "_File-Name" OF "LookupCode" AS character
\r
12800 DESCRIPTION "The name of the file which the lookup code applies to"
\r
12803 LABEL "File name"
\r
12808 ADD FIELD "_Field-Name" OF "LookupCode" AS character
\r
12809 DESCRIPTION "The name of the field which the lookup code applies to"
\r
12812 LABEL "Field name"
\r
12817 ADD FIELD "LookupCode" OF "LookupCode" AS character
\r
12818 DESCRIPTION "The code for the lookup"
\r
12826 ADD FIELD "Description" OF "LookupCode" AS character
\r
12827 DESCRIPTION "A brief description of the lookup code"
\r
12830 LABEL "Description"
\r
12835 ADD FIELD "LookupData" OF "LookupCode" AS character
\r
12836 DESCRIPTION "Data associated with the lookup code, if needed"
\r
12839 LABEL "Lookup data"
\r
12844 ADD INDEX "XPKLookupCodes" ON "LookupCode"
\r
12845 AREA "Schema Area"
\r
12848 INDEX-FIELD "_File-Name" ASCENDING
\r
12849 INDEX-FIELD "_Field-Name" ASCENDING
\r
12850 INDEX-FIELD "LookupCode" ASCENDING
\r
12852 ADD TABLE "PersonDetail"
\r
12853 AREA "Schema Area"
\r
12854 LABEL "Person Details"
\r
12855 DESCRIPTION "Arbitrary and extensible information related to a person"
\r
12856 DUMP-NAME "persdetl"
\r
12858 ADD FIELD "PersonCode" OF "PersonDetail" AS integer
\r
12859 DESCRIPTION "A code used to refer to this person."
\r
12862 LABEL "Person code"
\r
12865 COLUMN-LABEL "Person"
\r
12868 ADD FIELD "PersonDetailType" OF "PersonDetail" AS character
\r
12875 ADD FIELD "SupplementaryType" OF "PersonDetail" AS character
\r
12876 DESCRIPTION "Designed to be used where multiple values for one type are allowable. Should be under program control."
\r
12883 ADD FIELD "DataValue" OF "PersonDetail" AS character
\r
12884 DESCRIPTION "The data associated with this person for this type / supplementary type reason."
\r
12891 ADD FIELD "ContactType" OF "PersonDetail" AS character
\r
12892 DESCRIPTION "The type of contact involved."
\r
12900 ADD INDEX "XPKPersonDetails" ON "PersonDetail"
\r
12901 AREA "Schema Area"
\r
12904 INDEX-FIELD "PersonCode" ASCENDING
\r
12905 INDEX-FIELD "PersonDetailType" ASCENDING
\r
12906 INDEX-FIELD "SupplementaryType" ASCENDING
\r
12908 ADD INDEX "XAK1PersonDetails" ON "PersonDetail"
\r
12909 AREA "Schema Area"
\r
12910 INDEX-FIELD "PersonDetailType" ASCENDING
\r
12911 INDEX-FIELD "SupplementaryType" ASCENDING
\r
12913 ADD TABLE "PersonDetailType"
\r
12914 AREA "Schema Area"
\r
12915 DUMP-NAME "perdetyp"
\r
12917 ADD FIELD "PersonDetailType" OF "PersonDetailType" AS character
\r
12920 LABEL "Person Detail Type"
\r
12925 ADD FIELD "Description" OF "PersonDetailType" AS character
\r
12932 ADD INDEX "XPKPersonDetailTypes" ON "PersonDetailType"
\r
12933 AREA "Schema Area"
\r
12936 INDEX-FIELD "PersonDetailType" ASCENDING
\r
12938 ADD TABLE "EntityList"
\r
12939 AREA "Schema Area"
\r
12940 LABEL "Entity List"
\r
12941 DESCRIPTION "Contains lists of entities to provide arbitrary groupings"
\r
12942 DUMP-NAME "ent-list"
\r
12944 ADD FIELD "ListType" OF "EntityList" AS character
\r
12945 DESCRIPTION "A reference to the entity types table indicating the type of entity to which this list applies (Company, Property, Project, Creditor or Tenant)."
\r
12948 LABEL "List Type"
\r
12952 COLUMN-LABEL-SA "C"
\r
12955 ADD FIELD "ListCode" OF "EntityList" AS character
\r
12956 DESCRIPTION "A unique code identifying this list"
\r
12959 LABEL "List code"
\r
12964 ADD FIELD "Description" OF "EntityList" AS character
\r
12965 DESCRIPTION "A description of the list"
\r
12970 HELP "A description of the list"
\r
12973 ADD INDEX "XPKEntityList" ON "EntityList"
\r
12974 AREA "Schema Area"
\r
12977 INDEX-FIELD "ListType" ASCENDING
\r
12978 INDEX-FIELD "ListCode" ASCENDING
\r
12980 ADD TABLE "EntityListMember"
\r
12981 AREA "Schema Area"
\r
12982 LABEL "Entity List Member"
\r
12983 DESCRIPTION "Members of entity lists"
\r
12984 DUMP-NAME "entlsmem"
\r
12986 ADD FIELD "ListType" OF "EntityListMember" AS character
\r
12987 DESCRIPTION "A reference to the entity types table indicating the type of entity to which this list applies (Company, Property, Project, Creditor or Tenant)."
\r
12990 LABEL "List Type"
\r
12994 COLUMN-LABEL-SA "C"
\r
12997 ADD FIELD "ListCode" OF "EntityListMember" AS character
\r
12998 DESCRIPTION "A unique code identifying this list"
\r
13001 LABEL "List code"
\r
13006 ADD FIELD "EntityType" OF "EntityListMember" AS character
\r
13007 DESCRIPTION "A reference to the entity types table indicating the type of entity of this list member (Company, Property, Project, Creditor or Tenant)."
\r
13010 LABEL "Entity type"
\r
13014 COLUMN-LABEL-SA "C"
\r
13017 ADD FIELD "EntityCode" OF "EntityListMember" AS integer
\r
13023 COLUMN-LABEL-SA "C"
\r
13026 ADD FIELD "AccountCode" OF "EntityListMember" AS decimal
\r
13027 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
13036 ADD FIELD "SortSequence" OF "EntityListMember" AS integer
\r
13037 DESCRIPTION "An arbitrary integer to provide a sorted list"
\r
13038 FORMAT "->>>,>>9"
\r
13043 HELP "An arbitrary integer to provide an alternative list order"
\r
13046 ADD INDEX "XPKEntityListMember" ON "EntityListMember"
\r
13047 AREA "Schema Area"
\r
13050 INDEX-FIELD "ListType" ASCENDING
\r
13051 INDEX-FIELD "ListCode" ASCENDING
\r
13052 INDEX-FIELD "SortSequence" ASCENDING
\r
13053 INDEX-FIELD "EntityType" ASCENDING
\r
13054 INDEX-FIELD "EntityCode" ASCENDING
\r
13055 INDEX-FIELD "AccountCode" ASCENDING
\r
13057 ADD INDEX "XAKEntityListMember" ON "EntityListMember"
\r
13058 AREA "Schema Area"
\r
13060 DESCRIPTION "Index to ensure correct uniqueness, and entity sort ordering (if desired)."
\r
13061 INDEX-FIELD "ListType" ASCENDING
\r
13062 INDEX-FIELD "ListCode" ASCENDING
\r
13063 INDEX-FIELD "EntityType" ASCENDING
\r
13064 INDEX-FIELD "EntityCode" ASCENDING
\r
13065 INDEX-FIELD "AccountCode" ASCENDING
\r
13067 ADD TABLE "TenantCall"
\r
13068 AREA "Schema Area"
\r
13069 DESCRIPTION "Register calls from tenants"
\r
13070 DUMP-NAME "tnntcall"
\r
13071 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrtntcal.p" CRC "?"
\r
13073 ADD FIELD "CallNumber" OF "TenantCall" AS integer
\r
13074 FORMAT "->,>>>,>>9"
\r
13081 ADD FIELD "PropertyCode" OF "TenantCall" AS integer
\r
13089 ADD FIELD "Level" OF "TenantCall" AS integer
\r
13090 FORMAT "->,>>>,>>9"
\r
13096 ADD FIELD "TenantCode" OF "TenantCall" AS integer
\r
13097 DESCRIPTION "A code used to refer to this tenant."
\r
13104 ADD FIELD "Problem" OF "TenantCall" AS character
\r
13111 ADD FIELD "Action" OF "TenantCall" AS character
\r
13118 ADD FIELD "DateOfCall" OF "TenantCall" AS date
\r
13119 FORMAT "99/99/9999"
\r
13121 LABEL "Call Date"
\r
13126 ADD FIELD "CallCategoryCode" OF "TenantCall" AS character
\r
13134 ADD FIELD "CallStatusCode" OF "TenantCall" AS character
\r
13137 LABEL "Call Status"
\r
13142 ADD FIELD "TimeOfCall" OF "TenantCall" AS integer
\r
13145 LABEL "Call Time"
\r
13150 ADD FIELD "DateComplete" OF "TenantCall" AS date
\r
13151 FORMAT "99/99/9999"
\r
13153 LABEL "Date Complete"
\r
13158 ADD FIELD "TimeComplete" OF "TenantCall" AS integer
\r
13165 ADD FIELD "CreditorCode" OF "TenantCall" AS integer
\r
13166 DESCRIPTION "The creditor who is contracted to provide this service for this property"
\r
13169 LABEL "Creditor code"
\r
13172 COLUMN-LABEL "Code"
\r
13175 ADD FIELD "OrderNo" OF "TenantCall" AS integer
\r
13183 ADD FIELD "OrderAmount" OF "TenantCall" AS decimal
\r
13184 FORMAT "->>,>>>,>>9.99"
\r
13186 LABEL "Order Amt"
\r
13192 ADD FIELD "Priority" OF "TenantCall" AS character
\r
13195 LABEL "Job Priority"
\r
13200 ADD FIELD "ContactName" OF "TenantCall" AS character
\r
13203 LABEL "Tnnt Contact"
\r
13208 ADD FIELD "ContactPhone" OF "TenantCall" AS character
\r
13211 LABEL "Contact Phone"
\r
13216 ADD FIELD "Description" OF "TenantCall" AS character
\r
13219 LABEL "Description"
\r
13224 ADD FIELD "LoggedBy" OF "TenantCall" AS integer
\r
13225 DESCRIPTION "A reference to the person who logged this call."
\r
13228 LABEL "Logged By"
\r
13231 COLUMN-LABEL "Logged By"
\r
13234 ADD FIELD "LastEmailDate" OF "TenantCall" AS date
\r
13235 DESCRIPTION "Date last email notification was sent to Building Manager."
\r
13236 FORMAT "99/99/9999"
\r
13238 LABEL "Email Sent"
\r
13241 COLUMN-LABEL "EmailDate"
\r
13242 HELP "The date on which last email was sent to Building Manager."
\r
13245 ADD FIELD "SendEmail" OF "TenantCall" AS logical
\r
13246 DESCRIPTION "Flag email to Building Manager required."
\r
13249 LABEL "Email Building Manager"
\r
13252 COLUMN-LABEL "SendEmail"
\r
13253 HELP "Send notification email to Building Manager."
\r
13256 ADD INDEX "XPKTenantCall" ON "TenantCall"
\r
13257 AREA "Schema Area"
\r
13260 INDEX-FIELD "CallNumber" ASCENDING
\r
13262 ADD INDEX "XAK1TenantCall" ON "TenantCall"
\r
13263 AREA "Schema Area"
\r
13264 INDEX-FIELD "PropertyCode" ASCENDING
\r
13265 INDEX-FIELD "DateOfCall" DESCENDING
\r
13267 ADD INDEX "XAK2TenantCall" ON "TenantCall"
\r
13268 AREA "Schema Area"
\r
13269 INDEX-FIELD "CallStatusCode" ASCENDING
\r
13270 INDEX-FIELD "DateOfCall" ASCENDING
\r
13272 ADD INDEX "XAK3TenantCall" ON "TenantCall"
\r
13273 AREA "Schema Area"
\r
13274 INDEX-FIELD "TenantCode" ASCENDING
\r
13275 INDEX-FIELD "DateOfCall" DESCENDING
\r
13277 ADD INDEX "XAK4TenantCall" ON "TenantCall"
\r
13278 AREA "Schema Area"
\r
13279 INDEX-FIELD "CallStatusCode" ASCENDING
\r
13280 INDEX-FIELD "TenantCode" ASCENDING
\r
13281 INDEX-FIELD "DateOfCall" DESCENDING
\r
13283 ADD INDEX "XAK5TenantCall" ON "TenantCall"
\r
13284 AREA "Schema Area"
\r
13285 INDEX-FIELD "CallCategoryCode" ASCENDING
\r
13287 ADD INDEX "XAK6TenantCall" ON "TenantCall"
\r
13288 AREA "Schema Area"
\r
13290 INDEX-FIELD "Problem" ASCENDING
\r
13292 ADD TABLE "PropertyView"
\r
13293 AREA "Schema Area"
\r
13294 DESCRIPTION "Sparse table holding overrides for the Rental Space table which redefine how it should appear on the Property Picture report"
\r
13295 DUMP-NAME "propview"
\r
13297 ADD FIELD "PropertyCode" OF "PropertyView" AS integer
\r
13298 DESCRIPTION "The property that this rental space is a part of"
\r
13306 ADD FIELD "RentalSpaceCode" OF "PropertyView" AS integer
\r
13307 DESCRIPTION "A sequence number which identifies this rental space within the property."
\r
13310 LABEL "Rental space code"
\r
13313 COLUMN-LABEL "Space"
\r
13316 ADD FIELD "Sequence" OF "PropertyView" AS integer
\r
13317 DESCRIPTION "Arbitrary sequence within rental space"
\r
13318 FORMAT "->,>>>,>>9"
\r
13324 ADD FIELD "Level" OF "PropertyView" AS integer
\r
13325 DESCRIPTION "Level within building, overriding the RentalSpace level"
\r
13326 FORMAT "->,>>>,>>9"
\r
13332 ADD FIELD "LevelSequence" OF "PropertyView" AS integer
\r
13333 DESCRIPTION "Sequence within level overriding the RentalSpace level sequence"
\r
13334 FORMAT "->,>>>,>>9"
\r
13340 ADD FIELD "AreaType" OF "PropertyView" AS character
\r
13341 DESCRIPTION "The type of rental space eg. Office, Rental, Carpark, Warehouse, etc, overriding the rental space"
\r
13344 LABEL "Area type"
\r
13347 COLUMN-LABEL "Type"
\r
13350 ADD FIELD "AreaSize" OF "PropertyView" AS decimal
\r
13351 DESCRIPTION "The area of the rental space in square metres., overriding the rental space"
\r
13352 FORMAT "->>,>>9.99"
\r
13357 COLUMN-LABEL-SA "C"
\r
13361 ADD FIELD "TenantName" OF "PropertyView" AS character
\r
13362 DESCRIPTION "The name of the tenant for this (sub)area, overriding the name from the lease"
\r
13369 ADD INDEX "XPKPropertyView" ON "PropertyView"
\r
13370 AREA "Schema Area"
\r
13373 DESCRIPTION "Index into property view table"
\r
13374 INDEX-FIELD "PropertyCode" ASCENDING
\r
13375 INDEX-FIELD "RentalSpaceCode" ASCENDING
\r
13376 INDEX-FIELD "Sequence" ASCENDING
\r
13378 ADD TABLE "COAConversion"
\r
13379 AREA "Schema Area"
\r
13380 LABEL "Chart of Accounts Conversion"
\r
13381 DESCRIPTION "This file servers as a conversion matrix table for converting the old chart of accounts for all companies intop APMS"
\r
13382 DUMP-NAME "coaconve"
\r
13384 ADD FIELD "CompanyCode" OF "COAConversion" AS integer
\r
13385 DESCRIPTION "The code used to refer to a company."
\r
13394 ADD FIELD "AccountCode" OF "COAConversion" AS decimal
\r
13395 DESCRIPTION "The code of the account."
\r
13398 LABEL "APMS Account"
\r
13405 ADD FIELD "OldAccountCode" OF "COAConversion" AS decimal
\r
13406 DESCRIPTION "The code of the account from the old Chart of Account."
\r
13409 LABEL "Old Account"
\r
13416 ADD INDEX "XPOldAccountCode" ON "COAConversion"
\r
13417 AREA "Schema Area"
\r
13419 INDEX-FIELD "CompanyCode" ASCENDING
\r
13420 INDEX-FIELD "OldAccountCode" ASCENDING
\r
13422 ADD INDEX "XAAccountCode" ON "COAConversion"
\r
13423 AREA "Schema Area"
\r
13424 INDEX-FIELD "CompanyCode" ASCENDING
\r
13425 INDEX-FIELD "AccountCode" ASCENDING
\r
13427 ADD TABLE "DirectEntryDetail"
\r
13428 AREA "Schema Area"
\r
13429 DESCRIPTION "The direct credit details for the Australian system"
\r
13430 DUMP-NAME "directen"
\r
13432 ADD FIELD "DEUserName" OF "DirectEntryDetail" AS character
\r
13433 DESCRIPTION "Direct entry user name"
\r
13440 ADD FIELD "DEUserId" OF "DirectEntryDetail" AS character
\r
13441 DESCRIPTION "The direct entry user ID"
\r
13448 ADD FIELD "DEInstitution" OF "DirectEntryDetail" AS character
\r
13449 DESCRIPTION "Three character institution code"
\r
13458 cpstream=ISO8859-1
\r