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
41 VALMSG "Cannot delete 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 "NextAnnualReturn" OF "Company" AS date
\r
1105 DESCRIPTION "The date when returns should be field next"
\r
1106 FORMAT "99/99/9999"
\r
1108 LABEL "Next Annual Return Date"
\r
1113 ADD FIELD "AuthorisedCapital" OF "Company" AS decimal
\r
1114 FORMAT "->,>>>,>>>,>>9.99"
\r
1116 LABEL "Authorised Capital"
\r
1122 ADD FIELD "IsssuedCapital" OF "Company" AS decimal
\r
1123 FORMAT "->,>>>,>>>,>>9.99"
\r
1125 LABEL "Issued Capital"
\r
1131 ADD FIELD "Paid" OF "Company" AS logical
\r
1132 DESCRIPTION "Identifies if the issued capital for this compnay has been paid"
\r
1137 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
1140 ADD FIELD "Secretary" OF "Company" AS integer
\r
1141 DESCRIPTION "The person that is a secretary of this company"
\r
1149 ADD FIELD "PreviousNames" OF "Company" AS character
\r
1150 DESCRIPTION "Any previous names of the company"
\r
1153 LABEL "Previous Names"
\r
1156 VIEW-AS "VIEW-AS EDITOR SIZE-CHARS 70 BY 3
\r
1157 SCROLLBAR-VERTICAL"
\r
1161 ADD FIELD "OperationalCountry" OF "Company" AS character
\r
1166 VIEW-AS "VIEW-AS RADIO-SET
\r
1168 ""New Zealand"", ""NZL"",
\r
1169 ""Australian"", ""AUS"",
\r
1170 ""Other"", ""OTH""
\r
1172 SIZE-CHARS 16 by 3
\r
1178 ADD FIELD "OwnCreditors" OF "Company" AS logical
\r
1181 LABEL "Own creditors"
\r
1186 ADD FIELD "LastModifiedDate" OF "Company" AS date
\r
1187 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
1188 FORMAT "99/99/9999"
\r
1189 INITIAL "1/1/0001"
\r
1195 ADD FIELD "LastModifiedTime" OF "Company" AS integer
\r
1196 DESCRIPTION "The time that this record was last modified"
\r
1197 FORMAT "->,>>>,>>9"
\r
1203 ADD FIELD "LastModifiedUser" OF "Company" AS character
\r
1204 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
1212 ADD FIELD "AuditRecordId" OF "Company" AS integer
\r
1213 FORMAT "->,>>>,>>9"
\r
1219 ADD FIELD "Active" OF "Company" AS logical
\r
1226 ADD FIELD "ParValue" OF "Company" AS decimal
\r
1227 FORMAT "->>,>>9.99"
\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 INDEX "XPKCompanies" ON "Company"
\r
1261 AREA "Schema Area"
\r
1264 INDEX-FIELD "CompanyCode" ASCENDING
\r
1266 ADD INDEX "XAK1Companies" ON "Company"
\r
1267 AREA "Schema Area"
\r
1268 INDEX-FIELD "ShortName" ASCENDING ABBREVIATED
\r
1270 ADD TABLE "Contact"
\r
1271 AREA "Schema Area"
\r
1272 DUMP-NAME "contact"
\r
1273 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "decontct.p" CRC "?"
\r
1274 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrcontct.p" CRC "?"
\r
1276 ADD FIELD "PersonCode" OF "Contact" AS integer
\r
1277 DESCRIPTION "A reference to the contact person."
\r
1285 ADD FIELD "ContactType" OF "Contact" AS character
\r
1286 DESCRIPTION "The type of contact involved."
\r
1296 ADD FIELD "Notes" OF "Contact" AS integer
\r
1297 DESCRIPTION "Any notes applying to the contact"
\r
1306 ADD FIELD "SystemCode" OF "Contact" AS logical
\r
1311 HELP "Set to ""yes"" for system-maintained codes, ""no"" for user codes"
\r
1315 ADD FIELD "Sort1" OF "Contact" AS character
\r
1322 ADD FIELD "Sort2" OF "Contact" AS character
\r
1329 ADD FIELD "Sort3" OF "Contact" AS character
\r
1336 ADD FIELD "Soundex1" OF "Contact" AS character
\r
1337 DESCRIPTION "Soundex coding for the primary sort key"
\r
1344 ADD INDEX "Contacts" ON "Contact"
\r
1345 AREA "Schema Area"
\r
1348 INDEX-FIELD "PersonCode" ASCENDING
\r
1349 INDEX-FIELD "ContactType" ASCENDING
\r
1351 ADD INDEX "XAK1Contacts" ON "Contact"
\r
1352 AREA "Schema Area"
\r
1354 INDEX-FIELD "ContactType" ASCENDING
\r
1355 INDEX-FIELD "PersonCode" ASCENDING
\r
1357 ADD TABLE "ContactType"
\r
1358 AREA "Schema Area"
\r
1359 DUMP-NAME "contactt"
\r
1360 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrctctyp.p" CRC "?"
\r
1362 ADD FIELD "ContactType" OF "ContactType" AS character
\r
1372 ADD FIELD "Description" OF "ContactType" AS character
\r
1380 ADD FIELD "SystemCode" OF "ContactType" AS logical
\r
1385 HELP "Set to ""yes"" for system-maintained codes, ""no"" for user codes"
\r
1389 ADD INDEX "XPKContactTypes" ON "ContactType"
\r
1390 AREA "Schema Area"
\r
1393 INDEX-FIELD "ContactType" ASCENDING
\r
1395 ADD TABLE "Contract"
\r
1396 AREA "Schema Area"
\r
1397 DUMP-NAME "contract"
\r
1398 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrcontrt.p" CRC "?"
\r
1400 ADD FIELD "CreditorCode" OF "Contract" AS integer
\r
1401 DESCRIPTION "The creditor who is contracted to provide this service for this property"
\r
1404 LABEL "Creditor code"
\r
1407 COLUMN-LABEL "Code"
\r
1410 ADD FIELD "PropertyCode" OF "Contract" AS integer
\r
1411 DESCRIPTION "The property the service is being provided for."
\r
1419 ADD FIELD "ServiceType" OF "Contract" AS character
\r
1422 LABEL "Service type"
\r
1425 COLUMN-LABEL "Service"
\r
1430 ADD FIELD "Contact" OF "Contract" AS integer
\r
1431 DESCRIPTION "A person to contact for problems relating to this area of service."
\r
1440 ADD FIELD "NoteCode" OF "Contract" AS integer
\r
1441 DESCRIPTION "Any notes relating specifically to this contract."
\r
1449 ADD FIELD "AnnualEstimate" OF "Contract" AS decimal
\r
1450 DESCRIPTION "The estimated annual amount payable to the contractor for this service, where the service is not covered by a fixed price contract."
\r
1451 FORMAT "->,>>>,>>9.99"
\r
1453 LABEL "Estimate p.a."
\r
1459 ADD FIELD "ContractReference" OF "Contract" AS character
\r
1460 DESCRIPTION "A reference to the physical contract documentation."
\r
1463 LABEL "Description"
\r
1466 COLUMN-LABEL "Description / Reference"
\r
1471 ADD FIELD "EndDate" OF "Contract" AS date
\r
1472 DESCRIPTION "The date on which the contract finishes."
\r
1473 FORMAT "99/99/9999"
\r
1480 ADD FIELD "FixedAmount" OF "Contract" AS decimal
\r
1481 DESCRIPTION "The annual amount payable on this contract, if it is for a fixed amount."
\r
1482 FORMAT "->,>>>,>>9.99"
\r
1490 ADD FIELD "FrequencyCode" OF "Contract" AS character
\r
1491 DESCRIPTION "The frequency with which payments are made for any fixed amount payable under this contract."
\r
1494 LABEL "Pmt Frequency"
\r
1501 ADD FIELD "ReviewDate" OF "Contract" AS date
\r
1502 DESCRIPTION "The date on which the contract should next be reviewed, if desired."
\r
1503 FORMAT "99/99/9999"
\r
1510 ADD FIELD "StartDate" OF "Contract" AS date
\r
1511 DESCRIPTION "The date on which the contract commences."
\r
1512 FORMAT "99/99/9999"
\r
1519 ADD FIELD "LastModifiedDate" OF "Contract" AS date
\r
1520 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
1521 FORMAT "99/99/9999"
\r
1522 INITIAL "1/1/0001"
\r
1528 ADD FIELD "LastModifiedTime" OF "Contract" AS integer
\r
1529 DESCRIPTION "The time that this record was last modified"
\r
1530 FORMAT "->,>>>,>>9"
\r
1536 ADD FIELD "LastModifiedUser" OF "Contract" AS character
\r
1537 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
1545 ADD FIELD "AuditRecordId" OF "Contract" AS integer
\r
1546 FORMAT "->,>>>,>>9"
\r
1552 ADD FIELD "TerminationNotice" OF "Contract" AS integer
\r
1555 LABEL "Term. Notice"
\r
1558 COLUMN-LABEL "Term. Not."
\r
1559 HELP "No. of months notice required to terminate the contract"
\r
1562 ADD FIELD "Renewing" OF "Contract" AS logical
\r
1563 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
1570 ADD FIELD "Recoverable" OF "Contract" AS logical
\r
1571 DESCRIPTION "Whether the contract costs are recoverable from tenants"
\r
1576 COLUMN-LABEL "Rec"
\r
1579 ADD FIELD "PaymentDate" OF "Contract" AS date
\r
1580 DESCRIPTION "A date on which payment has been made to aid calculation of future payment dates"
\r
1581 FORMAT "99/99/9999"
\r
1583 LABEL "Payment Cycle"
\r
1588 ADD FIELD "ContractSeq" OF "Contract" AS integer
\r
1589 FORMAT "->,>>>,>>9"
\r
1596 ADD FIELD "IsContracted" OF "Contract" AS logical
\r
1599 LABEL "Contracted"
\r
1602 HELP "Is this a contracted expense, or an estimated one"
\r
1605 ADD FIELD "OrderCode" OF "Contract" AS integer
\r
1606 DESCRIPTION "Associated order for contracted supply."
\r
1613 ADD FIELD "Active" OF "Contract" AS logical
\r
1614 DESCRIPTION "Flag to indicate whether the contract is active or inactive"
\r
1621 ADD INDEX "XPKContracts" ON "Contract"
\r
1622 AREA "Schema Area"
\r
1625 INDEX-FIELD "PropertyCode" ASCENDING
\r
1626 INDEX-FIELD "ServiceType" ASCENDING
\r
1627 INDEX-FIELD "CreditorCode" ASCENDING
\r
1628 INDEX-FIELD "ContractSeq" ASCENDING
\r
1630 ADD INDEX "XAK1Contracts" ON "Contract"
\r
1631 AREA "Schema Area"
\r
1633 INDEX-FIELD "CreditorCode" ASCENDING
\r
1634 INDEX-FIELD "ServiceType" ASCENDING
\r
1635 INDEX-FIELD "PropertyCode" ASCENDING
\r
1636 INDEX-FIELD "ContractSeq" ASCENDING
\r
1638 ADD TABLE "CashFlow"
\r
1639 AREA "Schema Area"
\r
1640 DUMP-NAME "contrac1"
\r
1642 ADD FIELD "ScenarioCode" OF "CashFlow" AS integer
\r
1643 DESCRIPTION "A code identifying the scenario that this cash flow belongs to."
\r
1651 ADD FIELD "EntityType" OF "CashFlow" AS character
\r
1654 LABEL "Entity type"
\r
1661 ADD FIELD "EntityCode" OF "CashFlow" AS integer
\r
1670 ADD FIELD "AccountCode" OF "CashFlow" AS decimal
\r
1671 DESCRIPTION "An account, from the chart of accounts, that this cash flow relates to."
\r
1680 ADD FIELD "FrequencyCode" OF "CashFlow" AS character
\r
1681 DESCRIPTION "The code used to refer to this kind of regularity"
\r
1688 ADD FIELD "Sequence" OF "CashFlow" AS integer
\r
1689 DESCRIPTION "An arbitrary sequence number to make the record key for the contracted cash flows file unique."
\r
1696 ADD FIELD "CashFlowType" OF "CashFlow" AS character
\r
1706 ADD FIELD "CFChangeType" OF "CashFlow" AS character
\r
1709 LABEL "Change type"
\r
1712 COLUMN-LABEL "Change"
\r
1715 ADD FIELD "Amount" OF "CashFlow" AS decimal
\r
1716 DESCRIPTION "The amount of each occurrence of the cash flow."
\r
1717 FORMAT "->>,>>>,>>>,>>9.99"
\r
1724 ADD FIELD "Description" OF "CashFlow" AS character
\r
1725 DESCRIPTION "A brief description of the cash flow."
\r
1732 ADD FIELD "EndDate" OF "CashFlow" AS date
\r
1733 DESCRIPTION "The date after which this cash flow no longer occurs."
\r
1734 FORMAT "99/99/9999"
\r
1741 ADD FIELD "StartDate" OF "CashFlow" AS date
\r
1742 DESCRIPTION "The date on which this cash flow first occurs."
\r
1743 FORMAT "99/99/9999"
\r
1750 ADD FIELD "RelatedKey" OF "CashFlow" AS character
\r
1751 DESCRIPTION "Key to related record in database"
\r
1758 ADD INDEX "XPKCashFlow" ON "CashFlow"
\r
1759 AREA "Schema Area"
\r
1762 INDEX-FIELD "ScenarioCode" ASCENDING
\r
1763 INDEX-FIELD "EntityType" ASCENDING
\r
1764 INDEX-FIELD "EntityCode" ASCENDING
\r
1765 INDEX-FIELD "AccountCode" ASCENDING
\r
1766 INDEX-FIELD "Sequence" ASCENDING
\r
1767 INDEX-FIELD "CashFlowType" ASCENDING
\r
1769 ADD INDEX "XAK1CashFlow" ON "CashFlow"
\r
1770 AREA "Schema Area"
\r
1771 INDEX-FIELD "ScenarioCode" ASCENDING
\r
1772 INDEX-FIELD "CashFlowType" ASCENDING
\r
1774 ADD INDEX "XAK2CashFlow" ON "CashFlow"
\r
1775 AREA "Schema Area"
\r
1776 INDEX-FIELD "ScenarioCode" ASCENDING
\r
1777 INDEX-FIELD "RelatedKey" ASCENDING
\r
1778 INDEX-FIELD "StartDate" ASCENDING
\r
1780 ADD TABLE "Creditor"
\r
1781 AREA "Schema Area"
\r
1782 DUMP-NAME "creditor"
\r
1783 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crcdtor.p" CRC "?"
\r
1784 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrcrdtor.p" CRC "?"
\r
1786 ADD FIELD "CreditorCode" OF "Creditor" AS integer
\r
1787 DESCRIPTION "The code used to refer to a creditor."
\r
1795 ADD FIELD "PaymentContact" OF "Creditor" AS integer
\r
1796 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
1799 LABEL "Payment contact"
\r
1804 ADD FIELD "Name" OF "Creditor" AS character
\r
1805 DESCRIPTION "A name used to refer to this creditor."
\r
1813 ADD FIELD "PayeeName" OF "Creditor" AS character
\r
1814 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
1817 LABEL "Payee name"
\r
1823 ADD FIELD "OtherContact" OF "Creditor" AS integer
\r
1824 DESCRIPTION "A secondary contact for matters relating to this creditor."
\r
1827 LABEL "Other contact"
\r
1833 ADD FIELD "Active" OF "Creditor" AS logical
\r
1834 DESCRIPTION "Flag to indicate whether the creditor is active or inactive"
\r
1841 ADD FIELD "PaymentStyle" OF "Creditor" AS character
\r
1849 ADD FIELD "BankDetails" OF "Creditor" AS character
\r
1852 LABEL "A/c details"
\r
1855 COLUMN-LABEL "Bank Account Details"
\r
1858 ADD FIELD "CompanyCode" OF "Creditor" AS integer
\r
1859 DESCRIPTION "The code used to refer to a company."
\r
1867 ADD FIELD "LastModifiedDate" OF "Creditor" AS date
\r
1868 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
1869 FORMAT "99/99/9999"
\r
1870 INITIAL "1/1/0001"
\r
1876 ADD FIELD "LastModifiedTime" OF "Creditor" AS integer
\r
1877 DESCRIPTION "The time that this record was last modified"
\r
1878 FORMAT "->,>>>,>>9"
\r
1884 ADD FIELD "LastModifiedUser" OF "Creditor" AS character
\r
1885 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
1893 ADD FIELD "AuditRecordId" OF "Creditor" AS integer
\r
1894 FORMAT "->,>>>,>>9"
\r
1900 ADD FIELD "ChequesPerMonth" OF "Creditor" AS integer
\r
1903 LABEL "Cheques/mth"
\r
1908 ADD FIELD "VchrEntityType" OF "Creditor" AS character
\r
1915 ADD FIELD "VchrEntityCode" OF "Creditor" AS integer
\r
1922 ADD FIELD "VchrAccountCode" OF "Creditor" AS decimal
\r
1930 ADD FIELD "VchrApprover" OF "Creditor" AS character
\r
1937 ADD FIELD "BankDetailsChangedBy" OF "Creditor" AS character
\r
1940 LABEL "Changed By User"
\r
1943 COLUMN-LABEL "Changed"
\r
1944 HELP "The user who last changed the Bank A/C details"
\r
1948 ADD FIELD "EnableDirectPayment" OF "Creditor" AS logical
\r
1953 HELP "Whether or not direct payments are enabled"
\r
1956 ADD FIELD "DirectPaymentEnabledBy" OF "Creditor" AS character
\r
1962 COLUMN-LABEL "User"
\r
1963 HELP "The user who enabled direct payments"
\r
1967 ADD FIELD "NonAccounting" OF "Creditor" AS logical
\r
1968 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
1973 COLUMN-LABEL "Non-A"
\r
1974 HELP "If this creditor should not allow transactions"
\r
1977 ADD FIELD "AcctCreditorCode" OF "Creditor" AS integer
\r
1978 DESCRIPTION "The code of another creditor if this creditor is a non-accounting creditor"
\r
1981 LABEL "Acct Creditor"
\r
1984 COLUMN-LABEL "A/C Crd"
\r
1985 HELP "Creditor code of the actual accounting creditor"
\r
1988 ADD INDEX "Creditors" ON "Creditor"
\r
1989 AREA "Schema Area"
\r
1992 INDEX-FIELD "CreditorCode" ASCENDING
\r
1994 ADD INDEX "XAK1Creditors" ON "Creditor"
\r
1995 AREA "Schema Area"
\r
1996 INDEX-FIELD "Name" ASCENDING
\r
1998 ADD INDEX "XAK3Creditors" ON "Creditor"
\r
1999 AREA "Schema Area"
\r
2001 INDEX-FIELD "Active" ASCENDING
\r
2002 INDEX-FIELD "CreditorCode" ASCENDING
\r
2004 ADD INDEX "XAK4Creditors" ON "Creditor"
\r
2005 AREA "Schema Area"
\r
2006 INDEX-FIELD "Active" ASCENDING
\r
2007 INDEX-FIELD "Name" ASCENDING
\r
2009 ADD INDEX "XAK6Creditors" ON "Creditor"
\r
2010 AREA "Schema Area"
\r
2012 INDEX-FIELD "Active" ASCENDING
\r
2013 INDEX-FIELD "NonAccounting" ASCENDING
\r
2014 INDEX-FIELD "CreditorCode" ASCENDING
\r
2016 ADD INDEX "XAK7Creditors" ON "Creditor"
\r
2017 AREA "Schema Area"
\r
2018 INDEX-FIELD "Active" ASCENDING
\r
2019 INDEX-FIELD "NonAccounting" ASCENDING
\r
2020 INDEX-FIELD "Name" ASCENDING
\r
2022 ADD INDEX "XAK8Creditors" ON "Creditor"
\r
2023 AREA "Schema Area"
\r
2024 INDEX-FIELD "PaymentContact" ASCENDING
\r
2026 ADD TABLE "Directorship"
\r
2027 AREA "Schema Area"
\r
2028 DUMP-NAME "director"
\r
2029 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "dedrctor.p" CRC "?"
\r
2031 ADD FIELD "CompanyCode" OF "Directorship" AS integer
\r
2032 DESCRIPTION "The code of the company that this person is a director of."
\r
2040 ADD FIELD "PersonCode" OF "Directorship" AS integer
\r
2041 DESCRIPTION "The person that is a director of this company"
\r
2050 ADD FIELD "NoteCode" OF "Directorship" AS integer
\r
2051 DESCRIPTION "Any notes about the directorship."
\r
2058 ADD INDEX "Directorships" ON "Directorship"
\r
2059 AREA "Schema Area"
\r
2062 INDEX-FIELD "CompanyCode" ASCENDING
\r
2063 INDEX-FIELD "PersonCode" ASCENDING
\r
2065 ADD TABLE "Document"
\r
2066 AREA "Schema Area"
\r
2067 DUMP-NAME "document"
\r
2068 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "dedocmnt.p" CRC "?"
\r
2070 ADD FIELD "BatchCode" OF "Document" AS integer
\r
2071 DESCRIPTION "The batch which this document is a part of."
\r
2077 COLUMN-LABEL "Batch"
\r
2078 COLUMN-LABEL-SA "C"
\r
2081 ADD FIELD "DocumentCode" OF "Document" AS integer
\r
2082 DESCRIPTION "The code used to refer to this document within the batch."
\r
2085 LABEL "Document No."
\r
2088 COLUMN-LABEL "Doc #"
\r
2089 COLUMN-LABEL-SA "C"
\r
2092 ADD FIELD "Description" OF "Document" AS character
\r
2093 DESCRIPTION "A description of this document."
\r
2100 ADD FIELD "Reference" OF "Document" AS character
\r
2101 DESCRIPTION "Any reference applying to this document."
\r
2108 ADD FIELD "TransactionCount" OF "Document" AS integer
\r
2109 DESCRIPTION "The total number of transactions which make up this document."
\r
2112 LABEL "Transactions"
\r
2115 COLUMN-LABEL "# Trn"
\r
2118 ADD FIELD "DocumentType" OF "Document" AS character
\r
2125 HELP "Journal, Cheque, Invoice, Voucher,Bank statement, ..."
\r
2130 ADD INDEX "Documents" ON "Document"
\r
2131 AREA "Schema Area"
\r
2134 INDEX-FIELD "BatchCode" ASCENDING
\r
2135 INDEX-FIELD "DocumentCode" ASCENDING
\r
2137 ADD TABLE "EntityType"
\r
2138 AREA "Schema Area"
\r
2139 DUMP-NAME "entityty"
\r
2141 ADD FIELD "EntityType" OF "EntityType" AS character
\r
2144 LABEL "Entity type code"
\r
2151 ADD FIELD "Description" OF "EntityType" AS character
\r
2159 ADD INDEX "XPKEntityTypes" ON "EntityType"
\r
2160 AREA "Schema Area"
\r
2163 INDEX-FIELD "EntityType" ASCENDING
\r
2165 ADD TABLE "FinancialYear"
\r
2166 AREA "Schema Area"
\r
2167 DUMP-NAME "financia"
\r
2169 ADD FIELD "FinancialYearCode" OF "FinancialYear" AS integer
\r
2170 DESCRIPTION "The code used to refer to a financial year."
\r
2178 ADD FIELD "Description" OF "FinancialYear" AS character
\r
2179 DESCRIPTION "Text describing the financial year."
\r
2187 ADD INDEX "FinancialYears" ON "FinancialYear"
\r
2188 AREA "Schema Area"
\r
2191 INDEX-FIELD "FinancialYearCode" ASCENDING
\r
2193 ADD TABLE "FrequencyType"
\r
2194 AREA "Schema Area"
\r
2195 DUMP-NAME "frequenc"
\r
2197 ADD FIELD "FrequencyCode" OF "FrequencyType" AS character
\r
2198 DESCRIPTION "The code used to refer to this kind of regularity"
\r
2206 ADD FIELD "DaysOfMonth" OF "FrequencyType" AS character
\r
2207 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
2210 LABEL "Days of month"
\r
2213 HELP "e.g 8-14 would be only during the second week."
\r
2217 ADD FIELD "DaysOfWeek" OF "FrequencyType" AS character
\r
2218 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
2221 LABEL "Days of week"
\r
2224 HELP "e.g. Mon-Fri would be only business days"
\r
2228 ADD FIELD "Description" OF "FrequencyType" AS character
\r
2229 DESCRIPTION "A description of this frequency - '5 per year' or 'Monthly' for example."
\r
2236 ADD FIELD "MonthsOfYear" OF "FrequencyType" AS character
\r
2237 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
2240 LABEL "Months of year"
\r
2243 HELP "e.g. 2,7 would mean only February and July"
\r
2247 ADD FIELD "RepeatUnits" OF "FrequencyType" AS character
\r
2248 DESCRIPTION "A code identifying the type of units that this frequency repeats with (e.g. Day, Week, Month, Year, Arbitrary)"
\r
2251 LABEL "Repeat units"
\r
2254 HELP "Units for the repeat frequency (Day, Month, Year...)"
\r
2259 ADD FIELD "UnitCount" OF "FrequencyType" AS integer
\r
2260 DESCRIPTION "The number of repeat units involved in a cycle, i.e. '2' months, '73' days"
\r
2263 LABEL "No of Units"
\r
2266 HELP "No of units between occurrences"
\r
2269 ADD INDEX "XPKFrequencyType" ON "FrequencyType"
\r
2270 AREA "Schema Area"
\r
2273 INDEX-FIELD "FrequencyCode" ASCENDING
\r
2275 ADD TABLE "GroundLease"
\r
2276 AREA "Schema Area"
\r
2277 DUMP-NAME "groundle"
\r
2279 ADD FIELD "PropertyCode" OF "GroundLease" AS integer
\r
2280 DESCRIPTION "The code of the property which this ground lease applies to."
\r
2288 ADD FIELD "TitleCode" OF "GroundLease" AS integer
\r
2289 DESCRIPTION "The code of the property which this ground lease is for."
\r
2297 ADD FIELD "GroundLeaseCode" OF "GroundLease" AS integer
\r
2298 DESCRIPTION "The sequence of this ground lease within the title. Just reassure me: there won't always be just one, will there?"
\r
2301 LABEL "Ground lease code"
\r
2306 ADD FIELD "LeaseExpiry" OF "GroundLease" AS date
\r
2307 DESCRIPTION "The date on which the lease expires."
\r
2308 FORMAT "99/99/9999"
\r
2315 ADD FIELD "Lessor" OF "GroundLease" AS integer
\r
2316 DESCRIPTION "The creditor who we lease this from."
\r
2323 ADD FIELD "NextRentReview" OF "GroundLease" AS date
\r
2324 DESCRIPTION "The date of the next rent review"
\r
2325 FORMAT "99/99/9999"
\r
2327 LABEL "Next Review"
\r
2332 ADD FIELD "Rental" OF "GroundLease" AS decimal
\r
2333 DESCRIPTION "The annual rental paid for this lease."
\r
2334 FORMAT "->>,>>9.99"
\r
2341 ADD FIELD "RentReviewNotice" OF "GroundLease" AS integer
\r
2342 DESCRIPTION "The number of months notice required prior to a rent review being applied."
\r
2345 LABEL "Review notice"
\r
2348 HELP "Notice required prior to rent review (months)"
\r
2351 ADD FIELD "RightsOfRenewal" OF "GroundLease" AS character
\r
2352 DESCRIPTION "The rights of renewal for the ground lease."
\r
2355 LABEL "Rights of renewal"
\r
2361 ADD FIELD "NoteCode" OF "GroundLease" AS integer
\r
2362 DESCRIPTION "A unique code identifying this note."
\r
2369 ADD INDEX "XPKGroundLeases" ON "GroundLease"
\r
2370 AREA "Schema Area"
\r
2373 INDEX-FIELD "PropertyCode" ASCENDING
\r
2374 INDEX-FIELD "GroundLeaseCode" ASCENDING
\r
2376 ADD TABLE "Guarantor"
\r
2377 AREA "Schema Area"
\r
2378 DUMP-NAME "guaranto"
\r
2380 ADD FIELD "TenancyLeaseCode" OF "Guarantor" AS integer
\r
2381 DESCRIPTION "The lease this person/organisation is acting as a guarantor for."
\r
2384 LABEL "Lease code"
\r
2389 ADD FIELD "PersonCode" OF "Guarantor" AS integer
\r
2390 DESCRIPTION "The person/organisation acting as a guarantor for this lease."
\r
2393 LABEL "Person code"
\r
2399 ADD FIELD "AnyData" OF "Guarantor" AS character
\r
2400 DESCRIPTION "Any data we want to store against each lease guarantor."
\r
2405 HELP "Whatever we want."
\r
2409 ADD FIELD "Type" OF "Guarantor" AS character
\r
2417 ADD FIELD "Limit" OF "Guarantor" AS decimal
\r
2418 FORMAT ">>,>>>,>>9.99"
\r
2425 ADD INDEX "Guarantors" ON "Guarantor"
\r
2426 AREA "Schema Area"
\r
2429 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
2430 INDEX-FIELD "PersonCode" ASCENDING
\r
2433 AREA "Schema Area"
\r
2436 ADD FIELD "PropertyCode" OF "Image" AS integer
\r
2443 ADD FIELD "ImageCode" OF "Image" AS integer
\r
2444 DESCRIPTION "A code used to refer to this image"
\r
2451 ADD FIELD "Description" OF "Image" AS integer
\r
2452 DESCRIPTION "A description of the image"
\r
2460 ADD FIELD "ImageData" OF "Image" AS character
\r
2461 DESCRIPTION "The actual image. Probably implemented as a reference to an external file."
\r
2468 ADD FIELD "ImageType" OF "Image" AS character
\r
2469 DESCRIPTION "The type of image data, e.g. JPEG, GIF, Photo CD, AutoCAD Drawing etc."
\r
2477 ADD FIELD "RentalSpaceCode" OF "Image" AS integer
\r
2478 DESCRIPTION "The rental space that this image applies to, or blank if it applies to the whole property."
\r
2485 ADD INDEX "Images" ON "Image"
\r
2486 AREA "Schema Area"
\r
2489 INDEX-FIELD "PropertyCode" ASCENDING
\r
2490 INDEX-FIELD "ImageCode" ASCENDING
\r
2492 ADD INDEX "XAK1Images" ON "Image"
\r
2493 AREA "Schema Area"
\r
2494 INDEX-FIELD "PropertyCode" ASCENDING
\r
2496 ADD INDEX "XAK2Images" ON "Image"
\r
2497 AREA "Schema Area"
\r
2498 INDEX-FIELD "RentalSpaceCode" ASCENDING
\r
2500 ADD TABLE "ImageType"
\r
2501 AREA "Schema Area"
\r
2502 DUMP-NAME "imagetyp"
\r
2504 ADD FIELD "ImageType" OF "ImageType" AS character
\r
2512 ADD FIELD "Description" OF "ImageType" AS character
\r
2519 ADD FIELD "ImageViewer" OF "ImageType" AS character
\r
2527 ADD INDEX "XPKImageTypes" ON "ImageType"
\r
2528 AREA "Schema Area"
\r
2531 INDEX-FIELD "ImageType" ASCENDING
\r
2533 ADD TABLE "LeaseImage"
\r
2534 AREA "Schema Area"
\r
2535 DUMP-NAME "leaseima"
\r
2537 ADD FIELD "LeaseImageSeq" OF "LeaseImage" AS integer
\r
2545 ADD FIELD "TenancyLeaseCode" OF "LeaseImage" AS integer
\r
2552 ADD FIELD "PropertyCode" OF "LeaseImage" AS integer
\r
2559 ADD FIELD "TitleCode" OF "LeaseImage" AS integer
\r
2566 ADD FIELD "GroundLeaseCode" OF "LeaseImage" AS integer
\r
2573 ADD FIELD "Description" OF "LeaseImage" AS character
\r
2580 ADD INDEX "XPKLeaseImages" ON "LeaseImage"
\r
2581 AREA "Schema Area"
\r
2584 INDEX-FIELD "LeaseImageSeq" ASCENDING
\r
2586 ADD TABLE "LeaseImagePage"
\r
2587 AREA "Schema Area"
\r
2588 DUMP-NAME "leaseim1"
\r
2590 ADD FIELD "LeaseImageSeq" OF "LeaseImagePage" AS integer
\r
2598 ADD FIELD "PageNumber" OF "LeaseImagePage" AS integer
\r
2606 ADD FIELD "ImageReference" OF "LeaseImagePage" AS character
\r
2613 ADD FIELD "ContentDescription" OF "LeaseImagePage" AS character
\r
2620 ADD INDEX "XPKLeaseImagePages" ON "LeaseImagePage"
\r
2621 AREA "Schema Area"
\r
2624 INDEX-FIELD "LeaseImageSeq" ASCENDING
\r
2625 INDEX-FIELD "PageNumber" ASCENDING
\r
2627 ADD TABLE "LeaseIndex"
\r
2628 AREA "Schema Area"
\r
2629 DUMP-NAME "leaseind"
\r
2631 ADD FIELD "LeaseIndexSeq" OF "LeaseIndex" AS integer
\r
2639 ADD FIELD "Searchword" OF "LeaseIndex" AS character
\r
2646 ADD FIELD "LeaseImageSeq" OF "LeaseIndex" AS integer
\r
2654 ADD FIELD "PageNumber" OF "LeaseIndex" AS integer
\r
2662 ADD INDEX "XPKLeaseIndex" ON "LeaseIndex"
\r
2663 AREA "Schema Area"
\r
2666 INDEX-FIELD "LeaseIndexSeq" ASCENDING
\r
2668 ADD TABLE "LeaseStatus"
\r
2669 AREA "Schema Area"
\r
2670 DUMP-NAME "leasesta"
\r
2672 ADD FIELD "LeaseStatus" OF "LeaseStatus" AS character
\r
2680 ADD FIELD "Description" OF "LeaseStatus" AS character
\r
2687 ADD INDEX "XPKLeaseStatuses" ON "LeaseStatus"
\r
2688 AREA "Schema Area"
\r
2691 INDEX-FIELD "LeaseStatus" ASCENDING
\r
2693 ADD TABLE "LeaseType"
\r
2694 AREA "Schema Area"
\r
2695 DUMP-NAME "leasetyp"
\r
2697 ADD FIELD "LeaseType" OF "LeaseType" AS character
\r
2705 ADD FIELD "Description" OF "LeaseType" AS character
\r
2712 ADD INDEX "XPKLeaseTypes" ON "LeaseType"
\r
2713 AREA "Schema Area"
\r
2716 INDEX-FIELD "LeaseType" ASCENDING
\r
2719 AREA "Schema Area"
\r
2721 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrmonth.p" CRC "?"
\r
2723 ADD FIELD "MonthCode" OF "Month" AS integer
\r
2724 DESCRIPTION "The code used to refer to a month."
\r
2731 ADD FIELD "MonthName" OF "Month" AS character
\r
2732 DESCRIPTION "The name of the month, such as 'January', or 'Year End Journals'."
\r
2741 ADD FIELD "FinancialYearCode" OF "Month" AS integer
\r
2742 DESCRIPTION "The financial year that this month is part of."
\r
2751 ADD FIELD "MonthStatus" OF "Month" AS character
\r
2759 ADD FIELD "StartDate" OF "Month" AS date
\r
2760 FORMAT "99/99/9999"
\r
2762 LABEL "Start date"
\r
2765 HELP "The first day of the month"
\r
2768 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "a-mthstd.p" CRC "?"
\r
2770 ADD FIELD "EndDate" OF "Month" AS date
\r
2771 FORMAT "99/99/9999"
\r
2772 INITIAL "12/31/2075"
\r
2776 COLUMN-LABEL "Ending"
\r
2779 ADD FIELD "LastModifiedDate" OF "Month" AS date
\r
2780 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
2781 FORMAT "99/99/9999"
\r
2782 INITIAL "1/1/0001"
\r
2788 ADD FIELD "LastModifiedTime" OF "Month" AS integer
\r
2789 DESCRIPTION "The time that this record was last modified"
\r
2790 FORMAT "->,>>>,>>9"
\r
2796 ADD FIELD "LastModifiedUser" OF "Month" AS character
\r
2797 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
2805 ADD FIELD "AuditRecordId" OF "Month" AS integer
\r
2806 FORMAT "->,>>>,>>9"
\r
2812 ADD INDEX "XAK1Months" ON "Month"
\r
2813 AREA "Schema Area"
\r
2816 INDEX-FIELD "FinancialYearCode" ASCENDING
\r
2817 INDEX-FIELD "MonthCode" ASCENDING
\r
2819 ADD INDEX "XAK2Months" ON "Month"
\r
2820 AREA "Schema Area"
\r
2822 INDEX-FIELD "StartDate" ASCENDING
\r
2824 ADD INDEX "XAK3Months" ON "Month"
\r
2825 AREA "Schema Area"
\r
2827 INDEX-FIELD "MonthCode" ASCENDING
\r
2829 ADD INDEX "XPKMonths" ON "Month"
\r
2830 AREA "Schema Area"
\r
2831 INDEX-FIELD "EndDate" ASCENDING
\r
2833 ADD TABLE "MonthName"
\r
2834 AREA "Schema Area"
\r
2835 DUMP-NAME "monthnam"
\r
2837 ADD FIELD "MonthName" OF "MonthName" AS character
\r
2845 ADD FIELD "Description" OF "MonthName" AS character
\r
2852 ADD INDEX "XPKMonthNames" ON "MonthName"
\r
2853 AREA "Schema Area"
\r
2856 INDEX-FIELD "MonthName" ASCENDING
\r
2858 ADD TABLE "MonthStatus"
\r
2859 AREA "Schema Area"
\r
2860 DUMP-NAME "monthsta"
\r
2862 ADD FIELD "MonthStatus" OF "MonthStatus" AS character
\r
2870 ADD FIELD "Description" OF "MonthStatus" AS character
\r
2877 ADD INDEX "XPKMonthStatus" ON "MonthStatus"
\r
2878 AREA "Schema Area"
\r
2881 INDEX-FIELD "MonthStatus" ASCENDING
\r
2884 AREA "Schema Area"
\r
2886 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crnote.p" CRC "?"
\r
2888 ADD FIELD "NoteCode" OF "Note" AS integer
\r
2889 DESCRIPTION "A unique code identifying this note."
\r
2897 ADD FIELD "Details" OF "Note" AS character
\r
2898 DESCRIPTION "A note relating to the current record"
\r
2903 VIEW-AS "VIEW-AS EDITOR INNER-CHARS 100 INNER-LINES 7 SCROLLBAR-VERTICAL"
\r
2908 ADD FIELD "NoteTable" OF "Note" AS character
\r
2915 ADD FIELD "NoteTableKey" OF "Note" AS character
\r
2922 ADD FIELD "NoteDate" OF "Note" AS date
\r
2923 FORMAT "99/99/9999"
\r
2929 ADD INDEX "XPKNote" ON "Note"
\r
2930 AREA "Schema Area"
\r
2933 INDEX-FIELD "NoteCode" ASCENDING
\r
2935 ADD TABLE "OutgoingsBasis"
\r
2936 AREA "Schema Area"
\r
2937 DUMP-NAME "outgoing"
\r
2939 ADD FIELD "OutgoingBasis" OF "OutgoingsBasis" AS character
\r
2947 ADD FIELD "Description" OF "OutgoingsBasis" AS character
\r
2954 ADD INDEX "XPKOutgoingsBasis" ON "OutgoingsBasis"
\r
2955 AREA "Schema Area"
\r
2958 INDEX-FIELD "OutgoingBasis" ASCENDING
\r
2960 ADD TABLE "Person"
\r
2961 AREA "Schema Area"
\r
2962 DUMP-NAME "person"
\r
2963 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRPERSON.P" CRC "?"
\r
2964 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "DEPERSON.P" CRC "?"
\r
2965 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrperson.p" CRC "?"
\r
2967 ADD FIELD "PersonCode" OF "Person" AS integer
\r
2968 DESCRIPTION "A code used to refer to this person."
\r
2971 LABEL "Person code"
\r
2974 COLUMN-LABEL "Person"
\r
2978 ADD FIELD "PersonTitle" OF "Person" AS character
\r
2984 HELP "Mr, Mrs, Ms, Sir and so forth"
\r
2987 ADD FIELD "DateOfBirth" OF "Person" AS date
\r
2988 DESCRIPTION "The person's date of birth, if known."
\r
2989 FORMAT "99/99/9999"
\r
2991 LABEL "Date of Birth"
\r
2994 COLUMN-LABEL "Birth date"
\r
2997 ADD FIELD "FirstName" OF "Person" AS character
\r
2998 DESCRIPTION "The person's first name"
\r
3001 LABEL "First name"
\r
3007 ADD FIELD "Company" OF "Person" AS character
\r
3015 ADD FIELD "GolfHandicap" OF "Person" AS integer
\r
3016 DESCRIPTION "The person's last known golf handicap."
\r
3019 LABEL "Golf handicap"
\r
3022 COLUMN-LABEL "H'cap"
\r
3025 ADD FIELD "LastName" OF "Person" AS character
\r
3026 DESCRIPTION "The person's last name"
\r
3035 ADD FIELD "Preferred" OF "Person" AS character
\r
3036 DESCRIPTION "A name that the person prefers to be called by, if this differs from their first name."
\r
3043 ADD FIELD "Sex" OF "Person" AS logical
\r
3044 DESCRIPTION "The person's sex."
\r
3045 FORMAT "Male/Female"
\r
3051 ADD FIELD "JobTitle" OF "Person" AS character
\r
3060 ADD FIELD "Office" OF "Person" AS character
\r
3068 ADD FIELD "CreatorID" OF "Person" AS character
\r
3076 ADD FIELD "LastModified" OF "Person" AS date
\r
3077 FORMAT "99/99/9999"
\r
3079 LABEL "Last modified"
\r
3084 ADD FIELD "Department" OF "Person" AS character
\r
3092 ADD FIELD "Spouse" OF "Person" AS character
\r
3100 ADD FIELD "LastValidated" OF "Person" AS date
\r
3101 FORMAT "99/99/9999"
\r
3108 ADD FIELD "Notes" OF "Person" AS integer
\r
3109 DESCRIPTION "A unique code identifying this note."
\r
3116 ADD FIELD "SystemContact" OF "Person" AS logical
\r
3117 DESCRIPTION "System maintained, indicates that this is _solely_ a system initiated contact."
\r
3124 ADD FIELD "SchedulePlusID" OF "Person" AS character
\r
3132 ADD FIELD "SortOn" OF "Person" AS character
\r
3139 ADD FIELD "Initials" OF "Person" AS character
\r
3146 ADD FIELD "MiddleNames" OF "Person" AS character
\r
3147 DESCRIPTION "The persons middle name or names"
\r
3152 HELP "The persons middle name or names"
\r
3155 ADD FIELD "NameSuffix" OF "Person" AS character
\r
3156 DESCRIPTION "Any suffix such as Snr or Jr following the persons name"
\r
3161 HELP "Any suffix such as Snr or Jr following the persons name"
\r
3164 ADD FIELD "MailOut" OF "Person" AS logical
\r
3165 DESCRIPTION "Is person OK to include in mailouts"
\r
3170 COLUMN-LABEL "Mail?"
\r
3171 HELP "Is person OK to include in mailouts"
\r
3174 ADD FIELD "TempGroup" OF "Person" AS logical
\r
3175 DESCRIPTION "Used for temporarily grouping people for bulk actions"
\r
3182 ADD INDEX "People" ON "Person"
\r
3183 AREA "Schema Area"
\r
3186 INDEX-FIELD "PersonCode" ASCENDING
\r
3188 ADD INDEX "XAK1People" ON "Person"
\r
3189 AREA "Schema Area"
\r
3190 INDEX-FIELD "Company" ASCENDING
\r
3191 INDEX-FIELD "LastName" ASCENDING
\r
3192 INDEX-FIELD "FirstName" ASCENDING
\r
3194 ADD INDEX "XAK2People" ON "Person"
\r
3195 AREA "Schema Area"
\r
3196 INDEX-FIELD "FirstName" ASCENDING
\r
3198 ADD INDEX "XAK3People" ON "Person"
\r
3199 AREA "Schema Area"
\r
3200 INDEX-FIELD "LastName" ASCENDING
\r
3201 INDEX-FIELD "FirstName" ASCENDING
\r
3202 INDEX-FIELD "Company" ASCENDING
\r
3204 ADD INDEX "XAK4People" ON "Person"
\r
3205 AREA "Schema Area"
\r
3206 INDEX-FIELD "Company" ASCENDING ABBREVIATED
\r
3208 ADD INDEX "XAK5People" ON "Person"
\r
3209 AREA "Schema Area"
\r
3210 INDEX-FIELD "SchedulePlusID" ASCENDING
\r
3212 ADD INDEX "XAKPeople-SCLF" ON "Person"
\r
3213 AREA "Schema Area"
\r
3214 INDEX-FIELD "SystemContact" ASCENDING
\r
3215 INDEX-FIELD "Company" ASCENDING
\r
3216 INDEX-FIELD "LastName" ASCENDING
\r
3217 INDEX-FIELD "FirstName" ASCENDING ABBREVIATED
\r
3219 ADD INDEX "XAKPeople-SLFC" ON "Person"
\r
3220 AREA "Schema Area"
\r
3221 INDEX-FIELD "SystemContact" ASCENDING
\r
3222 INDEX-FIELD "LastName" ASCENDING
\r
3223 INDEX-FIELD "FirstName" ASCENDING
\r
3224 INDEX-FIELD "Company" ASCENDING ABBREVIATED
\r
3226 ADD TABLE "PhoneDetail"
\r
3227 AREA "Schema Area"
\r
3228 DUMP-NAME "phonedet"
\r
3229 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRPHNDET.P" CRC "?"
\r
3230 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrphndet.p" CRC "?"
\r
3232 ADD FIELD "PersonCode" OF "PhoneDetail" AS integer
\r
3233 DESCRIPTION "The person that this phone number relates to"
\r
3240 ADD FIELD "PhoneType" OF "PhoneDetail" AS character
\r
3241 DESCRIPTION "The type of phone number that this is."
\r
3249 ADD FIELD "Number" OF "PhoneDetail" AS character
\r
3250 DESCRIPTION "The phone number"
\r
3257 ADD FIELD "CountryCode" OF "PhoneDetail" AS integer
\r
3265 ADD FIELD "STDCode" OF "PhoneDetail" AS integer
\r
3273 ADD FIELD "cCountryCode" OF "PhoneDetail" AS character
\r
3276 LABEL "Country Code"
\r
3279 COLUMN-LABEL "Country"
\r
3282 ADD FIELD "cSTDCode" OF "PhoneDetail" AS character
\r
3288 COLUMN-LABEL "STD"
\r
3291 ADD INDEX "PhoneDetails" ON "PhoneDetail"
\r
3292 AREA "Schema Area"
\r
3295 INDEX-FIELD "PersonCode" ASCENDING
\r
3296 INDEX-FIELD "PhoneType" ASCENDING
\r
3298 ADD INDEX "XAK1PhoneDetails" ON "PhoneDetail"
\r
3299 AREA "Schema Area"
\r
3300 INDEX-FIELD "CountryCode" ASCENDING
\r
3301 INDEX-FIELD "STDCode" ASCENDING
\r
3302 INDEX-FIELD "Number" ASCENDING
\r
3304 ADD INDEX "XAK2PhoneDetails" ON "PhoneDetail"
\r
3305 AREA "Schema Area"
\r
3306 INDEX-FIELD "cCountryCode" ASCENDING
\r
3307 INDEX-FIELD "cSTDCode" ASCENDING
\r
3308 INDEX-FIELD "PhoneType" ASCENDING
\r
3310 ADD TABLE "PhoneType"
\r
3311 AREA "Schema Area"
\r
3312 DUMP-NAME "phonetyp"
\r
3314 ADD FIELD "PhoneType" OF "PhoneType" AS character
\r
3322 ADD FIELD "Description" OF "PhoneType" AS character
\r
3329 ADD INDEX "XPKPhoneTypes" ON "PhoneType"
\r
3330 AREA "Schema Area"
\r
3333 INDEX-FIELD "PhoneType" ASCENDING
\r
3335 ADD TABLE "PostalDetail"
\r
3336 AREA "Schema Area"
\r
3337 DUMP-NAME "postalde"
\r
3338 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crpstdet.p" CRC "?"
\r
3339 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrpstdet.p" CRC "?"
\r
3341 ADD FIELD "PersonCode" OF "PostalDetail" AS integer
\r
3342 DESCRIPTION "The person that this postal address applies to"
\r
3349 ADD FIELD "PostalType" OF "PostalDetail" AS character
\r
3350 DESCRIPTION "The type of postal address that this is"
\r
3358 ADD FIELD "Address" OF "PostalDetail" AS character
\r
3359 DESCRIPTION "The postal address"
\r
3364 VIEW-AS "VIEW-AS EDITOR INNER-CHARS 40 INNER-LINES 3 SCROLLBAR-VERTICAL"
\r
3368 ADD FIELD "City" OF "PostalDetail" AS character
\r
3376 ADD FIELD "State" OF "PostalDetail" AS character
\r
3384 ADD FIELD "Country" OF "PostalDetail" AS character
\r
3392 ADD FIELD "Zip" OF "PostalDetail" AS character
\r
3400 ADD INDEX "PostalDetails" ON "PostalDetail"
\r
3401 AREA "Schema Area"
\r
3404 INDEX-FIELD "PersonCode" ASCENDING
\r
3405 INDEX-FIELD "PostalType" ASCENDING
\r
3407 ADD INDEX "XAK1PostalDetails" ON "PostalDetail"
\r
3408 AREA "Schema Area"
\r
3409 INDEX-FIELD "Country" ASCENDING
\r
3410 INDEX-FIELD "State" ASCENDING
\r
3411 INDEX-FIELD "City" ASCENDING
\r
3413 ADD TABLE "PostalType"
\r
3414 AREA "Schema Area"
\r
3415 DUMP-NAME "postalty"
\r
3417 ADD FIELD "PostalType" OF "PostalType" AS character
\r
3425 ADD FIELD "Description" OF "PostalType" AS character
\r
3432 ADD INDEX "XPKPostalType" ON "PostalType"
\r
3433 AREA "Schema Area"
\r
3436 INDEX-FIELD "PostalType" ASCENDING
\r
3438 ADD TABLE "Project"
\r
3439 AREA "Schema Area"
\r
3440 DUMP-NAME "project"
\r
3441 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crprjct.p" CRC "?"
\r
3442 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrprojct.p" CRC "?"
\r
3444 ADD FIELD "ProjectCode" OF "Project" AS integer
\r
3451 ADD FIELD "EntityType" OF "Project" AS character
\r
3454 LABEL "Entity type code"
\r
3461 ADD FIELD "Name" OF "Project" AS character
\r
3468 ADD FIELD "EntityCode" OF "Project" AS integer
\r
3474 COLUMN-LABEL-SA "C"
\r
3477 ADD FIELD "EntityAccount" OF "Project" AS decimal
\r
3478 DESCRIPTION "The code of the account."
\r
3488 ADD FIELD "LastModifiedDate" OF "Project" AS date
\r
3489 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
3490 FORMAT "99/99/9999"
\r
3491 INITIAL "1/1/0001"
\r
3497 ADD FIELD "LastModifiedTime" OF "Project" AS integer
\r
3498 DESCRIPTION "The time that this record was last modified"
\r
3499 FORMAT "->,>>>,>>9"
\r
3505 ADD FIELD "LastModifiedUser" OF "Project" AS character
\r
3506 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
3514 ADD FIELD "Proposer" OF "Project" AS integer
\r
3515 DESCRIPTION "A code used to refer to this proposer of this Project."
\r
3524 ADD FIELD "FirstApprover" OF "Project" AS character
\r
3525 DESCRIPTION "The short alphanumeric code that identifies this approver."
\r
3534 ADD FIELD "SecondApprover" OF "Project" AS character
\r
3535 DESCRIPTION "The short alphanumeric code that identifies this approver."
\r
3544 ADD FIELD "StartDate" OF "Project" AS date
\r
3545 FORMAT "99/99/9999"
\r
3547 LABEL "Start Date"
\r
3552 ADD FIELD "CompleteDate" OF "Project" AS date
\r
3553 FORMAT "99/99/9999"
\r
3555 LABEL "Completion Date"
\r
3560 ADD FIELD "ApprovedAmount" OF "Project" AS decimal
\r
3561 FORMAT ">>>,>>>,>>9.99"
\r
3563 LABEL "Approved Amount"
\r
3569 ADD FIELD "ExpenditureType" OF "Project" AS character
\r
3572 LABEL "Expenditure Type"
\r
3577 ADD FIELD "Description" OF "Project" AS character
\r
3584 ADD FIELD "ProposedDate" OF "Project" AS date
\r
3585 FORMAT "99/99/9999"
\r
3592 ADD FIELD "ApproveDate" OF "Project" AS date
\r
3593 FORMAT "99/99/9999"
\r
3595 LABEL "CapEx Approved"
\r
3600 ADD FIELD "SecondApproveDate" OF "Project" AS date
\r
3601 FORMAT "99/99/9999"
\r
3603 LABEL "2nd Approved"
\r
3608 ADD FIELD "ClosedDate" OF "Project" AS date
\r
3609 FORMAT "99/99/9999"
\r
3616 ADD FIELD "NotApprovedDate" OF "Project" AS date
\r
3617 FORMAT "99/99/9999"
\r
3619 LABEL "Not Approved"
\r
3624 ADD FIELD "NotApprovedReason" OF "Project" AS character
\r
3632 ADD FIELD "NotApprovedBy" OF "Project" AS integer
\r
3633 FORMAT "->,>>>,>>9"
\r
3639 ADD FIELD "BudgetsFrozen" OF "Project" AS logical
\r
3642 LABEL "Freeze Budgets"
\r
3647 ADD FIELD "Active" OF "Project" AS logical
\r
3648 DESCRIPTION "Flag to indicate whether the project is active or inactive"
\r
3655 ADD FIELD "ProjectType" OF "Project" AS character
\r
3663 ADD FIELD "BudgetAmount" OF "Project" AS decimal
\r
3664 DESCRIPTION "Amount proposed or budgetted for the project"
\r
3665 FORMAT "->>>,>>>,>>9.99"
\r
3669 HELP "Amount proposed or budgetted for the project"
\r
3673 ADD FIELD "Approved" OF "Project" AS logical
\r
3674 DESCRIPTION "Flag indicating approval status of the project"
\r
3679 HELP "Whether or not the capital expenditure is approved"
\r
3682 ADD FIELD "AreaSize" OF "Project" AS decimal
\r
3683 DESCRIPTION "Size of the area affected/created by the project to allow project costs to be apportioned on a PSM basis"
\r
3684 FORMAT "->>,>>9.99"
\r
3691 ADD INDEX "XPKProject" ON "Project"
\r
3692 AREA "Schema Area"
\r
3695 INDEX-FIELD "ProjectCode" ASCENDING
\r
3697 ADD INDEX "XAK1Project" ON "Project"
\r
3698 AREA "Schema Area"
\r
3699 INDEX-FIELD "EntityType" ASCENDING
\r
3700 INDEX-FIELD "EntityCode" ASCENDING
\r
3701 INDEX-FIELD "ProjectCode" ASCENDING
\r
3703 ADD INDEX "XAK2Projects" ON "Project"
\r
3704 AREA "Schema Area"
\r
3705 INDEX-FIELD "ProjectType" ASCENDING
\r
3706 INDEX-FIELD "StartDate" ASCENDING
\r
3707 INDEX-FIELD "ProjectCode" ASCENDING
\r
3709 ADD TABLE "Property"
\r
3710 AREA "Schema Area"
\r
3711 DUMP-NAME "property"
\r
3712 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrproper.p" CRC "?"
\r
3714 ADD FIELD "PropertyCode" OF "Property" AS integer
\r
3715 DESCRIPTION "The code used to refer to a property"
\r
3722 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "A-PROCDE.P" CRC "?"
\r
3724 ADD FIELD "LocationDescription" OF "Property" AS integer
\r
3725 DESCRIPTION "Descriptive paragraphs about the location of the property."
\r
3734 ADD FIELD "Administrator" OF "Property" AS integer
\r
3735 DESCRIPTION "The staff member who is involved in administration of the property."
\r
3743 ADD FIELD "CompanyCode" OF "Property" AS integer
\r
3744 DESCRIPTION "The company which owns this property"
\r
3753 ADD FIELD "Name" OF "Property" AS character
\r
3754 DESCRIPTION "A name used to refer to this property."
\r
3761 ADD FIELD "ShortName" OF "Property" AS character
\r
3762 DESCRIPTION "A short name for this property which will be used as a column header on some reports"
\r
3765 LABEL "Short name"
\r
3771 ADD FIELD "StreetAddress" OF "Property" AS character
\r
3772 DESCRIPTION "The address of the property"
\r
3775 LABEL "Street address"
\r
3781 ADD FIELD "ChiefWarden" OF "Property" AS integer
\r
3782 DESCRIPTION "The person who is the chief building warden."
\r
3785 LABEL "Chief warden"
\r
3791 ADD FIELD "DeputyWarden" OF "Property" AS integer
\r
3792 DESCRIPTION "The person who is the deputy building warden."
\r
3795 LABEL "Deputy warden"
\r
3801 ADD FIELD "Manager" OF "Property" AS integer
\r
3802 DESCRIPTION "The staff member who manages the property"
\r
3810 ADD FIELD "Active" OF "Property" AS logical
\r
3811 DESCRIPTION "Flag to indicate whether the property is active or inactive"
\r
3818 ADD FIELD "NoteCode" OF "Property" AS integer
\r
3819 DESCRIPTION "A unique code identifying this note."
\r
3826 ADD FIELD "PurchaseAgreement" OF "Property" AS date
\r
3827 FORMAT "99/99/9999"
\r
3833 ADD FIELD "PurchasePrice" OF "Property" AS decimal
\r
3834 FORMAT ">>>,>>>,>>9.99"
\r
3841 ADD FIELD "PurchaseCosts" OF "Property" AS decimal
\r
3842 FORMAT ">>,>>>,>>9.99"
\r
3846 HELP "Costs associated with purchasing the property"
\r
3850 ADD FIELD "City" OF "Property" AS character
\r
3858 ADD FIELD "PurchasedFrom" OF "Property" AS character
\r
3866 ADD FIELD "PurchaseSettlement" OF "Property" AS date
\r
3867 FORMAT "99/99/9999"
\r
3873 ADD FIELD "SalePrice" OF "Property" AS decimal
\r
3874 FORMAT ">>>,>>>,>>9.99"
\r
3881 ADD FIELD "SaleAgreement" OF "Property" AS date
\r
3882 FORMAT "99/99/9999"
\r
3888 ADD FIELD "SoldTo" OF "Property" AS character
\r
3896 ADD FIELD "BuildingType" OF "Property" AS character
\r
3905 ADD FIELD "SaleSettlement" OF "Property" AS date
\r
3906 FORMAT "99/99/9999"
\r
3912 ADD FIELD "Region" OF "Property" AS character
\r
3913 DESCRIPTION "Code to refer to region the property is in"
\r
3918 HELP "Enter region code"
\r
3922 ADD FIELD "ExternallyManaged" OF "Property" AS logical
\r
3923 DESCRIPTION "True if the building is managed externally through a separated organisation."
\r
3929 COLUMN-LABEL "Ext"
\r
3932 ADD FIELD "LastModifiedDate" OF "Property" AS date
\r
3933 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
3934 FORMAT "99/99/9999"
\r
3935 INITIAL "1/1/0001"
\r
3941 ADD FIELD "LastModifiedTime" OF "Property" AS integer
\r
3942 DESCRIPTION "The time that this record was last modified"
\r
3943 FORMAT "->,>>>,>>9"
\r
3949 ADD FIELD "LastModifiedUser" OF "Property" AS character
\r
3950 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
3958 ADD FIELD "AuditRecordId" OF "Property" AS integer
\r
3959 FORMAT "->,>>>,>>9"
\r
3965 ADD FIELD "OpexEstimate" OF "Property" AS decimal
\r
3966 DESCRIPTION "Estimated OPEX PSM for the building."
\r
3967 FORMAT "->>>,>>>,>>9.99"
\r
3974 ADD FIELD "MarketRental" OF "Property" AS decimal
\r
3975 DESCRIPTION "Estimated Achievable Rental (Net Income) for the whole building"
\r
3976 FORMAT "->>>,>>>,>>9.99"
\r
3978 LABEL "Market Rental"
\r
3984 ADD FIELD "WofExpiryDate" OF "Property" AS date
\r
3985 FORMAT "99/99/9999"
\r
3987 LABEL "WOF Expiry"
\r
3992 ADD FIELD "BusIntIndemnityPeriod" OF "Property" AS integer
\r
3995 LABEL "Indemnity period"
\r
4000 ADD FIELD "InsuranceBroker" OF "Property" AS integer
\r
4001 FORMAT "->,>>>,>>9"
\r
4007 ADD FIELD "TotalArea" OF "Property" AS decimal
\r
4008 FORMAT "->,>>>,>>9.999"
\r
4010 LABEL "Total Area"
\r
4016 ADD FIELD "TotalParks" OF "Property" AS integer
\r
4017 FORMAT "->,>>>,>>9"
\r
4019 LABEL "Total Parks"
\r
4024 ADD FIELD "ReconciliationDue" OF "Property" AS date
\r
4025 FORMAT "99/99/9999"
\r
4027 LABEL "Annual Rec Due"
\r
4030 COLUMN-LABEL "Annual Rec"
\r
4031 HELP "The date that the annual o/g reconciliation is due."
\r
4034 ADD FIELD "ComplianceNo" OF "Property" AS character
\r
4037 LABEL "Compliance No"
\r
4040 HELP "The reference code for building warrant of fitness use"
\r
4043 ADD FIELD "Ranking" OF "Property" AS integer
\r
4044 DESCRIPTION "A number indicating this buildings ranking within the portfolio"
\r
4045 FORMAT "->,>>>,>>9"
\r
4049 HELP "A number indicating this buildings ranking within the portfolio"
\r
4052 ADD FIELD "MarketCarpark" OF "Property" AS decimal
\r
4053 DESCRIPTION "Market rental for carparks in this building"
\r
4054 FORMAT "->>,>>9.99"
\r
4058 HELP "Market rental for carparks in this building"
\r
4062 ADD INDEX "Properties" ON "Property"
\r
4063 AREA "Schema Area"
\r
4066 INDEX-FIELD "PropertyCode" ASCENDING
\r
4068 ADD INDEX "XAK1Properties" ON "Property"
\r
4069 AREA "Schema Area"
\r
4070 INDEX-FIELD "ShortName" ASCENDING ABBREVIATED
\r
4072 ADD INDEX "XAKRegion" ON "Property"
\r
4073 AREA "Schema Area"
\r
4074 INDEX-FIELD "Region" ASCENDING ABBREVIATED
\r
4076 ADD TABLE "PropertyTitle"
\r
4077 AREA "Schema Area"
\r
4078 DUMP-NAME "propert2"
\r
4080 ADD FIELD "PropertyCode" OF "PropertyTitle" AS integer
\r
4081 DESCRIPTION "The code of the property which this title relates to."
\r
4088 ADD FIELD "TitleCode" OF "PropertyTitle" AS integer
\r
4089 DESCRIPTION "The sequence of this title within the property"
\r
4096 ADD FIELD "CTReference" OF "PropertyTitle" AS character
\r
4097 DESCRIPTION "The reference to the certificate of title."
\r
4104 ADD FIELD "Easements" OF "PropertyTitle" AS character
\r
4105 DESCRIPTION "Descriptions of any easements"
\r
4112 ADD FIELD "LegalDescription" OF "PropertyTitle" AS character
\r
4113 DESCRIPTION "The legal description of the title."
\r
4120 ADD FIELD "RightsOfWay" OF "PropertyTitle" AS character
\r
4121 DESCRIPTION "Descriptions of any rights of way."
\r
4128 ADD FIELD "WhereHeld" OF "PropertyTitle" AS character
\r
4129 DESCRIPTION "Where the original title documents are held (usually a lawyer?). Could we use a lookup table? Discuss with AP."
\r
4136 ADD INDEX "Titles" ON "PropertyTitle"
\r
4137 AREA "Schema Area"
\r
4140 INDEX-FIELD "PropertyCode" ASCENDING
\r
4141 INDEX-FIELD "TitleCode" ASCENDING
\r
4143 ADD TABLE "RentReview"
\r
4144 AREA "Schema Area"
\r
4145 DUMP-NAME "rentrevi"
\r
4146 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrrntrvw.p" CRC "?"
\r
4148 ADD FIELD "TenancyLeaseCode" OF "RentReview" AS integer
\r
4149 DESCRIPTION "The lease that this rent review applies to."
\r
4156 ADD FIELD "DateDue" OF "RentReview" AS date
\r
4157 DESCRIPTION "The date on which this rent review is due"
\r
4158 FORMAT "99/99/9999"
\r
4164 ADD FIELD "DateComplete" OF "RentReview" AS date
\r
4165 DESCRIPTION "The date on which this rent review was completed"
\r
4166 FORMAT "99/99/9999"
\r
4172 ADD FIELD "EstimateBasis" OF "RentReview" AS character
\r
4173 DESCRIPTION "A brief description of the basis of the market rental estimate."
\r
4180 ADD FIELD "MarketRental" OF "RentReview" AS decimal
\r
4181 DESCRIPTION "The estimated rental for the lease at current market rates."
\r
4182 FORMAT "->>,>>>,>>9.99"
\r
4189 ADD FIELD "MarketRentalDate" OF "RentReview" AS date
\r
4190 DESCRIPTION "The date at which the market rental was last estimated."
\r
4191 FORMAT "99/99/9999"
\r
4197 ADD FIELD "NewRentAppliesFrom" OF "RentReview" AS date
\r
4198 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
4199 FORMAT "99/99/9999"
\r
4205 ADD FIELD "NewRentStart" OF "RentReview" AS date
\r
4206 DESCRIPTION "The date on which the tenant will first be charged for the new rental"
\r
4207 FORMAT "99/99/9999"
\r
4213 ADD FIELD "ReviewStatus" OF "RentReview" AS character
\r
4221 ADD FIELD "ReviewType" OF "RentReview" AS character
\r
4229 ADD FIELD "OldRental" OF "RentReview" AS decimal
\r
4230 FORMAT "->>,>>>,>>9.99"
\r
4232 LABEL "Old Rental"
\r
4238 ADD FIELD "NewRental" OF "RentReview" AS decimal
\r
4239 FORMAT "->>,>>>,>>9.99"
\r
4241 LABEL "New Rental"
\r
4247 ADD FIELD "LastModifiedDate" OF "RentReview" AS date
\r
4248 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
4249 FORMAT "99/99/9999"
\r
4250 INITIAL "1/1/0001"
\r
4256 ADD FIELD "LastModifiedTime" OF "RentReview" AS integer
\r
4257 DESCRIPTION "The time that this record was last modified"
\r
4258 FORMAT "->,>>>,>>9"
\r
4264 ADD FIELD "LastModifiedUser" OF "RentReview" AS character
\r
4265 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
4273 ADD FIELD "AuditRecordId" OF "RentReview" AS integer
\r
4274 FORMAT "->,>>>,>>9"
\r
4280 ADD FIELD "Earliest" OF "RentReview" AS date
\r
4281 DESCRIPTION "Earliest date at which the rent review can be done"
\r
4282 FORMAT "99/99/9999"
\r
4288 ADD FIELD "Latest" OF "RentReview" AS date
\r
4289 DESCRIPTION "Latest date at which the rent review can be done"
\r
4290 FORMAT "99/99/9999"
\r
4296 ADD INDEX "RentReviews" ON "RentReview"
\r
4297 AREA "Schema Area"
\r
4300 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
4301 INDEX-FIELD "DateDue" ASCENDING
\r
4303 ADD INDEX "XAK1RentReviews" ON "RentReview"
\r
4304 AREA "Schema Area"
\r
4305 INDEX-FIELD "DateDue" ASCENDING
\r
4307 ADD TABLE "ReviewStatus"
\r
4308 AREA "Schema Area"
\r
4309 DUMP-NAME "reviewst"
\r
4311 ADD FIELD "ReviewStatus" OF "ReviewStatus" AS character
\r
4319 ADD FIELD "Description" OF "ReviewStatus" AS character
\r
4326 ADD INDEX "XPKReviewStatus" ON "ReviewStatus"
\r
4327 AREA "Schema Area"
\r
4330 INDEX-FIELD "ReviewStatus" ASCENDING
\r
4332 ADD TABLE "ReviewType"
\r
4333 AREA "Schema Area"
\r
4334 DUMP-NAME "reviewty"
\r
4336 ADD FIELD "ReviewType" OF "ReviewType" AS character
\r
4344 ADD FIELD "Description" OF "ReviewType" AS character
\r
4351 ADD INDEX "XPKReviewTypes" ON "ReviewType"
\r
4352 AREA "Schema Area"
\r
4355 INDEX-FIELD "ReviewType" ASCENDING
\r
4357 ADD TABLE "Scenario"
\r
4358 AREA "Schema Area"
\r
4359 DUMP-NAME "scenario"
\r
4361 ADD FIELD "ScenarioCode" OF "Scenario" AS integer
\r
4362 DESCRIPTION "A code to identify the scenario."
\r
4369 ADD FIELD "Description" OF "Scenario" AS character
\r
4376 ADD FIELD "Name" OF "Scenario" AS character
\r
4377 DESCRIPTION "A brief name to identify the scenario"
\r
4384 ADD FIELD "PersonCode" OF "Scenario" AS integer
\r
4385 DESCRIPTION "A code used to refer to the person who created the scenario."
\r
4388 LABEL "Person code"
\r
4391 COLUMN-LABEL "Person"
\r
4395 ADD FIELD "ScenarioStatus" OF "Scenario" AS character
\r
4403 ADD FIELD "ModificationRights" OF "Scenario" AS character
\r
4410 ADD INDEX "Scenarios" ON "Scenario"
\r
4411 AREA "Schema Area"
\r
4414 INDEX-FIELD "ScenarioCode" ASCENDING
\r
4416 ADD TABLE "ScenarioStatus"
\r
4417 AREA "Schema Area"
\r
4418 DUMP-NAME "scenari1"
\r
4420 ADD FIELD "ScenarioStatus" OF "ScenarioStatus" AS character
\r
4428 ADD FIELD "Description" OF "ScenarioStatus" AS character
\r
4435 ADD INDEX "XPKScenarioStatus" ON "ScenarioStatus"
\r
4436 AREA "Schema Area"
\r
4439 INDEX-FIELD "ScenarioStatus" ASCENDING
\r
4441 ADD TABLE "ServiceType"
\r
4442 AREA "Schema Area"
\r
4443 DUMP-NAME "servicet"
\r
4445 ADD FIELD "ServiceType" OF "ServiceType" AS character
\r
4453 ADD FIELD "Description" OF "ServiceType" AS character
\r
4460 ADD FIELD "AccountCode" OF "ServiceType" AS decimal
\r
4461 DESCRIPTION "The aacount that this service type applies to."
\r
4470 ADD FIELD "NRAccountCode" OF "ServiceType" AS decimal
\r
4471 DESCRIPTION "The code of the account when the service contract is specified as non-recoverable"
\r
4480 ADD INDEX "XPKServiceTypes" ON "ServiceType"
\r
4481 AREA "Schema Area"
\r
4484 INDEX-FIELD "ServiceType" ASCENDING
\r
4486 ADD TABLE "StreetFrontage"
\r
4487 AREA "Schema Area"
\r
4488 DUMP-NAME "streetfr"
\r
4490 ADD FIELD "PropertyCode" OF "StreetFrontage" AS integer
\r
4491 DESCRIPTION "The property which this street frontage applies to"
\r
4498 ADD FIELD "FrontageCode" OF "StreetFrontage" AS integer
\r
4499 DESCRIPTION "A sequence number for this street frontage."
\r
4506 ADD FIELD "Description" OF "StreetFrontage" AS character
\r
4514 ADD FIELD "Length" OF "StreetFrontage" AS decimal
\r
4515 DESCRIPTION "The length of the street frontage, in metres."
\r
4516 FORMAT "->>,>>9.99"
\r
4523 ADD FIELD "RentalSpaceCode" OF "StreetFrontage" AS integer
\r
4524 DESCRIPTION "A rental space that this street frontage applies to, or blank if it applies to a title."
\r
4531 ADD FIELD "TitleCode" OF "StreetFrontage" AS integer
\r
4532 DESCRIPTION "A title that this street frontage applies to, or blank if it applies to a rental space."
\r
4539 ADD INDEX "StreetFrontages" ON "StreetFrontage"
\r
4540 AREA "Schema Area"
\r
4543 INDEX-FIELD "PropertyCode" ASCENDING
\r
4544 INDEX-FIELD "FrontageCode" ASCENDING
\r
4546 ADD TABLE "TenancyLease"
\r
4547 AREA "Schema Area"
\r
4548 DUMP-NAME "tenancyl"
\r
4549 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRTLSCDE.P" CRC "?"
\r
4550 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "detntlse.p" CRC "?"
\r
4551 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrtntlse.p" CRC "?"
\r
4553 ADD FIELD "TenancyLeaseCode" OF "TenancyLease" AS integer
\r
4554 DESCRIPTION "A code used to refer to this tenancy lease"
\r
4562 ADD FIELD "AssignedLeaseCode" OF "TenancyLease" AS integer
\r
4563 DESCRIPTION "The prior lease in the chain of assigned leases."
\r
4566 LABEL "Assigned to"
\r
4571 ADD FIELD "AssignmentDate" OF "TenancyLease" AS date
\r
4572 DESCRIPTION "The date on which this lease was assigned from the prior one."
\r
4573 FORMAT "99/99/9999"
\r
4575 LABEL "Assign date"
\r
4580 ADD FIELD "LeaseEndDate" OF "TenancyLease" AS date
\r
4581 DESCRIPTION "The date on which the lease ends."
\r
4582 FORMAT "99/99/9999"
\r
4589 ADD FIELD "LeaseStartDate" OF "TenancyLease" AS date
\r
4590 DESCRIPTION "The date that the lease commenced (which could be in the future)."
\r
4591 FORMAT "99/99/9999"
\r
4593 LABEL "Lease start"
\r
4598 ADD FIELD "LeaseStatus" OF "TenancyLease" AS character
\r
4608 ADD FIELD "LeaseType" OF "TenancyLease" AS character
\r
4609 DESCRIPTION "A code classifying the type of lease."
\r
4619 ADD FIELD "NoteCode" OF "TenancyLease" AS integer
\r
4620 DESCRIPTION "Any notes relating to this lease"
\r
4628 ADD FIELD "RatchetClause" OF "TenancyLease" AS character
\r
4629 DESCRIPTION "The type of ratchet clause included in the lease, e.g. None, Full, Partial etc."
\r
4635 HELP "Ratchet clause type: None, full, part etc."
\r
4639 ADD FIELD "RentStartDate" OF "TenancyLease" AS date
\r
4640 FORMAT "99/99/9999"
\r
4642 LABEL "Rent start"
\r
4645 HELP "The date on which the tenant starts being liable for rent"
\r
4648 ADD FIELD "ReviewNoticePeriod" OF "TenancyLease" AS integer
\r
4651 LABEL "Review notice"
\r
4654 COLUMN-LABEL "RR notice"
\r
4655 HELP "The number of months of notice required for a rent review."
\r
4658 ADD FIELD "RightsOfRenewal" OF "TenancyLease" AS character
\r
4661 LABEL "Rights of Renewal"
\r
4664 COLUMN-LABEL "RoR"
\r
4665 HELP "The rights of renewal written into the lease."
\r
4669 ADD FIELD "RORNoticePeriod" OF "TenancyLease" AS integer
\r
4670 DESCRIPTION "The number of months of notice required for exercise of the rights of renewal."
\r
4673 LABEL "RoR notice"
\r
4676 HELP "Months notice required for exercise of renewal rights"
\r
4679 ADD FIELD "TenantCode" OF "TenancyLease" AS integer
\r
4680 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
4686 HELP "The tenant code for accounting for this lease."
\r
4689 ADD FIELD "DocumentLocation" OF "TenancyLease" AS integer
\r
4690 DESCRIPTION "The current location of the lease
\r
4691 Foreign key on the 'Note' table."
\r
4694 LABEL "Document Location Notes"
\r
4697 COLUMN-LABEL "NotesKey"
\r
4698 HELP "A 'note' indicating the current location of the lease docs."
\r
4701 ADD FIELD "PropertyCode" OF "TenancyLease" AS integer
\r
4702 DESCRIPTION "The property that the rental spaces in this lease are a part of."
\r
4710 ADD FIELD "TermYears" OF "TenancyLease" AS integer
\r
4718 ADD FIELD "TermMonths" OF "TenancyLease" AS integer
\r
4723 VALEXP "TermMonths >= 0 AND TermMonths < 12"
\r
4724 VALMSG "Must be between 0 and 11"
\r
4727 ADD FIELD "TermDays" OF "TenancyLease" AS integer
\r
4732 VALEXP "TermDays >= 0 AND TermDays < 32"
\r
4733 VALMSG "Must be between 0 and 31"
\r
4736 ADD FIELD "ElectricityUnitRate" OF "TenancyLease" AS decimal
\r
4739 LABEL "Electricity Rate"
\r
4745 ADD FIELD "OutgoingsBudget" OF "TenancyLease" AS decimal
\r
4746 DESCRIPTION "Basis for charging outgoings to a tenant."
\r
4747 FORMAT ">,>>>,>>9.99"
\r
4754 ADD FIELD "TaxApplies" OF "TenancyLease" AS logical
\r
4757 LABEL "Tax applies"
\r
4760 COLUMN-LABEL "Taxable"
\r
4763 ADD FIELD "LastModifiedDate" OF "TenancyLease" AS date
\r
4764 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
4765 FORMAT "99/99/9999"
\r
4766 INITIAL "1/1/0001"
\r
4772 ADD FIELD "LastModifiedTime" OF "TenancyLease" AS integer
\r
4773 DESCRIPTION "The time that this record was last modified"
\r
4774 FORMAT "->,>>>,>>9"
\r
4780 ADD FIELD "LastModifiedUser" OF "TenancyLease" AS character
\r
4781 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
4789 ADD FIELD "AuditRecordId" OF "TenancyLease" AS integer
\r
4790 FORMAT "->,>>>,>>9"
\r
4796 ADD FIELD "RentEndDate" OF "TenancyLease" AS date
\r
4797 FORMAT "99/99/9999"
\r
4802 HELP "The date on which the tenant stops being liable for rent"
\r
4805 ADD FIELD "IncentiveNotes" OF "TenancyLease" AS character
\r
4806 DESCRIPTION "Just some notes that get written in when the lease is settled (i.e when a new lease is setup)."
\r
4814 ADD FIELD "PrimarySpace" OF "TenancyLease" AS integer
\r
4815 DESCRIPTION "A sequence number which identifies the primary rental space within the property."
\r
4818 LABEL "Primary Space"
\r
4821 COLUMN-LABEL "Primary"
\r
4824 ADD FIELD "OutgoingsRate" OF "TenancyLease" AS decimal
\r
4833 ADD FIELD "GrossLease" OF "TenancyLease" AS logical
\r
4836 LABEL "Gross Lease"
\r
4839 COLUMN-LABEL "G/N"
\r
4842 ADD FIELD "AreaDescription" OF "TenancyLease" AS character
\r
4845 LABEL "Areas Rented"
\r
4850 ADD FIELD "FirstLeaseStart" OF "TenancyLease" AS date
\r
4851 FORMAT "99/99/9999"
\r
4853 LABEL "First lease start"
\r
4856 COLUMN-LABEL "First Start"
\r
4857 HELP "The date the first lease on this space by this tenant commenced"
\r
4860 ADD FIELD "PaymentFrequency" OF "TenancyLease" AS character
\r
4861 DESCRIPTION "The code used to refer to this kind of regularity"
\r
4868 ADD FIELD "RecoveryType" OF "TenancyLease" AS character
\r
4873 HELP "The method of Outgoings Recovery: F=Fixed, B=Budget, N=None"
\r
4876 ADD FIELD "HasRatchet" OF "TenancyLease" AS logical
\r
4877 DESCRIPTION "Is the rental ratcheted"
\r
4885 ADD INDEX "TenancyLeases" ON "TenancyLease"
\r
4886 AREA "Schema Area"
\r
4889 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
4891 ADD INDEX "XAK1TenancyLeases" ON "TenancyLease"
\r
4892 AREA "Schema Area"
\r
4893 INDEX-FIELD "TenantCode" ASCENDING
\r
4895 ADD INDEX "XAK2TenancyLeases" ON "TenancyLease"
\r
4896 AREA "Schema Area"
\r
4897 INDEX-FIELD "PropertyCode" ASCENDING
\r
4899 ADD TABLE "TenancyOutgoing"
\r
4900 AREA "Schema Area"
\r
4901 DUMP-NAME "tenancyo"
\r
4903 ADD FIELD "TenancyLeaseCode" OF "TenancyOutgoing" AS integer
\r
4904 DESCRIPTION "The lease that this outgoings charge relates to."
\r
4911 ADD FIELD "AccountCode" OF "TenancyOutgoing" AS decimal
\r
4912 DESCRIPTION "The account, from the chart of accounts, that this outgoings charge accrues to."
\r
4920 ADD FIELD "AccumulatedAmount" OF "TenancyOutgoing" AS decimal
\r
4921 DESCRIPTION "The amount of actual charges accumulated in respect of this tenant since the last reconciliation of the account."
\r
4922 FORMAT "->,>>>,>>9.99"
\r
4929 ADD FIELD "BaseYear" OF "TenancyOutgoing" AS date
\r
4930 DESCRIPTION "The base year end, if applicable."
\r
4931 FORMAT "99/99/9999"
\r
4937 ADD FIELD "BaseYearAmount" OF "TenancyOutgoing" AS decimal
\r
4938 DESCRIPTION "The amount of the outgoings charge applying in the base year, if applicable."
\r
4939 FORMAT "->,>>>,>>9.99"
\r
4946 ADD FIELD "FixedAmount" OF "TenancyOutgoing" AS decimal
\r
4947 DESCRIPTION "If applicable, an annual total of the tenants fixed charges for this account."
\r
4948 FORMAT "->,>>>,>>9.99"
\r
4955 ADD FIELD "LastReconciliation" OF "TenancyOutgoing" AS integer
\r
4956 DESCRIPTION "The month up to which the last reconciliation of outgoings applied for this account."
\r
4963 ADD FIELD "OutgoingBasis" OF "TenancyOutgoing" AS character
\r
4971 ADD FIELD "Percentage" OF "TenancyOutgoing" AS decimal
\r
4972 DESCRIPTION "The fraction of the total property outgoings for this account which should accumulate against this tenant."
\r
4973 FORMAT "->>,>>9.99"
\r
4980 ADD FIELD "ReconciliationDue" OF "TenancyOutgoing" AS date
\r
4981 DESCRIPTION "The date on which the next reconciliation of outgoings is due for this tenancy lease account."
\r
4982 FORMAT "99/99/9999"
\r
4988 ADD INDEX "TenancyOutgoings" ON "TenancyOutgoing"
\r
4989 AREA "Schema Area"
\r
4992 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
4993 INDEX-FIELD "AccountCode" ASCENDING
\r
4995 ADD TABLE "Tenant"
\r
4996 AREA "Schema Area"
\r
4997 VALEXP "NOT CAN-FIND( FIRST AcctTran WHERE
\r
4998 AcctTran.EntityType = 'T' AND
\r
4999 AcctTran.EntityCode = Tenant.TenantCode )"
\r
5000 VALMSG "You cannot delete a tenant who has transactions !"
\r
5001 DUMP-NAME "tenant"
\r
5002 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crtenant.p" CRC "?"
\r
5003 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "detenant.p" CRC "?"
\r
5004 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrtenant.p" CRC "?"
\r
5006 ADD FIELD "TenantCode" OF "Tenant" AS integer
\r
5007 DESCRIPTION "A code used to refer to this tenant."
\r
5014 ADD FIELD "BillingContact" OF "Tenant" AS integer
\r
5015 DESCRIPTION "A person to whom the bills should be addressed."
\r
5022 ADD FIELD "Name" OF "Tenant" AS character
\r
5023 DESCRIPTION "The name used to refer to this tenant."
\r
5031 ADD FIELD "PropertyContact" OF "Tenant" AS integer
\r
5032 DESCRIPTION "Contact personfor Property matters"
\r
5039 ADD FIELD "Active" OF "Tenant" AS logical
\r
5040 DESCRIPTION "Flag to indicate whether the tenant is active or inactive"
\r
5047 ADD FIELD "EntityCode" OF "Tenant" AS integer
\r
5048 DESCRIPTION "The code used to refer to a company or property."
\r
5057 ADD FIELD "NoteCode" OF "Tenant" AS integer
\r
5058 DESCRIPTION "A unique code identifying this note."
\r
5065 ADD FIELD "AH1Contact" OF "Tenant" AS integer
\r
5066 FORMAT "->,>>>,>>9"
\r
5068 LABEL "After Hours #1"
\r
5073 ADD FIELD "EntityType" OF "Tenant" AS character
\r
5074 DESCRIPTION "The type of the related entity specified in EntityCode"
\r
5079 VALEXP "EntityType = ""P"" OR EntityType = ""L"""
\r
5080 VALMSG "May only equal ""L"" or ""P"""
\r
5084 ADD FIELD "LegalName" OF "Tenant" AS character
\r
5087 LABEL "Legal name"
\r
5093 ADD FIELD "PaymentStyle" OF "Tenant" AS character
\r
5102 ADD FIELD "LastModifiedDate" OF "Tenant" AS date
\r
5103 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
5104 FORMAT "99/99/9999"
\r
5105 INITIAL "1/1/0001"
\r
5111 ADD FIELD "LastModifiedTime" OF "Tenant" AS integer
\r
5112 DESCRIPTION "The time that this record was last modified"
\r
5113 FORMAT "->,>>>,>>9"
\r
5119 ADD FIELD "LastModifiedUser" OF "Tenant" AS character
\r
5120 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
5128 ADD FIELD "AuditRecordId" OF "Tenant" AS integer
\r
5129 FORMAT "->,>>>,>>9"
\r
5135 ADD FIELD "AH2Contact" OF "Tenant" AS integer
\r
5136 FORMAT "->,>>>,>>9"
\r
5138 LABEL "After Hours #2"
\r
5143 ADD FIELD "BusinessType" OF "Tenant" AS character
\r
5146 LABEL "Business type"
\r
5151 ADD FIELD "DebtClassification" OF "Tenant" AS character
\r
5154 LABEL "Debt Class"
\r
5160 ADD FIELD "VarianceClassification" OF "Tenant" AS character
\r
5163 LABEL "Variance Class"
\r
5168 ADD FIELD "Quality" OF "Tenant" AS integer
\r
5169 DESCRIPTION "A number indicating the quality of the tenant"
\r
5176 ADD FIELD "LastRentTotal" OF "Tenant" AS decimal
\r
5177 DESCRIPTION "The total amount of rent charged last rent run"
\r
5178 FORMAT "->>,>>>,>>9.99"
\r
5185 ADD FIELD "CFBalance" OF "Tenant" AS decimal
\r
5186 DESCRIPTION "The balance carried forward on the last invoice/statement"
\r
5187 FORMAT "->>,>>>,>>9.99"
\r
5194 ADD FIELD "BatchLastStatement" OF "Tenant" AS integer
\r
5195 DESCRIPTION "The number of the last posted batch when the last invoice / statement was produced"
\r
5196 FORMAT "->,>>>,>>9"
\r
5202 ADD INDEX "Tenants" ON "Tenant"
\r
5203 AREA "Schema Area"
\r
5206 INDEX-FIELD "TenantCode" ASCENDING
\r
5208 ADD INDEX "XAK1Tenants" ON "Tenant"
\r
5209 AREA "Schema Area"
\r
5210 INDEX-FIELD "Name" ASCENDING ABBREVIATED
\r
5212 ADD INDEX "XAK2Tenants" ON "Tenant"
\r
5213 AREA "Schema Area"
\r
5214 INDEX-FIELD "Active" ASCENDING
\r
5215 INDEX-FIELD "TenantCode" ASCENDING
\r
5217 ADD INDEX "XAK3Tenants" ON "Tenant"
\r
5218 AREA "Schema Area"
\r
5219 INDEX-FIELD "EntityType" DESCENDING
\r
5220 INDEX-FIELD "EntityCode" ASCENDING
\r
5222 ADD INDEX "XAK4Tenants" ON "Tenant"
\r
5223 AREA "Schema Area"
\r
5224 INDEX-FIELD "Active" ASCENDING
\r
5225 INDEX-FIELD "EntityType" DESCENDING
\r
5226 INDEX-FIELD "EntityCode" ASCENDING
\r
5228 ADD INDEX "XAK5Tenants" ON "Tenant"
\r
5229 AREA "Schema Area"
\r
5230 INDEX-FIELD "Active" ASCENDING
\r
5231 INDEX-FIELD "Name" ASCENDING
\r
5233 ADD TABLE "Valuation"
\r
5234 AREA "Schema Area"
\r
5235 DUMP-NAME "valuatio"
\r
5237 ADD FIELD "PropertyCode" OF "Valuation" AS integer
\r
5238 DESCRIPTION "The property that this valuation applies to"
\r
5245 ADD FIELD "ValuationType" OF "Valuation" AS character
\r
5253 ADD FIELD "ValuationCode" OF "Valuation" AS integer
\r
5254 DESCRIPTION "A sequence separating this valuation from others for the same property."
\r
5261 ADD FIELD "Amount" OF "Valuation" AS decimal
\r
5262 DESCRIPTION "The valuation."
\r
5263 FORMAT "->>,>>9.99"
\r
5270 ADD FIELD "DateDone" OF "Valuation" AS date
\r
5271 DESCRIPTION "The date that the valuation was done."
\r
5272 FORMAT "99/99/9999"
\r
5278 ADD FIELD "Valuer" OF "Valuation" AS character
\r
5279 DESCRIPTION "The person who performed the valuation"
\r
5286 ADD INDEX "XPKValuations" ON "Valuation"
\r
5287 AREA "Schema Area"
\r
5290 INDEX-FIELD "PropertyCode" ASCENDING
\r
5291 INDEX-FIELD "DateDone" DESCENDING
\r
5292 INDEX-FIELD "ValuationType" ASCENDING
\r
5294 ADD INDEX "XAK1Valuations" ON "Valuation"
\r
5295 AREA "Schema Area"
\r
5296 INDEX-FIELD "ValuationType" ASCENDING
\r
5297 INDEX-FIELD "DateDone" DESCENDING
\r
5299 ADD INDEX "XAK2Valuations" ON "Valuation"
\r
5300 AREA "Schema Area"
\r
5301 INDEX-FIELD "DateDone" DESCENDING
\r
5303 ADD TABLE "ValuationType"
\r
5304 AREA "Schema Area"
\r
5305 DUMP-NAME "valuati1"
\r
5307 ADD FIELD "ValuationType" OF "ValuationType" AS character
\r
5315 ADD FIELD "Description" OF "ValuationType" AS character
\r
5322 ADD INDEX "XPKValuationTypes" ON "ValuationType"
\r
5323 AREA "Schema Area"
\r
5326 INDEX-FIELD "ValuationType" ASCENDING
\r
5328 ADD TABLE "Cheque"
\r
5329 AREA "Schema Area"
\r
5330 DUMP-NAME "cheque"
\r
5331 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrcheque.p" CRC "?"
\r
5333 ADD FIELD "ChequeNo" OF "Cheque" AS integer
\r
5334 DESCRIPTION "Number identifying the cheque."
\r
5342 ADD FIELD "BankAccountCode" OF "Cheque" AS character
\r
5351 ADD FIELD "CreditorCode" OF "Cheque" AS integer
\r
5352 DESCRIPTION "Code of the creditor that this cheque is payable to."
\r
5360 ADD FIELD "Amount" OF "Cheque" AS decimal
\r
5361 DESCRIPTION "Dollar amount for the cheque."
\r
5362 FORMAT "->>>,>>>,>>9.99"
\r
5369 ADD FIELD "BatchCode" OF "Cheque" AS integer
\r
5370 DESCRIPTION "Code of the batch of documents that this cheque belongs to."
\r
5376 COLUMN-LABEL "Batch"
\r
5379 ADD FIELD "DocumentCode" OF "Cheque" AS integer
\r
5380 DESCRIPTION "Code of the document that this cheque applies to."
\r
5383 LABEL "Document No."
\r
5386 COLUMN-LABEL "Doc No."
\r
5389 ADD FIELD "PayeeName" OF "Cheque" AS character
\r
5390 DESCRIPTION "Name of the payee as printed for the cheque."
\r
5398 ADD FIELD "Date" OF "Cheque" AS date
\r
5399 DESCRIPTION "The date as printed for the cheque."
\r
5400 FORMAT "99/99/9999"
\r
5406 ADD FIELD "Cancelled" OF "Cheque" AS logical
\r
5407 DESCRIPTION "A value corresponding to the cancellation status of the cheque."
\r
5414 ADD FIELD "DatePresented" OF "Cheque" AS date
\r
5415 DESCRIPTION "The date this cheque was presented.
\r
5417 FORMAT "99/99/9999"
\r
5424 ADD FIELD "PresentedAmount" OF "Cheque" AS decimal
\r
5425 FORMAT ">>>,>>>,>>9.99"
\r
5432 ADD FIELD "DateSent" OF "Cheque" AS date
\r
5433 DESCRIPTION "The date the cheque was actually sent to the creditor"
\r
5434 FORMAT "99/99/9999"
\r
5441 ADD INDEX "XPKChequeDate" ON "Cheque"
\r
5442 AREA "Schema Area"
\r
5445 INDEX-FIELD "BankAccountCode" ASCENDING
\r
5446 INDEX-FIELD "Date" DESCENDING
\r
5447 INDEX-FIELD "ChequeNo" DESCENDING
\r
5449 ADD INDEX "XAK1Cheques" ON "Cheque"
\r
5450 AREA "Schema Area"
\r
5451 INDEX-FIELD "CreditorCode" ASCENDING
\r
5452 INDEX-FIELD "Date" DESCENDING
\r
5454 ADD INDEX "XPKCheque" ON "Cheque"
\r
5455 AREA "Schema Area"
\r
5457 INDEX-FIELD "BankAccountCode" ASCENDING
\r
5458 INDEX-FIELD "ChequeNo" ASCENDING
\r
5460 ADD TABLE "InvoiceLine"
\r
5461 AREA "Schema Area"
\r
5462 DUMP-NAME "invoicel"
\r
5463 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deinvlne.p" CRC "?"
\r
5464 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "WRINVLNE.P" CRC "?"
\r
5466 ADD FIELD "InvoiceNo" OF "InvoiceLine" AS integer
\r
5469 LABEL "Invoice No"
\r
5472 COLUMN-LABEL "Invoice"
\r
5475 ADD FIELD "AccountCode" OF "InvoiceLine" AS decimal
\r
5476 DESCRIPTION "The account against which this transaction applies."
\r
5482 COLUMN-LABEL-SA "C"
\r
5487 ADD FIELD "AccountText" OF "InvoiceLine" AS character
\r
5490 LABEL "Description"
\r
5496 ADD FIELD "Amount" OF "InvoiceLine" AS decimal
\r
5497 FORMAT "->,>>>,>>9.99"
\r
5505 ADD FIELD "Percent" OF "InvoiceLine" AS decimal
\r
5514 ADD FIELD "YourShare" OF "InvoiceLine" AS decimal
\r
5515 FORMAT "->,>>>,>>9.99"
\r
5522 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "a-ivlysh.p" CRC "?"
\r
5524 ADD FIELD "LineSeq" OF "InvoiceLine" AS integer
\r
5525 FORMAT "->,>>>,>>9"
\r
5532 ADD FIELD "Quantity" OF "InvoiceLine" AS decimal
\r
5533 DESCRIPTION "The quantity of goods invoiced"
\r
5534 FORMAT "->>,>>9.99"
\r
5541 ADD FIELD "EntityType" OF "InvoiceLine" AS character
\r
5542 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
5545 LABEL "Entity type"
\r
5549 COLUMN-LABEL-SA "C"
\r
5552 ADD FIELD "EntityCode" OF "InvoiceLine" AS integer
\r
5558 COLUMN-LABEL-SA "C"
\r
5561 ADD INDEX "XPKInvoiceLine" ON "InvoiceLine"
\r
5562 AREA "Schema Area"
\r
5565 INDEX-FIELD "InvoiceNo" ASCENDING
\r
5566 INDEX-FIELD "LineSeq" ASCENDING
\r
5568 ADD INDEX "XAK1InvoiceLines" ON "InvoiceLine"
\r
5569 AREA "Schema Area"
\r
5570 INDEX-FIELD "InvoiceNo" ASCENDING
\r
5571 INDEX-FIELD "AccountCode" ASCENDING
\r
5573 ADD TABLE "VoucherStatus"
\r
5574 AREA "Schema Area"
\r
5575 DUMP-NAME "vouchers"
\r
5577 ADD FIELD "Description" OF "VoucherStatus" AS character
\r
5585 ADD FIELD "VoucherStatus" OF "VoucherStatus" AS character
\r
5593 ADD FIELD "SequenceCode" OF "VoucherStatus" AS integer
\r
5602 ADD INDEX "XPKVoucherStatus" ON "VoucherStatus"
\r
5603 AREA "Schema Area"
\r
5605 INDEX-FIELD "VoucherStatus" ASCENDING
\r
5607 ADD INDEX "XAK1Sequence" ON "VoucherStatus"
\r
5608 AREA "Schema Area"
\r
5609 INDEX-FIELD "SequenceCode" ASCENDING
\r
5611 ADD TABLE "Approver"
\r
5612 AREA "Schema Area"
\r
5613 DESCRIPTION "Short Codes for approval persons"
\r
5614 DUMP-NAME "approver"
\r
5615 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrapprvr.p" CRC "?"
\r
5617 ADD FIELD "ApproverCode" OF "Approver" AS character
\r
5618 DESCRIPTION "The short alphanumeric code that identifies this approver."
\r
5628 ADD FIELD "PersonCode" OF "Approver" AS integer
\r
5637 ADD FIELD "ApprovalLimit" OF "Approver" AS decimal
\r
5638 FORMAT "->>,>>>,>>9.99"
\r
5640 LABEL "Approval Limit"
\r
5646 ADD FIELD "SignatoryLimit" OF "Approver" AS decimal
\r
5647 FORMAT "->>,>>>,>>9.99"
\r
5649 LABEL "Chq Signing Limit"
\r
5655 ADD FIELD "Active" OF "Approver" AS logical
\r
5656 DESCRIPTION "Flag to indicate whether the creditor is active or inactive"
\r
5663 ADD FIELD "LastModifiedDate" OF "Approver" AS date
\r
5664 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
5665 FORMAT "99/99/9999"
\r
5666 INITIAL "1/1/0001"
\r
5672 ADD FIELD "LastModifiedTime" OF "Approver" AS integer
\r
5673 DESCRIPTION "The time that this record was last modified"
\r
5674 FORMAT "->,>>>,>>9"
\r
5680 ADD FIELD "LastModifiedUser" OF "Approver" AS character
\r
5681 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
5689 ADD FIELD "AuditRecordId" OF "Approver" AS integer
\r
5690 FORMAT "->,>>>,>>9"
\r
5696 ADD FIELD "OverBudgetLimit" OF "Approver" AS decimal
\r
5697 FORMAT "->>,>>>,>>9.99"
\r
5699 LABEL "Over Budget Limit"
\r
5705 ADD INDEX "XPKApprover" ON "Approver"
\r
5706 AREA "Schema Area"
\r
5709 INDEX-FIELD "ApproverCode" ASCENDING
\r
5710 INDEX-FIELD "PersonCode" ASCENDING
\r
5712 ADD TABLE "BankAccount"
\r
5713 AREA "Schema Area"
\r
5714 DUMP-NAME "bankacco"
\r
5715 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrbnkact.p" CRC "?"
\r
5717 ADD FIELD "BankAccountCode" OF "BankAccount" AS character
\r
5726 ADD FIELD "AccountName" OF "BankAccount" AS character
\r
5729 LABEL "Account name"
\r
5735 ADD FIELD "BankBranchName" OF "BankAccount" AS character
\r
5738 LABEL "BranchName"
\r
5744 ADD FIELD "BankName" OF "BankAccount" AS character
\r
5753 ADD FIELD "BankAccount" OF "BankAccount" AS character
\r
5754 FORMAT "99-9999-9999999-999"
\r
5762 ADD FIELD "CompanyCode" OF "BankAccount" AS integer
\r
5768 HELP "The ledger that transactions should go to"
\r
5771 ADD FIELD "AccountCode" OF "BankAccount" AS decimal
\r
5774 LABEL "GL Account"
\r
5777 HELP "The GL account for transactions"
\r
5781 ADD FIELD "LastModifiedDate" OF "BankAccount" AS date
\r
5782 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
5783 FORMAT "99/99/9999"
\r
5784 INITIAL "1/1/0001"
\r
5790 ADD FIELD "LastModifiedTime" OF "BankAccount" AS integer
\r
5791 DESCRIPTION "The time that this record was last modified"
\r
5792 FORMAT "->,>>>,>>9"
\r
5798 ADD FIELD "LastModifiedUser" OF "BankAccount" AS character
\r
5799 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
5807 ADD FIELD "AuditRecordId" OF "BankAccount" AS integer
\r
5808 FORMAT "->,>>>,>>9"
\r
5814 ADD FIELD "ChequeAccount" OF "BankAccount" AS logical
\r
5817 LABEL "Cheque Account"
\r
5820 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
5823 ADD FIELD "Active" OF "BankAccount" AS logical
\r
5828 HELP "Is this bank account active"
\r
5831 ADD INDEX "BankAccounts" ON "BankAccount"
\r
5832 AREA "Schema Area"
\r
5834 INDEX-FIELD "BankAccountCode" ASCENDING
\r
5836 ADD TABLE "Office"
\r
5837 AREA "Schema Area"
\r
5838 DUMP-NAME "office"
\r
5839 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wroffice.p" CRC "?"
\r
5841 ADD FIELD "OfficeCode" OF "Office" AS character
\r
5850 ADD FIELD "Name" OF "Office" AS character
\r
5858 ADD FIELD "ThisOffice" OF "Office" AS logical
\r
5865 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "A-OFCTHS.P" CRC "?"
\r
5867 ADD FIELD "GSTNo" OF "Office" AS integer
\r
5868 FORMAT "999999999"
\r
5874 ADD FIELD "AccountingContact" OF "Office" AS integer
\r
5875 DESCRIPTION "A primary contact for matters relating to accounting within this office."
\r
5878 LABEL "Accounting contact"
\r
5883 ADD FIELD "GST" OF "Office" AS decimal
\r
5888 HELP "The GST rate applicable in this office"
\r
5892 ADD FIELD "StreetAddress" OF "Office" AS character
\r
5895 LABEL "Street Address"
\r
5898 VIEW-AS "VIEW-AS EDITOR
\r
5899 SIZE-CHARS 50 by 5
\r
5900 SCROLLBAR-VERTICAL
\r
5906 ADD INDEX "Offices" ON "Office"
\r
5907 AREA "Schema Area"
\r
5910 INDEX-FIELD "OfficeCode" ASCENDING
\r
5912 ADD INDEX "ThisOffice" ON "Office"
\r
5913 AREA "Schema Area"
\r
5914 INDEX-FIELD "ThisOffice" ASCENDING
\r
5916 ADD TABLE "Invoice"
\r
5917 AREA "Schema Area"
\r
5918 DUMP-NAME "invoice"
\r
5919 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRINVOCE.P" CRC "?"
\r
5920 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "DEINVOCE.P" CRC "?"
\r
5922 ADD FIELD "InvoiceNo" OF "Invoice" AS integer
\r
5925 LABEL "Invoice No"
\r
5928 COLUMN-LABEL "Invoice"
\r
5932 ADD FIELD "EntityType" OF "Invoice" AS character
\r
5935 LABEL "Entity type"
\r
5938 COLUMN-LABEL "Type"
\r
5943 ADD FIELD "EntityCode" OF "Invoice" AS integer
\r
5949 COLUMN-LABEL-SA "C"
\r
5952 ADD FIELD "InvoiceDate" OF "Invoice" AS date
\r
5953 FORMAT "99/99/9999"
\r
5955 LABEL "Invoice date"
\r
5958 COLUMN-LABEL "Date"
\r
5961 ADD FIELD "ToPay" OF "Invoice" AS character
\r
5970 ADD FIELD "ToDetail" OF "Invoice" AS character
\r
5979 ADD FIELD "TaxApplies" OF "Invoice" AS logical
\r
5988 ADD FIELD "TermsCode" OF "Invoice" AS character
\r
5998 ADD FIELD "TaxAmount" OF "Invoice" AS decimal
\r
5999 FORMAT "->,>>>,>>9.99"
\r
6007 ADD FIELD "Total" OF "Invoice" AS decimal
\r
6008 FORMAT "->>,>>>,>>>,>>9.99"
\r
6015 ADD FIELD "Blurb" OF "Invoice" AS character
\r
6016 DESCRIPTION "Blurb for this invoice"
\r
6022 VIEW-AS "VIEW-AS EDITOR SIZE-PIXELS 600 by 300
\r
6023 SCROLLBAR-VERTICAL"
\r
6027 ADD FIELD "InvoiceStatus" OF "Invoice" AS character
\r
6036 ADD FIELD "InvoiceType" OF "Invoice" AS character
\r
6037 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
6045 ADD FIELD "DueDate" OF "Invoice" AS date
\r
6046 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
6047 FORMAT "99/99/9999"
\r
6052 COLUMN-LABEL "Due Date"
\r
6053 HELP "Enter a due date otherwise it will be calculated from terms."
\r
6056 ADD INDEX "Invoices" ON "Invoice"
\r
6057 AREA "Schema Area"
\r
6060 INDEX-FIELD "InvoiceNo" ASCENDING
\r
6062 ADD INDEX "XAK1Entity" ON "Invoice"
\r
6063 AREA "Schema Area"
\r
6064 INDEX-FIELD "EntityType" ASCENDING
\r
6065 INDEX-FIELD "EntityCode" ASCENDING
\r
6067 ADD INDEX "XAK2Date" ON "Invoice"
\r
6068 AREA "Schema Area"
\r
6069 INDEX-FIELD "InvoiceDate" ASCENDING
\r
6071 ADD INDEX "XAK3Invoices" ON "Invoice"
\r
6072 AREA "Schema Area"
\r
6073 INDEX-FIELD "InvoiceStatus" ASCENDING
\r
6074 INDEX-FIELD "InvoiceNo" ASCENDING
\r
6076 ADD INDEX "XAK4Invoice" ON "Invoice"
\r
6077 AREA "Schema Area"
\r
6078 INDEX-FIELD "InvoiceStatus" ASCENDING
\r
6079 INDEX-FIELD "InvoiceDate" ASCENDING
\r
6081 ADD INDEX "XAK5Invoice" ON "Invoice"
\r
6082 AREA "Schema Area"
\r
6083 INDEX-FIELD "InvoiceStatus" ASCENDING
\r
6084 INDEX-FIELD "EntityType" ASCENDING
\r
6085 INDEX-FIELD "EntityCode" ASCENDING
\r
6087 ADD TABLE "InvoiceTerms"
\r
6088 AREA "Schema Area"
\r
6089 DUMP-NAME "invoicet"
\r
6091 ADD FIELD "TermsCode" OF "InvoiceTerms" AS character
\r
6101 ADD FIELD "Description" OF "InvoiceTerms" AS character
\r
6109 ADD INDEX "InvoiceTerms" ON "InvoiceTerms"
\r
6110 AREA "Schema Area"
\r
6113 INDEX-FIELD "TermsCode" ASCENDING
\r
6115 ADD TABLE "NewAcctTrans"
\r
6116 AREA "Schema Area"
\r
6117 DESCRIPTION "Holds transactions to be updated."
\r
6118 DUMP-NAME "newtrans"
\r
6119 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "denactrn.p" CRC "?"
\r
6120 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrnactrn.p" CRC "?"
\r
6122 ADD FIELD "BatchCode" OF "NewAcctTrans" AS integer
\r
6131 ADD FIELD "DocumentCode" OF "NewAcctTrans" AS integer
\r
6140 ADD FIELD "TransactionCode" OF "NewAcctTrans" AS integer
\r
6149 ADD FIELD "EntityType" OF "NewAcctTrans" AS character
\r
6159 ADD FIELD "EntityCode" OF "NewAcctTrans" AS integer
\r
6165 HELP "Code of Tenant, Company, Creditor or etc."
\r
6169 ADD FIELD "AccountCode" OF "NewAcctTrans" AS decimal
\r
6179 ADD FIELD "Date" OF "NewAcctTrans" AS date
\r
6180 FORMAT "99/99/9999"
\r
6186 ADD FIELD "Description" OF "NewAcctTrans" AS character
\r
6194 ADD FIELD "Amount" OF "NewAcctTrans" AS decimal
\r
6195 FORMAT "->>,>>>,>>>,>>9.99"
\r
6201 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "A-TRNAMT.P" CRC "?"
\r
6203 ADD FIELD "Reference" OF "NewAcctTrans" AS character
\r
6204 DESCRIPTION "Overrides the reference at document level for some display situations."
\r
6210 HELP "Enter a reference to override the document reference"
\r
6214 ADD FIELD "ConsequenceOf" OF "NewAcctTrans" AS integer
\r
6215 DESCRIPTION "Indicates which transactioncode in this document caused this transaction to be created during the transaction update process."
\r
6220 HELP "System maintained."
\r
6223 ADD FIELD "MonthCode" OF "NewAcctTrans" AS integer
\r
6224 DESCRIPTION "The code of the month that this transaction should update to."
\r
6230 HELP "The code of the month that this transaction should update to."
\r
6233 ADD INDEX "NewTransactions" ON "NewAcctTrans"
\r
6234 AREA "Schema Area"
\r
6237 INDEX-FIELD "BatchCode" ASCENDING
\r
6238 INDEX-FIELD "DocumentCode" ASCENDING
\r
6239 INDEX-FIELD "TransactionCode" ASCENDING
\r
6241 ADD TABLE "NewDocument"
\r
6242 AREA "Schema Area"
\r
6243 DESCRIPTION "Hold documents to be updated."
\r
6244 DUMP-NAME "newdocum"
\r
6245 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "denewdoc.p" CRC "?"
\r
6246 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrnewdoc.p" CRC "?"
\r
6248 ADD FIELD "BatchCode" OF "NewDocument" AS integer
\r
6256 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "A-NDCBCH.P" CRC "?"
\r
6258 ADD FIELD "DocumentCode" OF "NewDocument" AS integer
\r
6267 ADD FIELD "Description" OF "NewDocument" AS character
\r
6276 ADD FIELD "Reference" OF "NewDocument" AS character
\r
6285 ADD FIELD "DocumentType" OF "NewDocument" AS character
\r
6292 HELP "Invoice, Journal, Voucher, etc."
\r
6297 ADD INDEX "NewDocuments" ON "NewDocument"
\r
6298 AREA "Schema Area"
\r
6301 INDEX-FIELD "BatchCode" ASCENDING
\r
6302 INDEX-FIELD "DocumentCode" ASCENDING
\r
6304 ADD TABLE "NewBatch"
\r
6305 AREA "Schema Area"
\r
6306 DESCRIPTION "Holds batch control records for 'new' batches - i.e. those that could be 'posted' to update accounts."
\r
6307 DUMP-NAME "newbatch"
\r
6308 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRNEWBCH.P" CRC "?"
\r
6309 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "DENEWBCH.P" CRC "?"
\r
6311 ADD FIELD "BatchCode" OF "NewBatch" AS integer
\r
6320 ADD FIELD "PersonCode" OF "NewBatch" AS integer
\r
6329 ADD FIELD "BatchType" OF "NewBatch" AS character
\r
6339 ADD FIELD "DocumentCount" OF "NewBatch" AS integer
\r
6348 ADD FIELD "Total" OF "NewBatch" AS decimal
\r
6349 FORMAT "->>>,>>>,>>9.99"
\r
6357 ADD FIELD "Description" OF "NewBatch" AS character
\r
6362 VALEXP "Description <> """" AND Description <> ?"
\r
6363 VALMSG "The batch description may not be null"
\r
6367 ADD INDEX "XPKNewBatch" ON "NewBatch"
\r
6368 AREA "Schema Area"
\r
6371 INDEX-FIELD "BatchCode" ASCENDING
\r
6373 ADD INDEX "XAK1NewBatch" ON "NewBatch"
\r
6374 AREA "Schema Area"
\r
6376 INDEX-FIELD "BatchType" ASCENDING
\r
6377 INDEX-FIELD "BatchCode" DESCENDING
\r
6379 ADD INDEX "XAKDescription" ON "NewBatch"
\r
6380 AREA "Schema Area"
\r
6381 INDEX-FIELD "Description" ASCENDING
\r
6383 ADD TABLE "DocumentType"
\r
6384 AREA "Schema Area"
\r
6385 DESCRIPTION "Types of documents"
\r
6386 DUMP-NAME "docutype"
\r
6388 ADD FIELD "DocumentType" OF "DocumentType" AS character
\r
6391 LABEL "Document Type"
\r
6394 COLUMN-LABEL "Code"
\r
6399 ADD FIELD "Description" OF "DocumentType" AS character
\r
6408 ADD INDEX "DocumentTypes" ON "DocumentType"
\r
6409 AREA "Schema Area"
\r
6412 INDEX-FIELD "DocumentType" ASCENDING
\r
6414 ADD TABLE "AccountBalance"
\r
6415 AREA "Schema Area"
\r
6416 DUMP-NAME "accountb"
\r
6417 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deactbal.p" CRC "?"
\r
6418 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wractbal.p" CRC "?"
\r
6420 ADD FIELD "EntityType" OF "AccountBalance" AS character
\r
6421 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
6424 LABEL "Entity type"
\r
6428 COLUMN-LABEL-SA "C"
\r
6433 ADD FIELD "EntityCode" OF "AccountBalance" AS integer
\r
6439 COLUMN-LABEL-SA "C"
\r
6443 ADD FIELD "AccountCode" OF "AccountBalance" AS decimal
\r
6444 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
6454 ADD FIELD "MonthCode" OF "AccountBalance" AS integer
\r
6455 DESCRIPTION "The code of the month that this account applies to."
\r
6464 ADD FIELD "Balance" OF "AccountBalance" AS decimal
\r
6465 DESCRIPTION "The sum of the months transactions against this creditor ledger account."
\r
6466 FORMAT "->>,>>>,>>>,>>9.99"
\r
6473 ADD FIELD "Budget" OF "AccountBalance" AS decimal
\r
6474 FORMAT "->>,>>>,>>>,>>9.99"
\r
6481 ADD FIELD "RevisedBudget" OF "AccountBalance" AS decimal
\r
6482 FORMAT "->>,>>>,>>>,>>9.99"
\r
6490 ADD FIELD "NoteCode" OF "AccountBalance" AS integer
\r
6491 DESCRIPTION "A unique code identifying this note."
\r
6498 ADD INDEX "XPKAccountBalances" ON "AccountBalance"
\r
6499 AREA "Schema Area"
\r
6502 INDEX-FIELD "EntityType" ASCENDING
\r
6503 INDEX-FIELD "EntityCode" ASCENDING
\r
6504 INDEX-FIELD "AccountCode" ASCENDING
\r
6505 INDEX-FIELD "MonthCode" ASCENDING
\r
6507 ADD INDEX "XAK1AccountBalances" ON "AccountBalance"
\r
6508 AREA "Schema Area"
\r
6509 INDEX-FIELD "EntityType" ASCENDING
\r
6510 INDEX-FIELD "AccountCode" ASCENDING
\r
6511 INDEX-FIELD "MonthCode" ASCENDING
\r
6513 ADD TABLE "OfficeControlAccount"
\r
6514 AREA "Schema Area"
\r
6515 DUMP-NAME "officeco"
\r
6517 ADD FIELD "OfficeCode" OF "OfficeControlAccount" AS character
\r
6523 HELP "Office that this control account applies to"
\r
6528 ADD FIELD "EntityType" OF "OfficeControlAccount" AS character
\r
6529 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
6532 LABEL "Entity type"
\r
6535 COLUMN-LABEL "Type"
\r
6536 COLUMN-LABEL-SA "C"
\r
6537 HELP "Entity type of control account"
\r
6542 ADD FIELD "EntityCode" OF "OfficeControlAccount" AS integer
\r
6548 COLUMN-LABEL-SA "C"
\r
6549 HELP "An optional entity code if applicable"
\r
6552 ADD FIELD "AccountCode" OF "OfficeControlAccount" AS decimal
\r
6553 DESCRIPTION "The code of this control account."
\r
6559 COLUMN-LABEL-SA "C"
\r
6560 HELP "The code of this control account."
\r
6565 ADD FIELD "Description" OF "OfficeControlAccount" AS character
\r
6566 DESCRIPTION "A description of this control account."
\r
6571 HELP "A description of this control account."
\r
6575 ADD FIELD "Name" OF "OfficeControlAccount" AS character
\r
6580 HELP "The name of this sequence"
\r
6584 ADD INDEX "XPKOfficeControlAccounts" ON "OfficeControlAccount"
\r
6585 AREA "Schema Area"
\r
6587 INDEX-FIELD "OfficeCode" ASCENDING
\r
6588 INDEX-FIELD "Name" ASCENDING
\r
6590 ADD TABLE "AutoText"
\r
6591 AREA "Schema Area"
\r
6592 DUMP-NAME "autotext"
\r
6594 ADD FIELD "AutoTextCode" OF "AutoText" AS character
\r
6597 LABEL "Auto Text code"
\r
6600 COLUMN-LABEL "AutoCode"
\r
6604 ADD FIELD "Description" OF "AutoText" AS character
\r
6607 LABEL "Auto Text Description"
\r
6610 COLUMN-LABEL "Text"
\r
6614 ADD INDEX "XPKAutoTextCode" ON "AutoText"
\r
6615 AREA "Schema Area"
\r
6618 INDEX-FIELD "AutoTextCode" ASCENDING
\r
6620 ADD TABLE "TenantSubLease"
\r
6621 AREA "Schema Area"
\r
6622 DUMP-NAME "tenantsu"
\r
6624 ADD FIELD "TenantSubLeaseCode" OF "TenantSubLease" AS integer
\r
6633 ADD FIELD "TenancyLeaseCode" OF "TenantSubLease" AS integer
\r
6634 DESCRIPTION "A code used to refer to this tenancy lease"
\r
6642 ADD FIELD "Notes" OF "TenantSubLease" AS integer
\r
6643 DESCRIPTION "Any notes relating to this lease"
\r
6652 ADD FIELD "Name" OF "TenantSubLease" AS character
\r
6661 ADD INDEX "XPKTenantSubLeases" ON "TenantSubLease"
\r
6662 AREA "Schema Area"
\r
6665 INDEX-FIELD "TenantSubLeaseCode" ASCENDING
\r
6667 ADD INDEX "XAK1TenantSubLease" ON "TenantSubLease"
\r
6668 AREA "Schema Area"
\r
6669 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
6671 ADD INDEX "XAK2TenantSubLeases" ON "TenantSubLease"
\r
6672 AREA "Schema Area"
\r
6673 INDEX-FIELD "Name" ASCENDING
\r
6676 AREA "Schema Area"
\r
6678 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRUSR.P" CRC "?"
\r
6679 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "DEUSR.P" CRC "?"
\r
6680 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "WRUSR.P" CRC "?"
\r
6682 ADD FIELD "UserName" OF "Usr" AS character
\r
6688 COLUMN-LABEL "User"
\r
6693 ADD FIELD "Abbreviation" OF "Usr" AS character
\r
6696 LABEL "Abbreviation"
\r
6702 ADD FIELD "PersonCode" OF "Usr" AS integer
\r
6703 DESCRIPTION "The person code used to refer to this System User."
\r
6706 LABEL "Person code"
\r
6709 COLUMN-LABEL "Person"
\r
6713 ADD INDEX "XPKUserName" ON "Usr"
\r
6714 AREA "Schema Area"
\r
6717 INDEX-FIELD "UserName" ASCENDING
\r
6719 ADD INDEX "XAK1PersonCode" ON "Usr"
\r
6720 AREA "Schema Area"
\r
6721 INDEX-FIELD "PersonCode" ASCENDING
\r
6723 ADD INDEX "XAK2Abbreviation" ON "Usr"
\r
6724 AREA "Schema Area"
\r
6725 INDEX-FIELD "Abbreviation" ASCENDING
\r
6727 ADD TABLE "UsrGroup"
\r
6728 AREA "Schema Area"
\r
6729 DUMP-NAME "usrgroup"
\r
6730 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "DEUSRGRP.P" CRC "?"
\r
6731 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "WRUSRGRP.P" CRC "?"
\r
6733 ADD FIELD "GroupName" OF "UsrGroup" AS character
\r
6736 LABEL "Group Name"
\r
6739 COLUMN-LABEL "Group"
\r
6744 ADD FIELD "Description" OF "UsrGroup" AS character
\r
6752 ADD FIELD "Sequence" OF "UsrGroup" AS integer
\r
6753 FORMAT "->,>>>,>>9"
\r
6759 ADD INDEX "XPKUsrGroup" ON "UsrGroup"
\r
6760 AREA "Schema Area"
\r
6763 INDEX-FIELD "GroupName" ASCENDING
\r
6765 ADD INDEX "XAK1UsrGroup" ON "UsrGroup"
\r
6766 AREA "Schema Area"
\r
6767 INDEX-FIELD "Sequence" ASCENDING
\r
6769 ADD TABLE "ProgramLink"
\r
6770 AREA "Schema Area"
\r
6771 DUMP-NAME "programl"
\r
6772 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRPRGLNK.P" CRC "?"
\r
6773 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "DEPRGLNK.P" CRC "?"
\r
6774 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "WRPRGLNK.P" CRC "?"
\r
6776 ADD FIELD "LinkType" OF "ProgramLink" AS character
\r
6786 ADD FIELD "Description" OF "ProgramLink" AS character
\r
6795 ADD FIELD "Source" OF "ProgramLink" AS integer
\r
6803 ADD FIELD "Target" OF "ProgramLink" AS integer
\r
6811 ADD FIELD "Viewer" OF "ProgramLink" AS character
\r
6819 ADD FIELD "Function" OF "ProgramLink" AS character
\r
6827 ADD FIELD "CreateViewer" OF "ProgramLink" AS logical
\r
6834 ADD FIELD "ButtonLabel" OF "ProgramLink" AS character
\r
6842 ADD FIELD "FillName" OF "ProgramLink" AS character
\r
6850 ADD FIELD "CodeName" OF "ProgramLink" AS character
\r
6858 ADD FIELD "LinkCode" OF "ProgramLink" AS integer
\r
6865 ADD FIELD "SortPanel" OF "ProgramLink" AS logical
\r
6870 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
6873 ADD FIELD "FilterPanel" OF "ProgramLink" AS logical
\r
6878 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
6881 ADD INDEX "XPKLinkCode" ON "ProgramLink"
\r
6882 AREA "Schema Area"
\r
6885 INDEX-FIELD "LinkCode" ASCENDING
\r
6887 ADD INDEX "XAK1ProgramLinkSrc" ON "ProgramLink"
\r
6888 AREA "Schema Area"
\r
6889 INDEX-FIELD "Source" ASCENDING
\r
6890 INDEX-FIELD "Description" ASCENDING
\r
6892 ADD INDEX "XAK2ProgramLinkTgt" ON "ProgramLink"
\r
6893 AREA "Schema Area"
\r
6894 INDEX-FIELD "Target" ASCENDING
\r
6895 INDEX-FIELD "Description" ASCENDING
\r
6897 ADD TABLE "UsrGroupMember"
\r
6898 AREA "Schema Area"
\r
6899 DUMP-NAME "usrgrpmm"
\r
6900 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRUSGMEM.P" CRC "?"
\r
6901 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "DEUSGMEM.P" CRC "?"
\r
6902 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "WRUSGMEM.P" CRC "?"
\r
6904 ADD FIELD "UserName" OF "UsrGroupMember" AS character
\r
6910 COLUMN-LABEL "User"
\r
6915 ADD FIELD "GroupName" OF "UsrGroupMember" AS character
\r
6918 LABEL "Group Name"
\r
6921 COLUMN-LABEL "Group"
\r
6926 ADD INDEX "XPKUserGroup" ON "UsrGroupMember"
\r
6927 AREA "Schema Area"
\r
6930 INDEX-FIELD "UserName" ASCENDING
\r
6931 INDEX-FIELD "GroupName" ASCENDING
\r
6933 ADD INDEX "XAK1GroupUser" ON "UsrGroupMember"
\r
6934 AREA "Schema Area"
\r
6936 INDEX-FIELD "GroupName" ASCENDING
\r
6937 INDEX-FIELD "UserName" ASCENDING
\r
6939 ADD TABLE "UsrGroupMenuItem"
\r
6940 AREA "Schema Area"
\r
6941 DUMP-NAME "usrgrpmi"
\r
6942 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRUSGMNI.P" CRC "?"
\r
6943 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "DEUSGMNI.P" CRC "?"
\r
6944 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "WRUSGMNI.P" CRC "?"
\r
6946 ADD FIELD "LinkCode" OF "UsrGroupMenuItem" AS integer
\r
6953 ADD FIELD "GroupName" OF "UsrGroupMenuItem" AS character
\r
6956 LABEL "Group Name"
\r
6959 COLUMN-LABEL "Group"
\r
6964 ADD FIELD "SequenceCode" OF "UsrGroupMenuItem" AS integer
\r
6971 ADD FIELD "ButtonLabel" OF "UsrGroupMenuItem" AS character
\r
6972 DESCRIPTION "If this button is non null then it will be used in place of the default label"
\r
6980 ADD FIELD "MenuName" OF "UsrGroupMenuItem" AS character
\r
6989 ADD INDEX "XPKGroupMenu" ON "UsrGroupMenuItem"
\r
6990 AREA "Schema Area"
\r
6992 INDEX-FIELD "GroupName" ASCENDING
\r
6993 INDEX-FIELD "MenuName" ASCENDING
\r
6994 INDEX-FIELD "SequenceCode" ASCENDING
\r
6996 ADD INDEX "XAK1LinkCode" ON "UsrGroupMenuItem"
\r
6997 AREA "Schema Area"
\r
6998 INDEX-FIELD "LinkCode" ASCENDING
\r
7000 ADD TABLE "LinkNode"
\r
7001 AREA "Schema Area"
\r
7002 DUMP-NAME "linknode"
\r
7003 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRLNKNDE.P" CRC "?"
\r
7004 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "DELNKNDE.P" CRC "?"
\r
7005 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "WRLNKNDE.P" CRC "?"
\r
7007 ADD FIELD "NodeCode" OF "LinkNode" AS integer
\r
7015 ADD FIELD "NodeType" OF "LinkNode" AS character
\r
7016 DESCRIPTION "The type of the system window i.e Menu, Drill, Maintain etc
\r
7026 ADD FIELD "Description" OF "LinkNode" AS character
\r
7034 ADD FIELD "Path" OF "LinkNode" AS character
\r
7043 ADD FIELD "File" OF "LinkNode" AS character
\r
7052 ADD FIELD "RunFile" OF "LinkNode" AS character
\r
7060 ADD INDEX "XPKNodeCode" ON "LinkNode"
\r
7061 AREA "Schema Area"
\r
7064 INDEX-FIELD "NodeCode" ASCENDING
\r
7066 ADD INDEX "XAK1NodeType" ON "LinkNode"
\r
7067 AREA "Schema Area"
\r
7069 INDEX-FIELD "NodeType" ASCENDING
\r
7070 INDEX-FIELD "Description" ASCENDING
\r
7072 ADD INDEX "XAK2File" ON "LinkNode"
\r
7073 AREA "Schema Area"
\r
7075 INDEX-FIELD "File" ASCENDING
\r
7077 ADD INDEX "XAK2NodeType" ON "LinkNode"
\r
7078 AREA "Schema Area"
\r
7079 INDEX-FIELD "NodeType" ASCENDING
\r
7081 ADD TABLE "OutgoingDescription"
\r
7082 AREA "Schema Area"
\r
7083 DUMP-NAME "outgodes"
\r
7085 ADD FIELD "Percentage" OF "OutgoingDescription" AS decimal
\r
7091 HELP "Percentage of this outgoing"
\r
7096 ADD FIELD "TenancyLeaseCode" OF "OutgoingDescription" AS integer
\r
7097 DESCRIPTION "A code used to refer to this tenancy lease"
\r
7106 ADD FIELD "Description" OF "OutgoingDescription" AS character
\r
7109 LABEL "Description"
\r
7116 ADD INDEX "XPKOutgoingDescriptions" ON "OutgoingDescription"
\r
7117 AREA "Schema Area"
\r
7119 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
7121 ADD TABLE "AccountSummary"
\r
7122 AREA "Schema Area"
\r
7123 DUMP-NAME "accounts"
\r
7125 ADD FIELD "EntityType" OF "AccountSummary" AS character
\r
7126 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
7129 LABEL "Entity type"
\r
7133 COLUMN-LABEL-SA "C"
\r
7138 ADD FIELD "EntityCode" OF "AccountSummary" AS integer
\r
7144 COLUMN-LABEL-SA "C"
\r
7148 ADD FIELD "AccountCode" OF "AccountSummary" AS decimal
\r
7149 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
7159 ADD FIELD "Balance" OF "AccountSummary" AS decimal
\r
7160 DESCRIPTION "The sum of the months transactions against this creditor ledger account."
\r
7161 FORMAT "->>,>>>,>>>,>>9.99"
\r
7168 ADD FIELD "Budget" OF "AccountSummary" AS decimal
\r
7169 FORMAT "->>,>>>,>>>,>>9.99"
\r
7176 ADD FIELD "RevisedBudget" OF "AccountSummary" AS decimal
\r
7177 FORMAT "->>,>>>,>>>,>>9.99"
\r
7185 ADD FIELD "NoteCode" OF "AccountSummary" AS integer
\r
7186 DESCRIPTION "A unique code identifying this note."
\r
7193 ADD INDEX "XPKAccountSummary" ON "AccountSummary"
\r
7194 AREA "Schema Area"
\r
7197 INDEX-FIELD "EntityType" ASCENDING
\r
7198 INDEX-FIELD "EntityCode" ASCENDING
\r
7199 INDEX-FIELD "AccountCode" ASCENDING
\r
7201 ADD INDEX "XAK1AccountCode" ON "AccountSummary"
\r
7202 AREA "Schema Area"
\r
7203 INDEX-FIELD "AccountCode" ASCENDING
\r
7205 ADD TABLE "Voucher"
\r
7206 AREA "Schema Area"
\r
7208 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
7209 DUMP-NAME "voucher"
\r
7210 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crvouchr.p" CRC "?"
\r
7211 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrvouchr.p" CRC "?"
\r
7213 ADD FIELD "CreditorCode" OF "Voucher" AS integer
\r
7214 DESCRIPTION "The code of the Creditor that this Voucher applies to."
\r
7221 ADD FIELD "Date" OF "Voucher" AS date
\r
7222 DESCRIPTION "The date applying to the voucher."
\r
7223 FORMAT "99/99/9999"
\r
7229 ADD FIELD "InvoiceReference" OF "Voucher" AS character
\r
7230 DESCRIPTION "Reference to the invoice that the voucher applies to.
\r
7239 ADD FIELD "OurOrderNo" OF "Voucher" AS character
\r
7240 DESCRIPTION "Internal order number for this voucher.
\r
7249 ADD FIELD "CapExCode" OF "Voucher" AS integer
\r
7250 DESCRIPTION "Code for the Capital Expenditure that this voucher applies to."
\r
7257 ADD FIELD "ApproverCode" OF "Voucher" AS character
\r
7258 DESCRIPTION "The short alpha code for the person who approved the voucher."
\r
7267 ADD FIELD "GoodsValue" OF "Voucher" AS decimal
\r
7268 DESCRIPTION "Value of the goods for this voucher."
\r
7269 FORMAT "->,>>>,>>9.99"
\r
7276 ADD FIELD "TaxValue" OF "Voucher" AS decimal
\r
7277 DESCRIPTION "Tax value for the goods of this voucher."
\r
7278 FORMAT "->>>,>>9.99"
\r
7285 ADD FIELD "Description" OF "Voucher" AS character
\r
7286 DESCRIPTION "Description of the voucher."
\r
7294 ADD FIELD "BatchCode" OF "Voucher" AS integer
\r
7301 ADD FIELD "DocumentCode" OF "Voucher" AS integer
\r
7302 DESCRIPTION "The code of the document that this voucher applies to."
\r
7309 ADD FIELD "BankAccountCode" OF "Voucher" AS character
\r
7319 ADD FIELD "DateDue" OF "Voucher" AS date
\r
7320 DESCRIPTION "Due Date for voucher resolution."
\r
7321 FORMAT "99/99/9999"
\r
7327 ADD FIELD "VoucherSeq" OF "Voucher" AS integer
\r
7328 DESCRIPTION "Unique sequence number for this voucher."
\r
7335 ADD FIELD "AccountCode" OF "Voucher" AS decimal
\r
7336 DESCRIPTION "The code of the account that this voucher applies to.
\r
7345 ADD FIELD "VoucherStatus" OF "Voucher" AS character
\r
7346 DESCRIPTION "The code for the voucher status that this voucher applies to.
\r
7355 ADD FIELD "EntityType" OF "Voucher" AS character
\r
7356 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
7359 LABEL "Entity type"
\r
7363 COLUMN-LABEL-SA "C"
\r
7367 ADD FIELD "EntityCode" OF "Voucher" AS integer
\r
7373 COLUMN-LABEL-SA "C"
\r
7376 ADD FIELD "LastModifiedDate" OF "Voucher" AS date
\r
7377 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
7378 FORMAT "99/99/9999"
\r
7379 INITIAL "1/1/0001"
\r
7385 ADD FIELD "LastModifiedTime" OF "Voucher" AS integer
\r
7386 DESCRIPTION "The time that this record was last modified"
\r
7387 FORMAT "->,>>>,>>9"
\r
7393 ADD FIELD "LastModifiedUser" OF "Voucher" AS character
\r
7394 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
7402 ADD FIELD "ChequeNo" OF "Voucher" AS integer
\r
7403 DESCRIPTION "Number identifying the cheque."
\r
7411 ADD FIELD "SecondApprover" OF "Voucher" AS character
\r
7412 DESCRIPTION "The short alpha code for the person who approved the voucher."
\r
7415 LABEL "Second Approval"
\r
7421 ADD FIELD "OrderCode" OF "Voucher" AS integer
\r
7428 ADD FIELD "ProjectCode" OF "Voucher" AS integer
\r
7435 ADD FIELD "CreatedDate" OF "Voucher" AS date
\r
7436 FORMAT "99/99/9999"
\r
7443 ADD FIELD "PaymentStyle" OF "Voucher" AS character
\r
7451 ADD FIELD "InvoicePeriod" OF "Voucher" AS character
\r
7457 COLUMN-LABEL "Invoice Period"
\r
7460 ADD INDEX "VoucherSeq" ON "Voucher"
\r
7461 AREA "Schema Area"
\r
7464 INDEX-FIELD "VoucherSeq" ASCENDING
\r
7466 ADD INDEX "XAK10Vouchers" ON "Voucher"
\r
7467 AREA "Schema Area"
\r
7468 INDEX-FIELD "CreditorCode" ASCENDING
\r
7469 INDEX-FIELD "VoucherStatus" ASCENDING
\r
7470 INDEX-FIELD "DateDue" ASCENDING
\r
7472 ADD INDEX "XAK11Vouchers" ON "Voucher"
\r
7473 AREA "Schema Area"
\r
7474 INDEX-FIELD "BankAccountCode" ASCENDING
\r
7475 INDEX-FIELD "ChequeNo" ASCENDING
\r
7477 ADD INDEX "XAK12Vouchers" ON "Voucher"
\r
7478 AREA "Schema Area"
\r
7479 INDEX-FIELD "ProjectCode" ASCENDING
\r
7480 INDEX-FIELD "OrderCode" ASCENDING
\r
7482 ADD INDEX "XAK13Vouchers" ON "Voucher"
\r
7483 AREA "Schema Area"
\r
7484 INDEX-FIELD "ApproverCode" ASCENDING
\r
7485 INDEX-FIELD "VoucherStatus" ASCENDING
\r
7486 INDEX-FIELD "Date" ASCENDING
\r
7488 ADD INDEX "XAK2Vouchers" ON "Voucher"
\r
7489 AREA "Schema Area"
\r
7490 INDEX-FIELD "EntityType" ASCENDING
\r
7491 INDEX-FIELD "EntityCode" ASCENDING
\r
7492 INDEX-FIELD "VoucherSeq" ASCENDING
\r
7494 ADD INDEX "XAK3Vouchers" ON "Voucher"
\r
7495 AREA "Schema Area"
\r
7496 INDEX-FIELD "CreditorCode" ASCENDING
\r
7497 INDEX-FIELD "VoucherSeq" ASCENDING
\r
7499 ADD INDEX "XAK4Vouchers" ON "Voucher"
\r
7500 AREA "Schema Area"
\r
7501 INDEX-FIELD "ApproverCode" ASCENDING
\r
7502 INDEX-FIELD "VoucherSeq" DESCENDING
\r
7504 ADD INDEX "XAK5Vouchers" ON "Voucher"
\r
7505 AREA "Schema Area"
\r
7506 INDEX-FIELD "VoucherStatus" ASCENDING
\r
7507 INDEX-FIELD "VoucherSeq" ASCENDING
\r
7509 ADD INDEX "XAK6Vouchers" ON "Voucher"
\r
7510 AREA "Schema Area"
\r
7511 INDEX-FIELD "EntityType" ASCENDING
\r
7512 INDEX-FIELD "EntityCode" ASCENDING
\r
7513 INDEX-FIELD "AccountCode" ASCENDING
\r
7515 ADD INDEX "XAK7Vouchers" ON "Voucher"
\r
7516 AREA "Schema Area"
\r
7517 INDEX-FIELD "VoucherStatus" ASCENDING
\r
7518 INDEX-FIELD "EntityType" ASCENDING
\r
7519 INDEX-FIELD "EntityCode" ASCENDING
\r
7520 INDEX-FIELD "AccountCode" ASCENDING
\r
7522 ADD INDEX "XAK8Vouchers" ON "Voucher"
\r
7523 AREA "Schema Area"
\r
7524 INDEX-FIELD "Date" DESCENDING
\r
7526 ADD INDEX "XAK9Vouchers" ON "Voucher"
\r
7527 AREA "Schema Area"
\r
7528 INDEX-FIELD "VoucherStatus" DESCENDING
\r
7529 INDEX-FIELD "Date" DESCENDING
\r
7531 ADD TABLE "ShareHolder"
\r
7532 AREA "Schema Area"
\r
7533 DUMP-NAME "sharehol"
\r
7534 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deshrhld.p" CRC "?"
\r
7536 ADD FIELD "CompanyCode" OF "ShareHolder" AS integer
\r
7537 DESCRIPTION "The code of the company that this person is a shareholder of."
\r
7545 ADD FIELD "PersonCode" OF "ShareHolder" AS integer
\r
7546 DESCRIPTION "The person that is a shareholder of this company"
\r
7555 ADD FIELD "NoteCode" OF "ShareHolder" AS integer
\r
7556 DESCRIPTION "Any notes about the shareholder."
\r
7563 ADD FIELD "HolderCompany" OF "ShareHolder" AS integer
\r
7571 ADD FIELD "SharesHeld" OF "ShareHolder" AS integer
\r
7572 FORMAT ">,>>>,>>>,>>9"
\r
7578 ADD INDEX "XPKShareHolders" ON "ShareHolder"
\r
7579 AREA "Schema Area"
\r
7582 INDEX-FIELD "CompanyCode" ASCENDING
\r
7583 INDEX-FIELD "PersonCode" ASCENDING
\r
7584 INDEX-FIELD "HolderCompany" ASCENDING
\r
7586 ADD TABLE "InvoiceStatus"
\r
7587 AREA "Schema Area"
\r
7588 DUMP-NAME "invoices"
\r
7590 ADD FIELD "InvoiceStatus" OF "InvoiceStatus" AS character
\r
7600 ADD FIELD "Description" OF "InvoiceStatus" AS character
\r
7609 ADD INDEX "XPKInvoiceStatus" ON "InvoiceStatus"
\r
7610 AREA "Schema Area"
\r
7613 INDEX-FIELD "InvoiceStatus" ASCENDING
\r
7615 ADD TABLE "BuildingType"
\r
7616 AREA "Schema Area"
\r
7617 DUMP-NAME "bldtype"
\r
7619 ADD FIELD "BuildingType" OF "BuildingType" AS character
\r
7628 ADD FIELD "Description" OF "BuildingType" AS character
\r
7637 ADD INDEX "XPKBuildingType" ON "BuildingType"
\r
7638 AREA "Schema Area"
\r
7641 INDEX-FIELD "BuildingType" ASCENDING
\r
7644 AREA "Schema Area"
\r
7645 DUMP-NAME "reptparm"
\r
7647 ADD FIELD "ReportID" OF "RP" AS character
\r
7656 ADD FIELD "UserName" OF "RP" AS character
\r
7662 COLUMN-LABEL "User"
\r
7667 ADD FIELD "Char1" OF "RP" AS character
\r
7675 ADD FIELD "Char2" OF "RP" AS character
\r
7683 ADD FIELD "Char3" OF "RP" AS character
\r
7691 ADD FIELD "Char4" OF "RP" AS character
\r
7699 ADD FIELD "Char5" OF "RP" AS character
\r
7707 ADD FIELD "Char6" OF "RP" AS character
\r
7715 ADD FIELD "Int1" OF "RP" AS integer
\r
7716 FORMAT "->,>>>,>>9"
\r
7722 ADD FIELD "Int2" OF "RP" AS integer
\r
7723 FORMAT "->,>>>,>>9"
\r
7729 ADD FIELD "Int3" OF "RP" AS integer
\r
7730 FORMAT "->,>>>,>>9"
\r
7736 ADD FIELD "Int4" OF "RP" AS integer
\r
7737 FORMAT "->,>>>,>>9"
\r
7743 ADD FIELD "Int5" OF "RP" AS integer
\r
7744 FORMAT "->,>>>,>>9"
\r
7750 ADD FIELD "Int6" OF "RP" AS integer
\r
7751 FORMAT "->,>>>,>>9"
\r
7757 ADD FIELD "Int7" OF "RP" AS integer
\r
7758 FORMAT "->,>>>,>>9"
\r
7764 ADD FIELD "Int8" OF "RP" AS integer
\r
7765 FORMAT "->,>>>,>>9"
\r
7771 ADD FIELD "Date1" OF "RP" AS date
\r
7772 FORMAT "99/99/9999"
\r
7778 ADD FIELD "Date2" OF "RP" AS date
\r
7779 FORMAT "99/99/9999"
\r
7785 ADD FIELD "Date3" OF "RP" AS date
\r
7786 FORMAT "99/99/9999"
\r
7792 ADD FIELD "Date4" OF "RP" AS date
\r
7793 FORMAT "99/99/9999"
\r
7799 ADD FIELD "Dec1" OF "RP" AS decimal
\r
7800 FORMAT "->>,>>9.99"
\r
7807 ADD FIELD "Dec2" OF "RP" AS decimal
\r
7808 FORMAT "->>,>>9.99"
\r
7815 ADD FIELD "Dec3" OF "RP" AS decimal
\r
7816 FORMAT "->>,>>9.99"
\r
7823 ADD FIELD "Dec4" OF "RP" AS decimal
\r
7824 FORMAT "->>,>>9.99"
\r
7831 ADD FIELD "Dec5" OF "RP" AS decimal
\r
7832 FORMAT "->>,>>9.99"
\r
7839 ADD FIELD "Dec6" OF "RP" AS decimal
\r
7840 FORMAT "->>,>>9.99"
\r
7847 ADD FIELD "Log1" OF "RP" AS logical
\r
7852 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7855 ADD FIELD "Log2" OF "RP" AS logical
\r
7860 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7863 ADD FIELD "Log3" OF "RP" AS logical
\r
7868 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7871 ADD FIELD "Log4" OF "RP" AS logical
\r
7876 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7879 ADD FIELD "Log5" OF "RP" AS logical
\r
7884 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7887 ADD FIELD "Log6" OF "RP" AS logical
\r
7892 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7895 ADD FIELD "Log7" OF "RP" AS logical
\r
7900 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7903 ADD FIELD "Log8" OF "RP" AS logical
\r
7908 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7911 ADD FIELD "Log9" OF "RP" AS logical
\r
7916 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
7919 ADD INDEX "XAKReportParameters" ON "RP"
\r
7920 AREA "Schema Area"
\r
7923 INDEX-FIELD "ReportID" ASCENDING
\r
7924 INDEX-FIELD "UserName" ASCENDING
\r
7926 ADD TABLE "PropertyOutgoing"
\r
7927 AREA "Schema Area"
\r
7928 DUMP-NAME "propoutg"
\r
7930 ADD FIELD "PropertyCode" OF "PropertyOutgoing" AS integer
\r
7931 DESCRIPTION "The code used to refer to a property outgoing"
\r
7940 ADD FIELD "AccountCode" OF "PropertyOutgoing" AS decimal
\r
7941 DESCRIPTION "The account, from the chart of accounts, that this outgoings charge accrues to."
\r
7950 ADD FIELD "BudgetAmount" OF "PropertyOutgoing" AS decimal
\r
7951 DESCRIPTION "If applicable, an annual total of the property's fixed charges for this account."
\r
7952 FORMAT "->>,>>>,>>9.99"
\r
7959 ADD INDEX "XPKPropertyOutgoing" ON "PropertyOutgoing"
\r
7960 AREA "Schema Area"
\r
7963 INDEX-FIELD "PropertyCode" ASCENDING
\r
7964 INDEX-FIELD "AccountCode" ASCENDING
\r
7966 ADD TABLE "UsrGroupMenu"
\r
7967 AREA "Schema Area"
\r
7968 DUMP-NAME "usrgrpmn"
\r
7969 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "CRUSGMNU.P" CRC "?"
\r
7970 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "DEUSGMNU.P" CRC "?"
\r
7971 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "WRUSGMNU.P" CRC "?"
\r
7973 ADD FIELD "GroupName" OF "UsrGroupMenu" AS character
\r
7976 LABEL "Group Name"
\r
7979 COLUMN-LABEL "Group"
\r
7984 ADD FIELD "Autostart" OF "UsrGroupMenu" AS logical
\r
7993 ADD FIELD "MenuName" OF "UsrGroupMenu" AS character
\r
7995 INITIAL "User Menu"
\r
8002 ADD FIELD "NodeCode" OF "UsrGroupMenu" AS integer
\r
8010 ADD INDEX "XPKUsrGroupMenu" ON "UsrGroupMenu"
\r
8011 AREA "Schema Area"
\r
8014 INDEX-FIELD "GroupName" ASCENDING
\r
8015 INDEX-FIELD "NodeCode" ASCENDING
\r
8017 ADD INDEX "XAK1UsrGroup" ON "UsrGroupMenu"
\r
8018 AREA "Schema Area"
\r
8020 INDEX-FIELD "GroupName" ASCENDING
\r
8021 INDEX-FIELD "MenuName" ASCENDING
\r
8023 ADD TABLE "SupplyMeter"
\r
8024 AREA "Schema Area"
\r
8025 LABEL "Supply Meter"
\r
8026 DUMP-NAME "supplyme"
\r
8028 ADD FIELD "OldMeterCode" OF "SupplyMeter" AS integer
\r
8037 ADD FIELD "Description" OF "SupplyMeter" AS character
\r
8046 ADD FIELD "PropertyCode" OF "SupplyMeter" AS integer
\r
8052 COLUMN-LABEL-SA "C"
\r
8055 ADD FIELD "EntityType" OF "SupplyMeter" AS character
\r
8056 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
8059 LABEL "Entity type"
\r
8063 COLUMN-LABEL-SA "C"
\r
8066 ADD FIELD "EntityCode" OF "SupplyMeter" AS integer
\r
8072 COLUMN-LABEL-SA "C"
\r
8075 ADD FIELD "AccountCode" OF "SupplyMeter" AS decimal
\r
8076 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
8085 ADD FIELD "ElectricityUnitRate" OF "SupplyMeter" AS decimal
\r
8086 FORMAT ">>>,>>>9.9999"
\r
8088 LABEL "Electricity Rate"
\r
8094 ADD FIELD "Multiplier" OF "SupplyMeter" AS decimal
\r
8095 FORMAT "->>>,>>9.9999"
\r
8099 HELP "The amount to multiply readings by to get units"
\r
8103 ADD FIELD "Level" OF "SupplyMeter" AS integer
\r
8108 HELP "The level within the building which the meter is located on"
\r
8111 ADD FIELD "SupplyType" OF "SupplyMeter" AS character
\r
8116 HELP "The type of supply metered"
\r
8119 ADD FIELD "MeterCode" OF "SupplyMeter" AS character
\r
8126 ADD INDEX "XPKSupplyMeter" ON "SupplyMeter"
\r
8127 AREA "Schema Area"
\r
8130 INDEX-FIELD "PropertyCode" ASCENDING
\r
8131 INDEX-FIELD "MeterCode" ASCENDING
\r
8133 ADD TABLE "ConsolidationList"
\r
8134 AREA "Schema Area"
\r
8135 DUMP-NAME "con-list"
\r
8137 ADD FIELD "Name" OF "ConsolidationList" AS character
\r
8146 ADD FIELD "Description" OF "ConsolidationList" AS character
\r
8149 LABEL "Description"
\r
8155 ADD FIELD "CompanyList" OF "ConsolidationList" AS character
\r
8161 HELP "Comma separated list of company codes"
\r
8165 ADD INDEX "XPKConsolidationList" ON "ConsolidationList"
\r
8166 AREA "Schema Area"
\r
8169 INDEX-FIELD "Name" ASCENDING
\r
8171 ADD TABLE "ClosingGroup"
\r
8172 AREA "Schema Area"
\r
8173 DUMP-NAME "closingg"
\r
8175 ADD FIELD "EntityType" OF "ClosingGroup" AS character
\r
8176 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
8179 LABEL "Entity type"
\r
8183 COLUMN-LABEL-SA "C"
\r
8188 ADD FIELD "EntityCode" OF "ClosingGroup" AS integer
\r
8194 COLUMN-LABEL-SA "C"
\r
8198 ADD FIELD "AccountCode" OF "ClosingGroup" AS decimal
\r
8199 DESCRIPTION "The code of the account."
\r
8209 ADD FIELD "ClosingGroup" OF "ClosingGroup" AS integer
\r
8210 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
8211 FORMAT ">>>,>>>,>>9"
\r
8215 HELP "System maintained."
\r
8218 ADD FIELD "DateClosed" OF "ClosingGroup" AS date
\r
8219 DESCRIPTION "The date on which the group of transactions to which this record applies were closed."
\r
8220 FORMAT "99/99/9999"
\r
8226 ADD FIELD "ClosedStatus" OF "ClosingGroup" AS character
\r
8233 HELP "F=Full, P=Partial"
\r
8236 ADD FIELD "Description" OF "ClosingGroup" AS character
\r
8237 DESCRIPTION "The description of the outstanding amount for partially closed groups"
\r
8240 LABEL "Description"
\r
8245 ADD INDEX "XPKClosingGroup" ON "ClosingGroup"
\r
8246 AREA "Schema Area"
\r
8249 INDEX-FIELD "EntityType" ASCENDING
\r
8250 INDEX-FIELD "EntityCode" ASCENDING
\r
8251 INDEX-FIELD "AccountCode" ASCENDING
\r
8252 INDEX-FIELD "ClosingGroup" ASCENDING
\r
8254 ADD INDEX "XAK1ClosingGroup" ON "ClosingGroup"
\r
8255 AREA "Schema Area"
\r
8256 INDEX-FIELD "EntityType" ASCENDING
\r
8257 INDEX-FIELD "EntityCode" ASCENDING
\r
8258 INDEX-FIELD "AccountCode" ASCENDING
\r
8259 INDEX-FIELD "ClosedStatus" ASCENDING
\r
8261 ADD TABLE "SubLease"
\r
8262 AREA "Schema Area"
\r
8263 DUMP-NAME "sublease"
\r
8265 ADD FIELD "TenancyLeaseCode" OF "SubLease" AS integer
\r
8266 DESCRIPTION "A code used to refer to this tenancy lease"
\r
8274 ADD FIELD "SubLeaseCode" OF "SubLease" AS integer
\r
8281 ADD FIELD "LeaseStartDate" OF "SubLease" AS date
\r
8282 DESCRIPTION "The date that the lease commenced (which could be in the future)."
\r
8283 FORMAT "99/99/9999"
\r
8285 LABEL "Lease start"
\r
8290 ADD FIELD "LeaseEndDate" OF "SubLease" AS date
\r
8291 DESCRIPTION "The date on which the lease ends."
\r
8292 FORMAT "99/99/9999"
\r
8299 ADD FIELD "PersonCode" OF "SubLease" AS integer
\r
8300 DESCRIPTION "A code used to refer to this person."
\r
8303 LABEL "Person code"
\r
8306 COLUMN-LABEL "Person"
\r
8310 ADD FIELD "Details" OF "SubLease" AS character
\r
8315 VIEW-AS "VIEW-AS EDITOR INNER-CHARS 51 INNER-LINES 4 SCROLLBAR-VERTICAL"
\r
8319 ADD FIELD "Name" OF "SubLease" AS character
\r
8327 ADD FIELD "AnnualRental" OF "SubLease" AS decimal
\r
8328 FORMAT "->>,>>>,>>9.99"
\r
8330 LABEL "Annual rental"
\r
8336 ADD FIELD "Location" OF "SubLease" AS character
\r
8341 HELP "Location description"
\r
8344 ADD FIELD "AreaSize" OF "SubLease" AS decimal
\r
8345 FORMAT "->,>>>,>>9.99"
\r
8350 HELP "The area (Sq.M) of the space subleased"
\r
8354 ADD FIELD "NoteCode" OF "SubLease" AS integer
\r
8355 DESCRIPTION "A unique code identifying this note."
\r
8362 ADD INDEX "XPKSubLeases" ON "SubLease"
\r
8363 AREA "Schema Area"
\r
8366 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
8367 INDEX-FIELD "SubLeaseCode" ASCENDING
\r
8369 ADD TABLE "Region"
\r
8370 AREA "Schema Area"
\r
8371 DUMP-NAME "region"
\r
8373 ADD FIELD "Region" OF "Region" AS character
\r
8381 ADD FIELD "Name" OF "Region" AS character
\r
8389 ADD INDEX "XPKRegion" ON "Region"
\r
8390 AREA "Schema Area"
\r
8393 INDEX-FIELD "Region" ASCENDING ABBREVIATED
\r
8395 ADD TABLE "VoucherLine"
\r
8396 AREA "Schema Area"
\r
8397 DUMP-NAME "vchrline"
\r
8398 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "devchlne.p" CRC "?"
\r
8399 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrvchlne.p" CRC "?"
\r
8401 ADD FIELD "EntityType" OF "VoucherLine" AS character
\r
8402 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
8405 LABEL "Entity type"
\r
8409 COLUMN-LABEL-SA "C"
\r
8414 ADD FIELD "EntityCode" OF "VoucherLine" AS integer
\r
8420 COLUMN-LABEL-SA "C"
\r
8424 ADD FIELD "AccountCode" OF "VoucherLine" AS decimal
\r
8425 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
8435 ADD FIELD "Description" OF "VoucherLine" AS character
\r
8436 DESCRIPTION "A description of this transaction, overriding the description of the document."
\r
8441 HELP "A narrative which overrides the document narrative."
\r
8445 ADD FIELD "Amount" OF "VoucherLine" AS decimal
\r
8446 FORMAT "->>>,>>>,>>9.99"
\r
8450 COLUMN-LABEL-SA "C"
\r
8454 ADD FIELD "VoucherSeq" OF "VoucherLine" AS integer
\r
8455 DESCRIPTION "Unique sequence number for this voucher."
\r
8462 ADD FIELD "LineSeq" OF "VoucherLine" AS integer
\r
8463 FORMAT "->,>>>,>>9"
\r
8470 ADD FIELD "TaxAmount" OF "VoucherLine" AS decimal
\r
8471 DESCRIPTION "Tax value for this line of allocation for the voucher"
\r
8472 FORMAT "->>,>>>,>>9.99"
\r
8479 ADD INDEX "XPKVoucherLine" ON "VoucherLine"
\r
8480 AREA "Schema Area"
\r
8483 INDEX-FIELD "VoucherSeq" ASCENDING
\r
8484 INDEX-FIELD "LineSeq" ASCENDING
\r
8486 ADD INDEX "XAK1VoucherLines" ON "VoucherLine"
\r
8487 AREA "Schema Area"
\r
8488 INDEX-FIELD "VoucherSeq" ASCENDING
\r
8489 INDEX-FIELD "EntityCode" ASCENDING
\r
8490 INDEX-FIELD "AccountCode" ASCENDING
\r
8492 ADD TABLE "JournalDescription"
\r
8493 AREA "Schema Area"
\r
8494 DUMP-NAME "journald"
\r
8495 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "crjnldsc.p" CRC "?"
\r
8497 ADD FIELD "JournalCode" OF "JournalDescription" AS integer
\r
8505 ADD FIELD "BatchCode" OF "JournalDescription" AS integer
\r
8506 DESCRIPTION "The batch which this journal applies to."
\r
8512 COLUMN-LABEL "Batch"
\r
8515 ADD FIELD "DocumentCode" OF "JournalDescription" AS integer
\r
8516 DESCRIPTION "The document within the batch which this journal is a part of."
\r
8519 LABEL "Document No."
\r
8522 COLUMN-LABEL "Doc #"
\r
8525 ADD FIELD "Description" OF "JournalDescription" AS character
\r
8530 VIEW-AS "VIEW-AS EDITOR
\r
8531 SIZE-CHARS 80 by 5
\r
8532 SCROLLBAR-HORIZONTAL SCROLLBAR-VERTICAL
\r
8537 ADD INDEX "XPKJournalDescription" ON "JournalDescription"
\r
8538 AREA "Schema Area"
\r
8541 INDEX-FIELD "JournalCode" ASCENDING
\r
8543 ADD INDEX "XAK1JournalDescription" ON "JournalDescription"
\r
8544 AREA "Schema Area"
\r
8546 INDEX-FIELD "BatchCode" ASCENDING
\r
8547 INDEX-FIELD "DocumentCode" ASCENDING
\r
8549 ADD TABLE "PeriodicDetail"
\r
8550 AREA "Schema Area"
\r
8551 DUMP-NAME "periodic"
\r
8553 ADD FIELD "ReportID" OF "PeriodicDetail" AS character
\r
8554 DESCRIPTION "Identifies the report from which this piece of detail belongs."
\r
8562 ADD FIELD "EntityID" OF "PeriodicDetail" AS character
\r
8563 DESCRIPTION "Along with the ReportID, this field identifies the entity that this detail refers to."
\r
8571 ADD FIELD "DetailType" OF "PeriodicDetail" AS character
\r
8572 DESCRIPTION "Identifies the type of detail - ""D"" for data, ""C"" for Comment"
\r
8580 ADD FIELD "Date" OF "PeriodicDetail" AS date
\r
8581 DESCRIPTION "The date that the detail was generated/modified."
\r
8582 FORMAT "99/99/9999"
\r
8588 ADD FIELD "Data" OF "PeriodicDetail" AS character
\r
8589 DESCRIPTION "The actual detail"
\r
8597 ADD FIELD "BreakValue1" OF "PeriodicDetail" AS character
\r
8598 DESCRIPTION "This is used in the report output process to break items."
\r
8606 ADD FIELD "BreakValue2" OF "PeriodicDetail" AS character
\r
8607 DESCRIPTION "This is used in the report output process to break items."
\r
8615 ADD FIELD "BreakValue3" OF "PeriodicDetail" AS character
\r
8616 DESCRIPTION "This is used in the report output process to break items."
\r
8624 ADD INDEX "XPKPeriodicDetail" ON "PeriodicDetail"
\r
8625 AREA "Schema Area"
\r
8627 INDEX-FIELD "ReportID" ASCENDING
\r
8628 INDEX-FIELD "Date" ASCENDING
\r
8629 INDEX-FIELD "EntityID" ASCENDING
\r
8630 INDEX-FIELD "DetailType" ASCENDING
\r
8632 ADD INDEX "XAK1PeriodicDetail" ON "PeriodicDetail"
\r
8633 AREA "Schema Area"
\r
8634 INDEX-FIELD "ReportID" ASCENDING
\r
8635 INDEX-FIELD "Date" ASCENDING
\r
8636 INDEX-FIELD "DetailType" ASCENDING
\r
8637 INDEX-FIELD "BreakValue1" ASCENDING
\r
8639 ADD INDEX "XAK2PeriodicDetail" ON "PeriodicDetail"
\r
8640 AREA "Schema Area"
\r
8641 INDEX-FIELD "ReportID" ASCENDING
\r
8642 INDEX-FIELD "Date" ASCENDING
\r
8643 INDEX-FIELD "DetailType" ASCENDING
\r
8644 INDEX-FIELD "BreakValue2" ASCENDING
\r
8646 ADD INDEX "XAK3PeriodicDetail" ON "PeriodicDetail"
\r
8647 AREA "Schema Area"
\r
8648 INDEX-FIELD "ReportID" ASCENDING
\r
8649 INDEX-FIELD "Date" ASCENDING
\r
8650 INDEX-FIELD "DetailType" ASCENDING
\r
8651 INDEX-FIELD "BreakValue3" ASCENDING
\r
8653 ADD INDEX "XAK4PeriodicDetail" ON "PeriodicDetail"
\r
8654 AREA "Schema Area"
\r
8655 INDEX-FIELD "ReportID" ASCENDING
\r
8656 INDEX-FIELD "EntityID" ASCENDING
\r
8657 INDEX-FIELD "DetailType" ASCENDING
\r
8658 INDEX-FIELD "Date" ASCENDING
\r
8660 ADD TABLE "AuditTrail"
\r
8661 AREA "Schema Area"
\r
8663 TABLE-TRIGGER "CREATE" OVERRIDE PROCEDURE "craudit.p" CRC "?"
\r
8665 ADD FIELD "AuditRecordId" OF "AuditTrail" AS integer
\r
8666 FORMAT "->,>>>,>>9"
\r
8672 ADD FIELD "AuditOf" OF "AuditTrail" AS character
\r
8680 ADD FIELD "AuditEvent" OF "AuditTrail" AS character
\r
8688 ADD FIELD "OldValue" OF "AuditTrail" AS character
\r
8696 ADD FIELD "NewValue" OF "AuditTrail" AS character
\r
8704 ADD INDEX "XPKAudittrail" ON "AuditTrail"
\r
8705 AREA "Schema Area"
\r
8708 INDEX-FIELD "AuditRecordId" ASCENDING
\r
8710 ADD TABLE "OfficeSettings"
\r
8711 AREA "Schema Area"
\r
8712 DUMP-NAME "officset"
\r
8714 ADD FIELD "OfficeCode" OF "OfficeSettings" AS character
\r
8723 ADD FIELD "SetName" OF "OfficeSettings" AS character
\r
8731 ADD FIELD "SetValue" OF "OfficeSettings" AS character
\r
8739 ADD INDEX "XPKOfficeSettings" ON "OfficeSettings"
\r
8740 AREA "Schema Area"
\r
8743 INDEX-FIELD "OfficeCode" ASCENDING
\r
8744 INDEX-FIELD "SetName" ASCENDING
\r
8746 ADD TABLE "RentSpaceHistory"
\r
8747 AREA "Schema Area"
\r
8748 DUMP-NAME "rspchist"
\r
8750 ADD FIELD "PropertyCode" OF "RentSpaceHistory" AS integer
\r
8751 DESCRIPTION "The code used to refer to a property"
\r
8759 ADD FIELD "RentalSpaceCode" OF "RentSpaceHistory" AS integer
\r
8760 DESCRIPTION "A sequence number which identifies this rental space within the property."
\r
8763 LABEL "Rental space code"
\r
8766 COLUMN-LABEL "Space"
\r
8770 ADD FIELD "Description" OF "RentSpaceHistory" AS character
\r
8771 DESCRIPTION "A brief description of the space"
\r
8779 ADD FIELD "AreaStatus" OF "RentSpaceHistory" AS character
\r
8780 DESCRIPTION "The Status of the rental space, eg. Leased, Vacant"
\r
8790 ADD FIELD "AreaSize" OF "RentSpaceHistory" AS decimal
\r
8791 DESCRIPTION "The area of the rental space in square metres."
\r
8792 FORMAT "->>,>>9.99"
\r
8797 COLUMN-LABEL-SA "C"
\r
8801 ADD FIELD "ContractedRental" OF "RentSpaceHistory" AS decimal
\r
8802 DESCRIPTION "The annual rental which tenants have contracted to pay for this space."
\r
8803 FORMAT "->,>>>,>>9.99"
\r
8805 LABEL "Contract Rental"
\r
8811 ADD FIELD "ChargedRental" OF "RentSpaceHistory" AS decimal
\r
8812 FORMAT "->,>>>,>>9.99"
\r
8814 LABEL "Charged Rent"
\r
8820 ADD FIELD "MarketRental" OF "RentSpaceHistory" AS decimal
\r
8821 DESCRIPTION "The estimated market rental which the space is worth at current market rates."
\r
8822 FORMAT "->,>>>,>>9.99"
\r
8830 ADD FIELD "MarketRentalDate" OF "RentSpaceHistory" AS date
\r
8831 DESCRIPTION "The date at which the market rental was last estimated."
\r
8832 FORMAT "99/99/9999"
\r
8834 LABEL "Market rental date"
\r
8837 COLUMN-LABEL "Mkt date"
\r
8840 ADD FIELD "TenancyLeaseCode" OF "RentSpaceHistory" AS integer
\r
8841 DESCRIPTION "The code referring to the tenancy lease record applying to this rental space."
\r
8849 ADD FIELD "DateChanged" OF "RentSpaceHistory" AS date
\r
8850 FORMAT "99/99/9999"
\r
8856 ADD FIELD "VacationDate" OF "RentSpaceHistory" AS date
\r
8857 DESCRIPTION "The date that this rental space was vacated. This only applies
\r
8858 if AreaStatus = ""V""."
\r
8859 FORMAT "99/99/9999"
\r
8861 LABEL "Date Vacated"
\r
8864 COLUMN-LABEL "Vacated"
\r
8867 ADD FIELD "VacantCosts" OF "RentSpaceHistory" AS decimal
\r
8868 FORMAT "->,>>>,>>9.99"
\r
8875 ADD FIELD "OutgoingsPercentage" OF "RentSpaceHistory" AS decimal
\r
8878 LABEL "O/G Percent"
\r
8884 ADD INDEX "XPKRentalSpaceHistory" ON "RentSpaceHistory"
\r
8885 AREA "Schema Area"
\r
8888 INDEX-FIELD "PropertyCode" ASCENDING
\r
8889 INDEX-FIELD "RentalSpaceCode" ASCENDING
\r
8890 INDEX-FIELD "DateChanged" DESCENDING
\r
8892 ADD TABLE "UsrGroupRights"
\r
8893 AREA "Schema Area"
\r
8894 DUMP-NAME "ugrights"
\r
8896 ADD FIELD "GroupName" OF "UsrGroupRights" AS character
\r
8899 LABEL "Group Name"
\r
8902 COLUMN-LABEL "Group"
\r
8907 ADD FIELD "ApplicationCode" OF "UsrGroupRights" AS character
\r
8915 ADD FIELD "Action" OF "UsrGroupRights" AS character
\r
8923 ADD FIELD "Rights" OF "UsrGroupRights" AS logical
\r
8930 ADD INDEX "XPKUsrGroupRights" ON "UsrGroupRights"
\r
8931 AREA "Schema Area"
\r
8934 INDEX-FIELD "GroupName" ASCENDING
\r
8935 INDEX-FIELD "ApplicationCode" ASCENDING
\r
8936 INDEX-FIELD "Action" ASCENDING
\r
8939 AREA "Schema Area"
\r
8941 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deorder.p" CRC "?"
\r
8942 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrorder.p" CRC "?"
\r
8944 ADD FIELD "ProjectCode" OF "Order" AS integer
\r
8951 ADD FIELD "OrderCode" OF "Order" AS integer
\r
8958 ADD FIELD "AccountCode" OF "Order" AS decimal
\r
8959 DESCRIPTION "The code of the account."
\r
8969 ADD FIELD "CreditorCode" OF "Order" AS integer
\r
8970 DESCRIPTION "The code used to refer to a creditor."
\r
8978 ADD FIELD "ApprovedAmount" OF "Order" AS decimal
\r
8979 FORMAT "->>>,>>>,>>9.99"
\r
8986 ADD FIELD "OrderAmount" OF "Order" AS decimal
\r
8987 FORMAT "->>>,>>>,>>9.99"
\r
8994 ADD FIELD "TaxAmount" OF "Order" AS decimal
\r
8995 FORMAT "->>>,>>>,>>9.99"
\r
9002 ADD FIELD "FirstApprover" OF "Order" AS character
\r
9003 DESCRIPTION "The short alphanumeric code that identifies this approver."
\r
9012 ADD FIELD "SecondApprover" OF "Order" AS character
\r
9013 DESCRIPTION "The short alphanumeric code that identifies this approver."
\r
9022 ADD FIELD "QuotedAmount" OF "Order" AS decimal
\r
9023 FORMAT "->>>,>>>,>>9.99"
\r
9030 ADD FIELD "OrderDate" OF "Order" AS date
\r
9031 FORMAT "99/99/9999"
\r
9033 LABEL "Order Date"
\r
9038 ADD FIELD "Description" OF "Order" AS character
\r
9043 VIEW-AS "VIEW-AS EDITOR
\r
9044 SIZE-CHARS 80 by 60
\r
9045 SCROLLBAR-VERTICAL
\r
9049 ADD FIELD "EntityType" OF "Order" AS character
\r
9050 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
9053 LABEL "Entity type"
\r
9057 COLUMN-LABEL-SA "C"
\r
9060 ADD FIELD "EntityCode" OF "Order" AS integer
\r
9066 COLUMN-LABEL-SA "C"
\r
9069 ADD FIELD "OrderStatus" OF "Order" AS character
\r
9076 ADD FIELD "OverridePaid" OF "Order" AS decimal
\r
9077 FORMAT "->>,>>>,>>9.99"
\r
9085 ADD INDEX "XPKOrder" ON "Order"
\r
9086 AREA "Schema Area"
\r
9089 INDEX-FIELD "ProjectCode" ASCENDING
\r
9090 INDEX-FIELD "OrderCode" ASCENDING
\r
9092 ADD INDEX "XAK1Orders" ON "Order"
\r
9093 AREA "Schema Area"
\r
9094 INDEX-FIELD "ProjectCode" ASCENDING
\r
9095 INDEX-FIELD "AccountCode" ASCENDING
\r
9096 INDEX-FIELD "OrderCode" ASCENDING
\r
9098 ADD INDEX "XAK2Orders" ON "Order"
\r
9099 AREA "Schema Area"
\r
9100 INDEX-FIELD "EntityType" ASCENDING
\r
9101 INDEX-FIELD "EntityCode" ASCENDING
\r
9102 INDEX-FIELD "OrderCode" ASCENDING
\r
9104 ADD INDEX "XAK3Orders" ON "Order"
\r
9105 AREA "Schema Area"
\r
9106 INDEX-FIELD "EntityType" ASCENDING
\r
9107 INDEX-FIELD "EntityCode" ASCENDING
\r
9108 INDEX-FIELD "AccountCode" ASCENDING
\r
9109 INDEX-FIELD "OrderCode" ASCENDING
\r
9111 ADD INDEX "XAK4Orders" ON "Order"
\r
9112 AREA "Schema Area"
\r
9113 INDEX-FIELD "OrderStatus" ASCENDING
\r
9114 INDEX-FIELD "EntityType" ASCENDING
\r
9115 INDEX-FIELD "EntityCode" ASCENDING
\r
9116 INDEX-FIELD "OrderCode" ASCENDING
\r
9118 ADD TABLE "ProjectBudget"
\r
9119 AREA "Schema Area"
\r
9120 DUMP-NAME "projectb"
\r
9121 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrprjbdg.p" CRC "?"
\r
9123 ADD FIELD "ProjectCode" OF "ProjectBudget" AS integer
\r
9130 ADD FIELD "AccountCode" OF "ProjectBudget" AS decimal
\r
9131 DESCRIPTION "The code of the account."
\r
9141 ADD FIELD "OriginalBudget" OF "ProjectBudget" AS decimal
\r
9142 FORMAT ">>>,>>>,>>9.99"
\r
9149 ADD FIELD "CommittedBudget" OF "ProjectBudget" AS decimal
\r
9150 FORMAT ">>>,>>>,>>9.99"
\r
9157 ADD FIELD "Adjustment" OF "ProjectBudget" AS decimal
\r
9158 FORMAT "->>>,>>>,>>9.99"
\r
9165 ADD FIELD "AgreedVariation" OF "ProjectBudget" AS decimal
\r
9166 FORMAT ">>>,>>>,>>9.99"
\r
9173 ADD FIELD "EntityType" OF "ProjectBudget" AS character
\r
9176 LABEL "Entity type code"
\r
9183 ADD FIELD "EntityCode" OF "ProjectBudget" AS integer
\r
9189 COLUMN-LABEL-SA "C"
\r
9192 ADD FIELD "EntityAccount" OF "ProjectBudget" AS decimal
\r
9193 DESCRIPTION "The code of the account."
\r
9203 ADD FIELD "AdjustmentReviewed" OF "ProjectBudget" AS logical
\r
9206 LABEL "Adjustment Reviewed?"
\r
9209 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
9212 ADD FIELD "AdjustmentReviewDate" OF "ProjectBudget" AS date
\r
9213 FORMAT "99/99/9999"
\r
9219 ADD FIELD "Description" OF "ProjectBudget" AS character
\r
9226 ADD FIELD "UncommittedBudget" OF "ProjectBudget" AS decimal
\r
9227 FORMAT "->>>,>>>,>>9.99"
\r
9234 ADD FIELD "HighVolume" OF "ProjectBudget" AS logical
\r
9235 DESCRIPTION "Whether or not the account should show totals only by default on a transaction report."
\r
9238 LABEL "High volume"
\r
9241 COLUMN-LABEL "HiVol"
\r
9244 ADD FIELD "AllowPosting" OF "ProjectBudget" AS logical
\r
9245 DESCRIPTION "Whether or not users can post to this in transaction entry, or if posting must be done automatically through children."
\r
9253 ADD FIELD "ProjectExpenseCategory" OF "ProjectBudget" AS character
\r
9261 ADD INDEX "XPKProjectBudget" ON "ProjectBudget"
\r
9262 AREA "Schema Area"
\r
9265 INDEX-FIELD "ProjectCode" ASCENDING
\r
9266 INDEX-FIELD "AccountCode" ASCENDING
\r
9268 ADD TABLE "ConstructionDetails"
\r
9269 AREA "Schema Area"
\r
9270 DUMP-NAME "construc"
\r
9272 ADD FIELD "PropertyCode" OF "ConstructionDetails" AS integer
\r
9273 DESCRIPTION "The code used to refer to a property"
\r
9281 ADD FIELD "ConstructionDate" OF "ConstructionDetails" AS date
\r
9282 FORMAT "99/99/9999"
\r
9284 LABEL "Constructed"
\r
9289 ADD FIELD "Classification" OF "ConstructionDetails" AS character
\r
9296 ADD FIELD "IntendedLife" OF "ConstructionDetails" AS integer
\r
9297 FORMAT "->,>>>,>>9"
\r
9303 ADD FIELD "LocationText" OF "ConstructionDetails" AS character
\r
9310 ADD FIELD "DescriptionText" OF "ConstructionDetails" AS character
\r
9317 ADD FIELD "LegalText" OF "ConstructionDetails" AS character
\r
9324 ADD FIELD "ZoningText" OF "ConstructionDetails" AS character
\r
9331 ADD FIELD "TerritorialAuthority" OF "ConstructionDetails" AS character
\r
9338 ADD FIELD "UsageText" OF "ConstructionDetails" AS character
\r
9339 DESCRIPTION "The designed or actual usage of the building"
\r
9342 LABEL "Building Usage"
\r
9345 HELP "The designed or actual usage of the building"
\r
9348 ADD INDEX "XPKConstructionDetails" ON "ConstructionDetails"
\r
9349 AREA "Schema Area"
\r
9352 INDEX-FIELD "PropertyCode" ASCENDING
\r
9354 ADD TABLE "ScenarioParameter"
\r
9355 AREA "Schema Area"
\r
9356 DUMP-NAME "scenarip"
\r
9358 ADD FIELD "ScenarioCode" OF "ScenarioParameter" AS integer
\r
9359 DESCRIPTION "A code to identify the scenario."
\r
9366 ADD FIELD "ParameterID" OF "ScenarioParameter" AS character
\r
9367 DESCRIPTION "Identifies the parameter - for use by the programs which use it."
\r
9374 ADD FIELD "Data" OF "ScenarioParameter" AS character
\r
9375 DESCRIPTION "Parameter data values."
\r
9382 ADD INDEX "XPKScenarioParameter" ON "ScenarioParameter"
\r
9383 AREA "Schema Area"
\r
9386 INDEX-FIELD "ScenarioCode" ASCENDING
\r
9387 INDEX-FIELD "ParameterID" ASCENDING
\r
9389 ADD TABLE "LeaseHistory"
\r
9390 AREA "Schema Area"
\r
9391 DUMP-NAME "leasehis"
\r
9393 ADD FIELD "DateChanged" OF "LeaseHistory" AS date
\r
9394 FORMAT "99/99/9999"
\r
9400 ADD FIELD "TenancyLeaseCode" OF "LeaseHistory" AS integer
\r
9401 DESCRIPTION "A code used to refer to this tenancy lease"
\r
9409 ADD FIELD "AssignedLeaseCode" OF "LeaseHistory" AS integer
\r
9410 DESCRIPTION "The prior lease in the chain of assigned leases."
\r
9413 LABEL "Assigned to"
\r
9418 ADD FIELD "AssignmentDate" OF "LeaseHistory" AS date
\r
9419 DESCRIPTION "The date on which this lease was assigned from the prior one."
\r
9420 FORMAT "99/99/9999"
\r
9422 LABEL "Assign date"
\r
9427 ADD FIELD "LeaseEndDate" OF "LeaseHistory" AS date
\r
9428 DESCRIPTION "The date on which the lease ends."
\r
9429 FORMAT "99/99/9999"
\r
9436 ADD FIELD "LeaseStartDate" OF "LeaseHistory" AS date
\r
9437 DESCRIPTION "The date that the lease commenced (which could be in the future)."
\r
9438 FORMAT "99/99/9999"
\r
9440 LABEL "Lease start"
\r
9445 ADD FIELD "LeaseStatus" OF "LeaseHistory" AS character
\r
9455 ADD FIELD "LeaseType" OF "LeaseHistory" AS character
\r
9456 DESCRIPTION "A code classifying the type of lease."
\r
9466 ADD FIELD "NoteCode" OF "LeaseHistory" AS integer
\r
9467 DESCRIPTION "Any notes relating to this lease"
\r
9475 ADD FIELD "RatchetClause" OF "LeaseHistory" AS character
\r
9476 DESCRIPTION "The type of ratchet clause included in the lease, e.g. None, Full, Partial etc."
\r
9482 HELP "Ratchet clause type: None, full, part etc."
\r
9486 ADD FIELD "RentStartDate" OF "LeaseHistory" AS date
\r
9487 FORMAT "99/99/9999"
\r
9489 LABEL "Rent start"
\r
9492 HELP "The date on which the tenant starts being liable for rent"
\r
9495 ADD FIELD "RentEndDate" OF "LeaseHistory" AS date
\r
9496 FORMAT "99/99/9999"
\r
9501 HELP "The date on which the tenant stops being liable for rent"
\r
9504 ADD FIELD "ReviewNoticePeriod" OF "LeaseHistory" AS integer
\r
9507 LABEL "Review notice"
\r
9510 COLUMN-LABEL "RR notice"
\r
9511 HELP "The number of months of notice required for a rent review."
\r
9514 ADD FIELD "RightsOfRenewal" OF "LeaseHistory" AS character
\r
9517 LABEL "Rights of Renewal"
\r
9520 COLUMN-LABEL "RoR"
\r
9521 HELP "The rights of renewal written into the lease."
\r
9525 ADD FIELD "RORNoticePeriod" OF "LeaseHistory" AS integer
\r
9526 DESCRIPTION "The number of months of notice required for exercise of the rights of renewal."
\r
9529 LABEL "RoR notice"
\r
9532 HELP "Months notice required for exercise of renewal rights"
\r
9535 ADD FIELD "TenantCode" OF "LeaseHistory" AS integer
\r
9536 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
9542 HELP "The tenant code for accounting for this lease."
\r
9545 ADD FIELD "DocumentLocation" OF "LeaseHistory" AS integer
\r
9546 DESCRIPTION "The current location of the lease
\r
9547 Foreign key on the 'Note' table."
\r
9550 LABEL "Document Location Notes"
\r
9553 COLUMN-LABEL "NotesKey"
\r
9554 HELP "A 'note' indicating the current location of the lease docs."
\r
9557 ADD FIELD "PrimarySpace" OF "LeaseHistory" AS integer
\r
9558 DESCRIPTION "A sequence number which identifies the primary rental space within the property."
\r
9561 LABEL "Primary Space"
\r
9564 COLUMN-LABEL "Primary"
\r
9567 ADD FIELD "OutgoingsRate" OF "LeaseHistory" AS decimal
\r
9576 ADD FIELD "PropertyCode" OF "LeaseHistory" AS integer
\r
9577 DESCRIPTION "The property that the rental spaces in this lease are a part of."
\r
9585 ADD FIELD "TermYears" OF "LeaseHistory" AS integer
\r
9593 ADD FIELD "TermMonths" OF "LeaseHistory" AS integer
\r
9598 VALEXP "TermMonths >= 0 AND TermMonths < 12"
\r
9599 VALMSG "Must be between 0 and 11"
\r
9602 ADD FIELD "TermDays" OF "LeaseHistory" AS integer
\r
9607 VALEXP "TermDays >= 0 AND TermDays < 32"
\r
9608 VALMSG "Must be between 0 and 31"
\r
9611 ADD FIELD "GrossLease" OF "LeaseHistory" AS logical
\r
9614 LABEL "Gross Lease"
\r
9617 COLUMN-LABEL "G/N"
\r
9620 ADD FIELD "RevSequence" OF "LeaseHistory" AS integer
\r
9621 DESCRIPTION "Sequence from Rev property system"
\r
9622 FORMAT "->,>>>,>>9"
\r
9628 ADD FIELD "RevTenant" OF "LeaseHistory" AS character
\r
9629 DESCRIPTION "Tenant code from Revelation system"
\r
9637 ADD FIELD "ElectricityUnitRate" OF "LeaseHistory" AS decimal
\r
9640 LABEL "Electricity Rate"
\r
9646 ADD FIELD "OutgoingsBudget" OF "LeaseHistory" AS decimal
\r
9647 DESCRIPTION "Basis for charging outgoings to a tenant."
\r
9648 FORMAT ">,>>>,>>9.99"
\r
9655 ADD FIELD "TaxApplies" OF "LeaseHistory" AS logical
\r
9658 LABEL "Tax applies"
\r
9661 COLUMN-LABEL "Taxable"
\r
9664 ADD FIELD "AreaDescription" OF "LeaseHistory" AS character
\r
9667 LABEL "Areas Rented"
\r
9672 ADD FIELD "FirstLeaseStart" OF "LeaseHistory" AS date
\r
9673 FORMAT "99/99/9999"
\r
9675 LABEL "First lease start"
\r
9678 COLUMN-LABEL "First Start"
\r
9679 HELP "The date the first lease on this space by this tenant commenced"
\r
9682 ADD FIELD "IncentiveNotes" OF "LeaseHistory" AS character
\r
9683 DESCRIPTION "Just some notes that get written in when the lease is settled (i.e when a new lease is setup)."
\r
9691 ADD FIELD "ChangedBy" OF "LeaseHistory" AS character
\r
9692 DESCRIPTION "A system controlled record of what process caused the lease information to change"
\r
9699 ADD INDEX "XPKLeaseHistory" ON "LeaseHistory"
\r
9700 AREA "Schema Area"
\r
9703 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
9704 INDEX-FIELD "DateChanged" DESCENDING
\r
9706 ADD TABLE "RentalSpace"
\r
9707 AREA "Schema Area"
\r
9708 DUMP-NAME "rentalsp"
\r
9709 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "WRRNTSPC.P" CRC "?"
\r
9711 ADD FIELD "PropertyCode" OF "RentalSpace" AS integer
\r
9712 DESCRIPTION "The property that this rental space is a part of"
\r
9720 FIELD-TRIGGER "ASSIGN" OVERRIDE PROCEDURE "A-RSPPCD.P" CRC "?"
\r
9722 ADD FIELD "RentalSpaceCode" OF "RentalSpace" AS integer
\r
9723 DESCRIPTION "A sequence number which identifies this rental space within the property."
\r
9726 LABEL "Rental space code"
\r
9729 COLUMN-LABEL "Space"
\r
9733 ADD FIELD "Contact" OF "RentalSpace" AS integer
\r
9734 DESCRIPTION "A person to contact about things to do with this space."
\r
9742 ADD FIELD "AreaType" OF "RentalSpace" AS character
\r
9743 DESCRIPTION "The type of rental space eg. Office, Rental, Carpark, Warehouse, etc"
\r
9749 COLUMN-LABEL "Type"
\r
9754 ADD FIELD "AreaStatus" OF "RentalSpace" AS character
\r
9755 DESCRIPTION "The Status of the rental space, eg. Leased, Vacant"
\r
9765 ADD FIELD "AreaSize" OF "RentalSpace" AS decimal
\r
9766 DESCRIPTION "The area of the rental space in square metres."
\r
9767 FORMAT "->>,>>9.99"
\r
9772 COLUMN-LABEL-SA "C"
\r
9776 ADD FIELD "ContractedRental" OF "RentalSpace" AS decimal
\r
9777 DESCRIPTION "The annual rental which tenants have contracted to pay for this space."
\r
9778 FORMAT "->,>>>,>>9.99"
\r
9780 LABEL "Contract Rental"
\r
9786 ADD FIELD "Description" OF "RentalSpace" AS character
\r
9787 DESCRIPTION "A brief description of the space"
\r
9795 ADD FIELD "MarketRental" OF "RentalSpace" AS decimal
\r
9796 DESCRIPTION "The estimated market rental which the space is worth at current market rates."
\r
9797 FORMAT "->,>>>,>>9.99"
\r
9805 ADD FIELD "MarketRentalDate" OF "RentalSpace" AS date
\r
9806 DESCRIPTION "The date at which the market rental was last estimated."
\r
9807 FORMAT "99/99/9999"
\r
9809 LABEL "Market rental date"
\r
9812 COLUMN-LABEL "Mkt date"
\r
9815 ADD FIELD "TenancyLeaseCode" OF "RentalSpace" AS integer
\r
9816 DESCRIPTION "The code referring to the tenancy lease record applying to this rental space."
\r
9824 ADD FIELD "Warden1" OF "RentalSpace" AS integer
\r
9825 DESCRIPTION "The person who is the primary warden for the rental space."
\r
9832 ADD FIELD "Warden2" OF "RentalSpace" AS integer
\r
9833 DESCRIPTION "The person who is the secondary warden for the rental space."
\r
9841 ADD FIELD "Level" OF "RentalSpace" AS integer
\r
9848 ADD FIELD "LevelSequence" OF "RentalSpace" AS integer
\r
9854 COLUMN-LABEL "Seq"
\r
9857 ADD FIELD "NoteCode" OF "RentalSpace" AS integer
\r
9864 ADD FIELD "ChargedRental" OF "RentalSpace" AS decimal
\r
9865 FORMAT "->,>>>,>>9.99"
\r
9867 LABEL "Charged Rent"
\r
9873 ADD FIELD "AuditRecordId" OF "RentalSpace" AS integer
\r
9874 FORMAT "->,>>>,>>9"
\r
9880 ADD FIELD "LastModifiedDate" OF "RentalSpace" AS date
\r
9881 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
9882 FORMAT "99/99/9999"
\r
9883 INITIAL "1/1/0001"
\r
9889 ADD FIELD "LastModifiedTime" OF "RentalSpace" AS integer
\r
9890 DESCRIPTION "The time that this record was last modified"
\r
9891 FORMAT "->,>>>,>>9"
\r
9897 ADD FIELD "LastModifiedUser" OF "RentalSpace" AS character
\r
9898 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
9906 ADD FIELD "VacantCosts" OF "RentalSpace" AS decimal
\r
9907 FORMAT "->,>>>,>>9.99"
\r
9914 ADD FIELD "OutgoingsPercentage" OF "RentalSpace" AS decimal
\r
9917 LABEL "O/G Percent"
\r
9923 ADD FIELD "TaxApplies" OF "RentalSpace" AS logical
\r
9926 LABEL "Tax applies"
\r
9929 COLUMN-LABEL "Taxable"
\r
9932 ADD FIELD "VacationDate" OF "RentalSpace" AS date
\r
9933 DESCRIPTION "The date that this rental space was vacated. This only applies
\r
9934 if AreaStatus = ""V""."
\r
9935 FORMAT "99/99/9999"
\r
9937 LABEL "Date Vacated"
\r
9940 COLUMN-LABEL "Vacated"
\r
9943 ADD INDEX "RentalSpaces" ON "RentalSpace"
\r
9944 AREA "Schema Area"
\r
9947 INDEX-FIELD "PropertyCode" ASCENDING
\r
9948 INDEX-FIELD "RentalSpaceCode" ASCENDING
\r
9950 ADD INDEX "XAK1RentalSpaces" ON "RentalSpace"
\r
9951 AREA "Schema Area"
\r
9952 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
9953 INDEX-FIELD "RentalSpaceCode" ASCENDING
\r
9955 ADD INDEX "XAK2RentalSpaces" ON "RentalSpace"
\r
9956 AREA "Schema Area"
\r
9957 INDEX-FIELD "PropertyCode" ASCENDING
\r
9958 INDEX-FIELD "Level" ASCENDING
\r
9959 INDEX-FIELD "LevelSequence" ASCENDING
\r
9961 ADD TABLE "AssetType"
\r
9962 AREA "Schema Area"
\r
9963 DUMP-NAME "assettyp"
\r
9965 ADD FIELD "AssetType" OF "AssetType" AS character
\r
9972 ADD FIELD "Description" OF "AssetType" AS character
\r
9979 ADD FIELD "DepreciationStyle" OF "AssetType" AS character
\r
9986 ADD FIELD "DepreciationRate" OF "AssetType" AS decimal
\r
9994 ADD FIELD "AccountCode" OF "AssetType" AS decimal
\r
10002 ADD INDEX "XPKAssetType" ON "AssetType"
\r
10003 AREA "Schema Area"
\r
10006 INDEX-FIELD "AssetType" ASCENDING
\r
10008 ADD TABLE "BatchQueue"
\r
10009 AREA "Schema Area"
\r
10010 DUMP-NAME "batchque"
\r
10012 ADD FIELD "RunDate" OF "BatchQueue" AS date
\r
10013 FORMAT "99/99/9999"
\r
10019 ADD FIELD "RunTime" OF "BatchQueue" AS integer
\r
10020 FORMAT "->,>>>,>>9"
\r
10026 ADD FIELD "RunStatus" OF "BatchQueue" AS character
\r
10033 ADD FIELD "RunProgram" OF "BatchQueue" AS character
\r
10040 ADD FIELD "RunParameters" OF "BatchQueue" AS character
\r
10047 ADD FIELD "RunOutput" OF "BatchQueue" AS character
\r
10054 ADD FIELD "RunErrors" OF "BatchQueue" AS character
\r
10059 HELP "Errors produced by the processing of this job"
\r
10062 ADD FIELD "UserName" OF "BatchQueue" AS character
\r
10067 HELP "Name of user requesting batch job"
\r
10070 ADD FIELD "StartedOn" OF "BatchQueue" AS date
\r
10071 FORMAT "99/99/9999"
\r
10075 HELP "Date job was started"
\r
10078 ADD FIELD "StartedAt" OF "BatchQueue" AS integer
\r
10083 HELP "Time job was started"
\r
10086 ADD FIELD "Elapsed" OF "BatchQueue" AS integer
\r
10091 HELP "Time job took to run"
\r
10094 ADD INDEX "XPKBatchQueue" ON "BatchQueue"
\r
10095 AREA "Schema Area"
\r
10097 INDEX-FIELD "RunStatus" ASCENDING
\r
10098 INDEX-FIELD "RunDate" ASCENDING
\r
10099 INDEX-FIELD "RunTime" ASCENDING
\r
10101 ADD TABLE "CFChangeType"
\r
10102 AREA "Schema Area"
\r
10103 DUMP-NAME "cfchgtyp"
\r
10105 ADD FIELD "CFChangeType" OF "CFChangeType" AS character
\r
10108 LABEL "Change type"
\r
10111 COLUMN-LABEL "Change"
\r
10114 ADD FIELD "Description" OF "CFChangeType" AS character
\r
10121 ADD INDEX "XKPCFChangetype" ON "CFChangeType"
\r
10122 AREA "Schema Area"
\r
10125 INDEX-FIELD "CFChangeType" ASCENDING
\r
10127 ADD TABLE "FixedAsset"
\r
10128 AREA "Schema Area"
\r
10129 DUMP-NAME "fixedass"
\r
10131 ADD FIELD "AssetCode" OF "FixedAsset" AS integer
\r
10138 ADD FIELD "Description" OF "FixedAsset" AS character
\r
10145 ADD FIELD "Active" OF "FixedAsset" AS logical
\r
10152 ADD FIELD "PurchaseDate" OF "FixedAsset" AS date
\r
10153 FORMAT "99/99/9999"
\r
10159 ADD FIELD "SaleDate" OF "FixedAsset" AS date
\r
10160 FORMAT "99/99/9999"
\r
10166 ADD FIELD "BookDepreciationType" OF "FixedAsset" AS character
\r
10173 ADD FIELD "TaxDepreciationType" OF "FixedAsset" AS character
\r
10180 ADD FIELD "LastModifiedDate" OF "FixedAsset" AS date
\r
10181 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
10182 FORMAT "99/99/9999"
\r
10183 INITIAL "1/1/0001"
\r
10189 ADD FIELD "LastModifiedTime" OF "FixedAsset" AS integer
\r
10190 DESCRIPTION "The time that this record was last modified"
\r
10191 FORMAT "->,>>>,>>9"
\r
10197 ADD FIELD "LastModifiedUser" OF "FixedAsset" AS character
\r
10198 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
10206 ADD FIELD "AuditRecordId" OF "FixedAsset" AS integer
\r
10207 FORMAT "->,>>>,>>9"
\r
10213 ADD FIELD "NoteCode" OF "FixedAsset" AS integer
\r
10214 DESCRIPTION "A unique code identifying this note."
\r
10221 ADD FIELD "AssetStatus" OF "FixedAsset" AS character
\r
10229 ADD FIELD "AssetType" OF "FixedAsset" AS character
\r
10237 ADD FIELD "ParentAssetCode" OF "FixedAsset" AS integer
\r
10242 HELP "Asset code of parent asset that this asset belongs to (if applicable)"
\r
10245 ADD FIELD "AssetReference" OF "FixedAsset" AS character
\r
10248 LABEL "Reference"
\r
10251 HELP "Serial Number or external reference id"
\r
10254 ADD FIELD "EntityType" OF "FixedAsset" AS character
\r
10259 HELP "The type of accounting entity (company, property etc) owning this asset"
\r
10262 ADD FIELD "EntityCode" OF "FixedAsset" AS integer
\r
10267 HELP "The accounting entity (company, property etc) with financial ownership of this asset"
\r
10270 ADD FIELD "PurchaseFrom" OF "FixedAsset" AS character
\r
10273 LABEL "Purchased from"
\r
10276 HELP "Person/company purchased from"
\r
10279 ADD FIELD "WarrantyMonths" OF "FixedAsset" AS integer
\r
10284 HELP "Length of warranty from purchase date, in months"
\r
10287 ADD FIELD "NextDepreciationDate" OF "FixedAsset" AS date
\r
10288 FORMAT "99/99/9999"
\r
10292 HELP "Next date to depreciating asset on"
\r
10295 ADD FIELD "DepreciationFreq" OF "FixedAsset" AS character
\r
10300 HELP "Frequency of depreciation"
\r
10303 ADD FIELD "SoldTo" OF "FixedAsset" AS character
\r
10309 HELP "Person / company sold to"
\r
10312 ADD INDEX "XPKFixedAsset" ON "FixedAsset"
\r
10313 AREA "Schema Area"
\r
10316 INDEX-FIELD "AssetCode" ASCENDING
\r
10318 ADD INDEX "XAK1FixedAsset" ON "FixedAsset"
\r
10319 AREA "Schema Area"
\r
10320 INDEX-FIELD "Active" ASCENDING
\r
10321 INDEX-FIELD "AssetCode" ASCENDING
\r
10323 ADD INDEX "XAK1ParentAsset" ON "FixedAsset"
\r
10324 AREA "Schema Area"
\r
10325 INDEX-FIELD "ParentAssetCode" ASCENDING
\r
10327 ADD INDEX "XAK2Description" ON "FixedAsset"
\r
10328 AREA "Schema Area"
\r
10329 INDEX-FIELD "Description" ASCENDING
\r
10331 ADD INDEX "XAK3FixedAsset" ON "FixedAsset"
\r
10332 AREA "Schema Area"
\r
10333 INDEX-FIELD "Active" ASCENDING
\r
10334 INDEX-FIELD "Description" ASCENDING
\r
10336 ADD TABLE "ReplCollisionLog"
\r
10337 AREA "Schema Area"
\r
10338 DESCRIPTION "Collision Log"
\r
10339 DUMP-NAME "replcoll"
\r
10341 ADD FIELD "CollisionID" OF "ReplCollisionLog" AS integer
\r
10342 DESCRIPTION "Unique Key Field"
\r
10343 FORMAT ">>>,>>>,>>9"
\r
10345 LABEL "Collision ID"
\r
10348 COLUMN-LABEL "Coll Id"
\r
10351 ADD FIELD "ReplId" OF "ReplCollisionLog" AS integer
\r
10352 DESCRIPTION "Relates back to the original replication record involved."
\r
10353 FORMAT ">>>,>>>,>>9"
\r
10355 LABEL "Replication Id"
\r
10358 COLUMN-LABEL "Rep Id"
\r
10361 ADD FIELD "TransActID" OF "ReplCollisionLog" AS integer
\r
10362 DESCRIPTION "Progress DBTASKID. Groups all records in the same transaction. None of them will be replicated."
\r
10363 FORMAT ">,>>>,>>>,>>9"
\r
10365 LABEL "Transaction ID"
\r
10368 COLUMN-LABEL "Trans. ID"
\r
10371 ADD FIELD "ReplDate" OF "ReplCollisionLog" AS date
\r
10372 DESCRIPTION "The date applying to the data change"
\r
10373 FORMAT "99/99/9999"
\r
10377 COLUMN-LABEL-SA "C"
\r
10380 ADD FIELD "ReplTime" OF "ReplCollisionLog" AS integer
\r
10381 DESCRIPTION "The time that this record was last modified"
\r
10382 FORMAT "->,>>>,>>9"
\r
10388 ADD FIELD "ReplEvent" OF "ReplCollisionLog" AS character
\r
10389 DESCRIPTION "Create, Modify, Delete"
\r
10395 COLUMN-LABEL "Event"
\r
10398 ADD FIELD "ReplBI" OF "ReplCollisionLog" AS raw
\r
10399 DESCRIPTION "RAW image of record before it changed"
\r
10406 ADD FIELD "ReplAI" OF "ReplCollisionLog" AS raw
\r
10407 DESCRIPTION "Raw image of record after it changed"
\r
10414 ADD FIELD "LoadFile" OF "ReplCollisionLog" AS character
\r
10415 DESCRIPTION "Taken from the dump file name"
\r
10422 ADD FIELD "Collided" OF "ReplCollisionLog" AS logical
\r
10423 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
10426 LABEL "Collision Record"
\r
10429 COLUMN-LABEL "Coll Rec"
\r
10432 ADD FIELD "TableToRepl" OF "ReplCollisionLog" AS character
\r
10433 DESCRIPTION "Name of the table replicated"
\r
10436 LABEL "Table Name"
\r
10439 COLUMN-LABEL "Table"
\r
10442 ADD INDEX "ReplColl" ON "ReplCollisionLog"
\r
10443 AREA "Schema Area"
\r
10446 INDEX-FIELD "CollisionID" ASCENDING
\r
10448 ADD INDEX "ReplCollTrans" ON "ReplCollisionLog"
\r
10449 AREA "Schema Area"
\r
10450 INDEX-FIELD "TransActID" ASCENDING
\r
10451 INDEX-FIELD "CollisionID" ASCENDING
\r
10453 ADD INDEX "ReplDateTime" ON "ReplCollisionLog"
\r
10454 AREA "Schema Area"
\r
10455 INDEX-FIELD "ReplDate" ASCENDING
\r
10456 INDEX-FIELD "ReplTime" ASCENDING
\r
10457 INDEX-FIELD "CollisionID" ASCENDING
\r
10459 ADD TABLE "ReplLoadRule"
\r
10460 AREA "Schema Area"
\r
10461 LABEL "Replication Load Rules"
\r
10462 DESCRIPTION "List of tables to load at a particular site. This table is site specific."
\r
10463 DUMP-NAME "replload"
\r
10465 ADD FIELD "TableToLoad" OF "ReplLoadRule" AS character
\r
10468 LABEL "Table Name"
\r
10471 COLUMN-LABEL "Table"
\r
10472 HELP "Enter the name of the replicated table to load"
\r
10475 ADD FIELD "Activity" OF "ReplLoadRule" AS character
\r
10476 DESCRIPTION "The activity on which replication will take place.
\r
10477 Create, Modify, Delete. CMD"
\r
10483 COLUMN-LABEL "Activity"
\r
10484 HELP "Enter 'C'reate, 'M'odify and/or 'D'elete"
\r
10487 ADD FIELD "SourceSystem" OF "ReplLoadRule" AS character
\r
10488 DESCRIPTION "System from which data to replicated. "
\r
10491 LABEL "Source System"
\r
10494 COLUMN-LABEL "Source"
\r
10495 HELP "Source system for replication."
\r
10498 ADD FIELD "CollisionDetect" OF "ReplLoadRule" AS logical
\r
10499 DESCRIPTION "Detect for collisions"
\r
10502 LABEL "Collision Detect"
\r
10505 COLUMN-LABEL "C.D."
\r
10508 ADD FIELD "UniqueIndex" OF "ReplLoadRule" AS character
\r
10511 LABEL "Unique Index"
\r
10514 COLUMN-LABEL "Index"
\r
10517 ADD INDEX "ReplLoad" ON "ReplLoadRule"
\r
10518 AREA "Schema Area"
\r
10521 INDEX-FIELD "TableToLoad" ASCENDING
\r
10522 INDEX-FIELD "SourceSystem" ASCENDING
\r
10524 ADD TABLE "ReplLog"
\r
10525 AREA "Schema Area"
\r
10526 LABEL "Replication Log"
\r
10527 DESCRIPTION "Replication log"
\r
10528 DUMP-NAME "repllog"
\r
10530 ADD FIELD "OfficeCode" OF "ReplLog" AS character
\r
10538 ADD FIELD "ReplId" OF "ReplLog" AS integer
\r
10539 FORMAT ">>>,>>>,>>9"
\r
10541 LABEL "Replication Id"
\r
10544 COLUMN-LABEL "Rep Id"
\r
10547 ADD FIELD "TransActID" OF "ReplLog" AS integer
\r
10548 DESCRIPTION "Progress DBTASKID"
\r
10549 FORMAT ">,>>>,>>>,>>9"
\r
10551 LABEL "Transaction ID"
\r
10554 COLUMN-LABEL "Trans. ID"
\r
10557 ADD FIELD "TableToRepl" OF "ReplLog" AS character
\r
10558 DESCRIPTION "Name of the table replicated"
\r
10561 LABEL "Table Name"
\r
10564 COLUMN-LABEL "Table"
\r
10567 ADD FIELD "ReplDate" OF "ReplLog" AS date
\r
10568 DESCRIPTION "The date applying to the data change"
\r
10569 FORMAT "99/99/9999"
\r
10573 COLUMN-LABEL-SA "C"
\r
10576 ADD FIELD "ReplTime" OF "ReplLog" AS integer
\r
10577 DESCRIPTION "The time that this record was last modified"
\r
10578 FORMAT "->,>>>,>>9"
\r
10584 ADD FIELD "ReplEvent" OF "ReplLog" AS character
\r
10585 DESCRIPTION "Create, Modify, Delete"
\r
10591 COLUMN-LABEL "Event"
\r
10594 ADD FIELD "ReplBI" OF "ReplLog" AS raw
\r
10595 DESCRIPTION "RAW image of record before it changed"
\r
10602 ADD FIELD "ReplAI" OF "ReplLog" AS raw
\r
10603 DESCRIPTION "Raw image of record after it changed"
\r
10610 ADD FIELD "DumpFile" OF "ReplLog" AS character
\r
10617 ADD FIELD "TableRowID" OF "ReplLog" AS recid
\r
10624 ADD INDEX "ReplOffice" ON "ReplLog"
\r
10625 AREA "Schema Area"
\r
10627 INDEX-FIELD "OfficeCode" ASCENDING
\r
10628 INDEX-FIELD "ReplId" ASCENDING
\r
10630 ADD INDEX "ReplRowid" ON "ReplLog"
\r
10631 AREA "Schema Area"
\r
10632 INDEX-FIELD "TableToRepl" ASCENDING
\r
10633 INDEX-FIELD "TransActID" ASCENDING
\r
10634 INDEX-FIELD "TableRowID" ASCENDING
\r
10636 ADD INDEX "ReplTransAct" ON "ReplLog"
\r
10637 AREA "Schema Area"
\r
10638 INDEX-FIELD "TransActID" ASCENDING
\r
10639 INDEX-FIELD "ReplId" ASCENDING
\r
10641 ADD TABLE "ReplTrigger"
\r
10642 AREA "Schema Area"
\r
10643 DESCRIPTION "Replication triggers to be created"
\r
10644 DUMP-NAME "repltrig"
\r
10646 ADD FIELD "TableToRepl" OF "ReplTrigger" AS character
\r
10647 DESCRIPTION "Name of the table to replicate"
\r
10650 LABEL "Table Name"
\r
10653 COLUMN-LABEL "Table"
\r
10656 ADD FIELD "Activity" OF "ReplTrigger" AS character
\r
10657 DESCRIPTION "The activity on which replication will take place.
\r
10658 Create, Modify, Delete. CMD"
\r
10664 COLUMN-LABEL "Activity"
\r
10665 HELP "Enter 'C'reate, 'M'odify and/or 'D'elete"
\r
10668 ADD INDEX "ReplTrigger" ON "ReplTrigger"
\r
10669 AREA "Schema Area"
\r
10671 INDEX-FIELD "TableToRepl" ASCENDING
\r
10673 ADD TABLE "ToPost"
\r
10674 AREA "Schema Area"
\r
10675 DESCRIPTION "A list of batches that have been posted on a peer replication site"
\r
10676 DUMP-NAME "topost"
\r
10678 ADD FIELD "BatchCode" OF "ToPost" AS integer
\r
10679 DESCRIPTION "The code of a batch of documents."
\r
10682 LABEL "Batch No."
\r
10685 COLUMN-LABEL "Batch"
\r
10688 ADD FIELD "OperatorCode" OF "ToPost" AS integer
\r
10689 DESCRIPTION "The staff contact code for the operator who updated this batch of documents."
\r
10698 ADD FIELD "UpdatedAt" OF "ToPost" AS integer
\r
10699 DESCRIPTION "The time that the batch update was completed."
\r
10700 FORMAT "->,>>>,>>9"
\r
10702 LABEL "Updated At"
\r
10705 COLUMN-LABEL-SA "C"
\r
10708 ADD FIELD "UpdatedOn" OF "ToPost" AS date
\r
10709 DESCRIPTION "The date on which the batch update was completed."
\r
10710 FORMAT "99/99/9999"
\r
10712 LABEL "Updated On"
\r
10715 COLUMN-LABEL-SA "C"
\r
10718 ADD FIELD "Description" OF "ToPost" AS character
\r
10723 HELP "A description of the documents in this batch"
\r
10727 ADD FIELD "UpdatedBy" OF "ToPost" AS character
\r
10730 LABEL "Updated By"
\r
10735 ADD FIELD "OfficeCode" OF "ToPost" AS character
\r
10736 DESCRIPTION "The office at which this batch was originally posted"
\r
10744 ADD FIELD "PostStatus" OF "ToPost" AS character
\r
10751 ADD INDEX "XPKToPost" ON "ToPost"
\r
10752 AREA "Schema Area"
\r
10755 INDEX-FIELD "BatchCode" ASCENDING
\r
10757 ADD INDEX "XAK1ToPost" ON "ToPost"
\r
10758 AREA "Schema Area"
\r
10759 INDEX-FIELD "OfficeCode" ASCENDING
\r
10760 INDEX-FIELD "PostStatus" ASCENDING
\r
10761 INDEX-FIELD "BatchCode" ASCENDING
\r
10763 ADD TABLE "ProjectExpenseCategory"
\r
10764 AREA "Schema Area"
\r
10765 DUMP-NAME "prjxpcat"
\r
10767 ADD FIELD "ProjectExpenseCategory" OF "ProjectExpenseCategory" AS character
\r
10776 ADD FIELD "Description" OF "ProjectExpenseCategory" AS character
\r
10783 ADD INDEX "XPKProjectExpenseCategory" ON "ProjectExpenseCategory"
\r
10784 AREA "Schema Area"
\r
10787 INDEX-FIELD "ProjectExpenseCategory" ASCENDING
\r
10789 ADD TABLE "ProjectType"
\r
10790 AREA "Schema Area"
\r
10791 DUMP-NAME "prjtype"
\r
10793 ADD FIELD "ProjectType" OF "ProjectType" AS character
\r
10802 ADD FIELD "Description" OF "ProjectType" AS character
\r
10809 ADD INDEX "XPKProjectType" ON "ProjectType"
\r
10810 AREA "Schema Area"
\r
10813 INDEX-FIELD "ProjectType" ASCENDING
\r
10815 ADD TABLE "Variation"
\r
10816 AREA "Schema Area"
\r
10817 DUMP-NAME "variatio"
\r
10818 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "devaritn.p" CRC "?"
\r
10819 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrvaritn.p" CRC "?"
\r
10821 ADD FIELD "ProjectCode" OF "Variation" AS integer
\r
10828 ADD FIELD "VariationCode" OF "Variation" AS integer
\r
10835 ADD FIELD "VariationType" OF "Variation" AS character
\r
10843 ADD FIELD "VariationDate" OF "Variation" AS date
\r
10844 FORMAT "99/99/9999"
\r
10850 ADD FIELD "Reason" OF "Variation" AS character
\r
10857 ADD FIELD "Approvers" OF "Variation" AS character
\r
10865 ADD FIELD "VariationCategory" OF "Variation" AS character
\r
10873 ADD INDEX "XPKVariations" ON "Variation"
\r
10874 AREA "Schema Area"
\r
10877 INDEX-FIELD "ProjectCode" ASCENDING
\r
10878 INDEX-FIELD "VariationCode" ASCENDING
\r
10880 ADD INDEX "XAK1Variations" ON "Variation"
\r
10881 AREA "Schema Area"
\r
10882 INDEX-FIELD "ProjectCode" ASCENDING
\r
10883 INDEX-FIELD "VariationDate" ASCENDING
\r
10885 ADD INDEX "XAK2Variations" ON "Variation"
\r
10886 AREA "Schema Area"
\r
10888 INDEX-FIELD "ProjectCode" ASCENDING
\r
10889 INDEX-FIELD "VariationType" ASCENDING
\r
10890 INDEX-FIELD "VariationDate" ASCENDING
\r
10891 INDEX-FIELD "VariationCode" ASCENDING
\r
10893 ADD TABLE "VariationFlow"
\r
10894 AREA "Schema Area"
\r
10895 DUMP-NAME "var-flow"
\r
10896 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "devarflw.p" CRC "?"
\r
10897 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrvarflw.p" CRC "?"
\r
10899 ADD FIELD "ProjectCode" OF "VariationFlow" AS integer
\r
10906 ADD FIELD "VariationCode" OF "VariationFlow" AS integer
\r
10913 ADD FIELD "AccountCode" OF "VariationFlow" AS decimal
\r
10914 DESCRIPTION "The code of the account."
\r
10916 INITIAL "0000.00"
\r
10923 ADD FIELD "MonthCode" OF "VariationFlow" AS integer
\r
10924 DESCRIPTION "The code of the month that this account applies to."
\r
10932 ADD FIELD "Amount" OF "VariationFlow" AS decimal
\r
10933 FORMAT "->>>,>>>,>>9.99"
\r
10937 COLUMN-LABEL-SA "C"
\r
10941 ADD INDEX "XPKVariationFlows" ON "VariationFlow"
\r
10942 AREA "Schema Area"
\r
10945 INDEX-FIELD "ProjectCode" ASCENDING
\r
10946 INDEX-FIELD "VariationCode" ASCENDING
\r
10947 INDEX-FIELD "AccountCode" ASCENDING
\r
10948 INDEX-FIELD "MonthCode" ASCENDING
\r
10950 ADD INDEX "XAK1VariationFlows" ON "VariationFlow"
\r
10951 AREA "Schema Area"
\r
10952 INDEX-FIELD "ProjectCode" ASCENDING
\r
10953 INDEX-FIELD "AccountCode" ASCENDING
\r
10954 INDEX-FIELD "MonthCode" ASCENDING
\r
10956 ADD TABLE "VariationType"
\r
10957 AREA "Schema Area"
\r
10958 DUMP-NAME "vartype"
\r
10960 ADD FIELD "VariationType" OF "VariationType" AS character
\r
10969 ADD FIELD "Description" OF "VariationType" AS character
\r
10976 ADD INDEX "XPKVariationType" ON "VariationType"
\r
10977 AREA "Schema Area"
\r
10980 INDEX-FIELD "VariationType" ASCENDING
\r
10982 ADD TABLE "RentCharge"
\r
10983 AREA "Schema Area"
\r
10984 DUMP-NAME "rentchag"
\r
10985 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "derntchg.p" CRC "?"
\r
10986 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrrntchg.p" CRC "?"
\r
10988 ADD FIELD "TenancyLeaseCode" OF "RentCharge" AS integer
\r
10989 DESCRIPTION "The tenancy lease that this charge relates to"
\r
10997 ADD FIELD "SequenceCode" OF "RentCharge" AS integer
\r
10998 DESCRIPTION "This code groups sets of related charges for a particular lease."
\r
11005 ADD FIELD "RentChargeType" OF "RentCharge" AS character
\r
11006 DESCRIPTION "The primary type of charge"
\r
11013 ADD FIELD "Description" OF "RentCharge" AS character
\r
11014 DESCRIPTION "A brief description of this charge"
\r
11021 ADD FIELD "AccountCode" OF "RentCharge" AS decimal
\r
11022 DESCRIPTION "The account against which this charge applies. If this is not set, then the account on the charge type will be used."
\r
11028 COLUMN-LABEL-SA "C"
\r
11033 ADD FIELD "EntityType" OF "RentCharge" AS character
\r
11034 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
11037 LABEL "Entity type"
\r
11040 COLUMN-LABEL "Type"
\r
11041 COLUMN-LABEL-SA "C"
\r
11046 ADD FIELD "EntityCode" OF "RentCharge" AS integer
\r
11052 COLUMN-LABEL-SA "C"
\r
11055 ADD FIELD "CurrentAnnualRental" OF "RentCharge" AS decimal
\r
11056 DESCRIPTION "The last rent charged pro-rated to an annualised rental"
\r
11057 FORMAT "->>,>>>,>>9.99"
\r
11061 HELP "The last rent charged pro-rated to an annualised rental"
\r
11065 ADD FIELD "CurrentPeriodRental" OF "RentCharge" AS decimal
\r
11066 DESCRIPTION "The actual last rent charged for a period, usually monthly"
\r
11067 FORMAT "->>,>>>,>>9.99"
\r
11071 HELP "The actual last rent charged for a period, usually monthly"
\r
11075 ADD FIELD "CurrentTotal" OF "RentCharge" AS decimal
\r
11076 DESCRIPTION "The annualised total of the RentChargeLines currently in effect"
\r
11077 FORMAT "->>,>>>,>>9.99"
\r
11081 HELP "The annualised total of the RentChargeLines currently in effect"
\r
11085 ADD INDEX "XPKRentCharge" ON "RentCharge"
\r
11086 AREA "Schema Area"
\r
11089 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
11090 INDEX-FIELD "SequenceCode" ASCENDING
\r
11092 ADD INDEX "XAK1RentCharge" ON "RentCharge"
\r
11093 AREA "Schema Area"
\r
11095 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
11096 INDEX-FIELD "RentChargeType" ASCENDING
\r
11097 INDEX-FIELD "SequenceCode" ASCENDING
\r
11099 ADD TABLE "RentChargeLine"
\r
11100 AREA "Schema Area"
\r
11101 DESCRIPTION "Stores a schedule of rent charges against a lease over time including rent review type
\r
11103 DUMP-NAME "rentchar"
\r
11104 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrrchgln.p" CRC "?"
\r
11106 ADD FIELD "TenancyLeaseCode" OF "RentChargeLine" AS integer
\r
11107 DESCRIPTION "The tenancy lease that this charge relates to"
\r
11115 ADD FIELD "Amount" OF "RentChargeLine" AS decimal
\r
11116 FORMAT "->>>,>>>,>>9.99"
\r
11120 COLUMN-LABEL-SA "C"
\r
11124 ADD FIELD "StartDate" OF "RentChargeLine" AS date
\r
11125 DESCRIPTION "The date from which charging starts"
\r
11126 FORMAT "99/99/9999"
\r
11132 ADD FIELD "EndDate" OF "RentChargeLine" AS date
\r
11133 DESCRIPTION "The date when charging ceases"
\r
11134 FORMAT "99/99/9999"
\r
11140 ADD FIELD "LastChargedDate" OF "RentChargeLine" AS date
\r
11141 DESCRIPTION "The date when this charge was last charged."
\r
11142 FORMAT "99/99/9999"
\r
11148 ADD FIELD "FrequencyCode" OF "RentChargeLine" AS character
\r
11149 DESCRIPTION "The frequency with which charges are issued."
\r
11156 ADD FIELD "RentChargeLineStatus" OF "RentChargeLine" AS character
\r
11157 DESCRIPTION "The status of this rent charge line
\r
11165 ADD FIELD "SequenceCode" OF "RentChargeLine" AS integer
\r
11166 DESCRIPTION "This code groups sets of related charges for a particular lease."
\r
11173 ADD FIELD "LastModifiedDate" OF "RentChargeLine" AS date
\r
11174 DESCRIPTION "The date when this record was last modified. Maintained by a WRITE trigger."
\r
11175 FORMAT "99/99/9999"
\r
11176 INITIAL "1/1/0001"
\r
11182 ADD FIELD "LastModifiedTime" OF "RentChargeLine" AS integer
\r
11183 DESCRIPTION "The time that this record was last modified"
\r
11184 FORMAT "->,>>>,>>9"
\r
11190 ADD FIELD "LastModifiedUser" OF "RentChargeLine" AS character
\r
11191 DESCRIPTION "The user who last modified this record. Maintained by a WRITE trigger."
\r
11199 ADD FIELD "AuditRecordId" OF "RentChargeLine" AS integer
\r
11200 FORMAT "->,>>>,>>9"
\r
11206 ADD FIELD "DateCommitted" OF "RentChargeLine" AS date
\r
11207 DESCRIPTION "The date that this scheuled charge was committed for charging"
\r
11208 FORMAT "99/99/9999"
\r
11214 ADD FIELD "EstimatedNetRentAmount" OF "RentChargeLine" AS decimal
\r
11215 FORMAT "->>>,>>>,>>9.99"
\r
11219 COLUMN-LABEL-SA "C"
\r
11223 ADD INDEX "XPKRentChargeLine" ON "RentChargeLine"
\r
11224 AREA "Schema Area"
\r
11226 INDEX-FIELD "TenancyLeaseCode" ASCENDING
\r
11227 INDEX-FIELD "SequenceCode" ASCENDING
\r
11228 INDEX-FIELD "StartDate" ASCENDING
\r
11230 ADD TABLE "RentChargeLineStatus"
\r
11231 AREA "Schema Area"
\r
11232 DUMP-NAME "rentchas"
\r
11234 ADD FIELD "RentChargeLineStatus" OF "RentChargeLineStatus" AS character
\r
11235 DESCRIPTION "The status of this rent charge line i.e
\r
11236 REVW - Under review ( for a rent review )
\r
11237 INCO - Incomplete
\r
11245 ADD FIELD "Description" OF "RentChargeLineStatus" AS character
\r
11246 DESCRIPTION "A brief description of this status"
\r
11253 ADD INDEX "XPKRentChargeLineStatus" ON "RentChargeLineStatus"
\r
11254 AREA "Schema Area"
\r
11257 INDEX-FIELD "RentChargeLineStatus" ASCENDING
\r
11259 ADD TABLE "RentChargeType"
\r
11260 AREA "Schema Area"
\r
11261 DESCRIPTION "The primary type of rental charge
\r
11262 e.g RENT, CLEAN etc."
\r
11263 DUMP-NAME "rentchat"
\r
11265 ADD FIELD "RentChargeType" OF "RentChargeType" AS character
\r
11272 ADD FIELD "Description" OF "RentChargeType" AS character
\r
11279 ADD FIELD "AccountCode" OF "RentChargeType" AS decimal
\r
11280 DESCRIPTION "The account of the property against which this charge applies."
\r
11286 COLUMN-LABEL-SA "C"
\r
11291 ADD INDEX "XPKRentChargeType" ON "RentChargeType"
\r
11292 AREA "Schema Area"
\r
11295 INDEX-FIELD "RentChargeType" ASCENDING
\r
11297 ADD TABLE "UnitType"
\r
11298 AREA "Schema Area"
\r
11299 DUMP-NAME "unittype"
\r
11301 ADD FIELD "UnitType" OF "UnitType" AS character
\r
11309 ADD FIELD "Description" OF "UnitType" AS character
\r
11316 ADD FIELD "AllowInteger" OF "UnitType" AS logical
\r
11323 ADD FIELD "AllowReal" OF "UnitType" AS logical
\r
11330 ADD FIELD "AllowNegative" OF "UnitType" AS logical
\r
11337 ADD INDEX "XPKUnitTypes" ON "UnitType"
\r
11338 AREA "Schema Area"
\r
11341 INDEX-FIELD "UnitType" ASCENDING
\r
11343 ADD TABLE "Client"
\r
11344 AREA "Schema Area"
\r
11345 DUMP-NAME "client"
\r
11347 ADD FIELD "ClientCode" OF "Client" AS character
\r
11354 ADD FIELD "Name" OF "Client" AS character
\r
11361 ADD FIELD "LegalName" OF "Client" AS character
\r
11368 ADD FIELD "AccountsContact" OF "Client" AS integer
\r
11369 DESCRIPTION "A person with whom the accounts should be discussed. Billing and payment address"
\r
11376 ADD FIELD "PropertyContact" OF "Client" AS integer
\r
11377 DESCRIPTION "A person with whom the property management issues should be discussed."
\r
11384 ADD FIELD "TaxNo" OF "Client" AS character
\r
11391 ADD FIELD "LogoRoutine" OF "Client" AS character
\r
11398 ADD FIELD "RemittanceAddress" OF "Client" AS character
\r
11404 VIEW-AS "VIEW-AS EDITOR SIZE 78 BY 5 SCROLLBAR-HORIZONTAL SCROLLBAR-VERTICAL NO-WORD-WRAP"
\r
11407 ADD FIELD "DefaultChequeAccount" OF "Client" AS character
\r
11410 LABEL "Cheque a/c"
\r
11415 ADD FIELD "DefaultReceiptAccount" OF "Client" AS character
\r
11418 LABEL "Receipt a/c"
\r
11423 ADD INDEX "XPKClients" ON "Client"
\r
11424 AREA "Schema Area"
\r
11427 INDEX-FIELD "ClientCode" ASCENDING
\r
11429 ADD TABLE "PaymentStyle"
\r
11430 AREA "Schema Area"
\r
11431 DUMP-NAME "paystyle"
\r
11433 ADD FIELD "PaymentStyle" OF "PaymentStyle" AS character
\r
11441 ADD FIELD "Description" OF "PaymentStyle" AS character
\r
11448 ADD FIELD "Payments" OF "PaymentStyle" AS logical
\r
11453 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
11456 ADD FIELD "Receipts" OF "PaymentStyle" AS logical
\r
11461 VIEW-AS "VIEW-AS TOGGLE-BOX"
\r
11464 ADD INDEX "XPKPaymentStyles" ON "PaymentStyle"
\r
11465 AREA "Schema Area"
\r
11468 INDEX-FIELD "PaymentStyle" ASCENDING
\r
11470 ADD TABLE "DebtClassification"
\r
11471 AREA "Schema Area"
\r
11472 DUMP-NAME "debtclas"
\r
11474 ADD FIELD "DebtClassification" OF "DebtClassification" AS character
\r
11477 LABEL "Debt Class"
\r
11483 ADD FIELD "Description" OF "DebtClassification" AS character
\r
11490 ADD INDEX "XPKDebtClassifications" ON "DebtClassification"
\r
11491 AREA "Schema Area"
\r
11494 INDEX-FIELD "DebtClassification" ASCENDING
\r
11496 ADD TABLE "EntityContact"
\r
11497 AREA "Schema Area"
\r
11498 DUMP-NAME "econtact"
\r
11500 ADD FIELD "EntityType" OF "EntityContact" AS character
\r
11501 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
11504 LABEL "Entity type"
\r
11508 COLUMN-LABEL-SA "C"
\r
11511 ADD FIELD "EntityCode" OF "EntityContact" AS integer
\r
11517 COLUMN-LABEL-SA "C"
\r
11520 ADD FIELD "EntityContactType" OF "EntityContact" AS character
\r
11523 LABEL "Contact Type"
\r
11528 ADD FIELD "PersonCode" OF "EntityContact" AS integer
\r
11529 FORMAT ">>>>99999"
\r
11536 ADD INDEX "XPKEntityContacts" ON "EntityContact"
\r
11537 AREA "Schema Area"
\r
11539 INDEX-FIELD "EntityType" ASCENDING
\r
11540 INDEX-FIELD "EntityCode" ASCENDING
\r
11541 INDEX-FIELD "EntityContactType" ASCENDING
\r
11543 ADD INDEX "XAK1PersonCode" ON "EntityContact"
\r
11544 AREA "Schema Area"
\r
11545 INDEX-FIELD "PersonCode" ASCENDING
\r
11547 ADD TABLE "EntityContactType"
\r
11548 AREA "Schema Area"
\r
11549 DUMP-NAME "ectctype"
\r
11551 ADD FIELD "EntityContactType" OF "EntityContactType" AS character
\r
11558 ADD FIELD "EntityType" OF "EntityContactType" AS character
\r
11559 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
11562 LABEL "Entity type"
\r
11566 COLUMN-LABEL-SA "C"
\r
11569 ADD FIELD "Description" OF "EntityContactType" AS character
\r
11576 ADD INDEX "XPKEntityContactTypes" ON "EntityContactType"
\r
11577 AREA "Schema Area"
\r
11580 INDEX-FIELD "EntityContactType" ASCENDING
\r
11581 INDEX-FIELD "EntityType" ASCENDING
\r
11583 ADD TABLE "VarianceClassification"
\r
11584 AREA "Schema Area"
\r
11585 DUMP-NAME "varclass"
\r
11587 ADD FIELD "VarianceClassification" OF "VarianceClassification" AS character
\r
11590 LABEL "Variance Class"
\r
11595 ADD FIELD "Description" OF "VarianceClassification" AS character
\r
11602 ADD INDEX "XPKVarianceClassifications" ON "VarianceClassification"
\r
11603 AREA "Schema Area"
\r
11606 INDEX-FIELD "VarianceClassification" ASCENDING
\r
11608 ADD TABLE "ActivityStatus"
\r
11609 AREA "Schema Area"
\r
11610 DUMP-NAME "act-stat"
\r
11612 ADD FIELD "ActivityStatus" OF "ActivityStatus" AS character
\r
11617 HELP "Status code for job, task, step"
\r
11620 ADD FIELD "Description" OF "ActivityStatus" AS character
\r
11625 HELP "Description of the status"
\r
11628 ADD INDEX "XPKActivityStatus" ON "ActivityStatus"
\r
11629 AREA "Schema Area"
\r
11632 INDEX-FIELD "ActivityStatus" ASCENDING
\r
11634 ADD TABLE "AssetStatus"
\r
11635 AREA "Schema Area"
\r
11636 DUMP-NAME "ass-stat"
\r
11638 ADD FIELD "AssetStatus" OF "AssetStatus" AS character
\r
11646 ADD FIELD "Description" OF "AssetStatus" AS character
\r
11653 ADD INDEX "XPKAssetStatus" ON "AssetStatus"
\r
11654 AREA "Schema Area"
\r
11657 INDEX-FIELD "AssetStatus" ASCENDING
\r
11659 ADD TABLE "JobLog"
\r
11660 AREA "Schema Area"
\r
11661 DUMP-NAME "joblog"
\r
11662 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "tigger/deJobLog.p" CRC "?"
\r
11664 ADD FIELD "Joblogno" OF "JobLog" AS integer
\r
11669 HELP "Job / Call Number"
\r
11672 ADD FIELD "ActivityStatus" OF "JobLog" AS character
\r
11677 HELP "Status of Job"
\r
11680 ADD FIELD "ServiceRequestedBy" OF "JobLog" AS integer
\r
11685 HELP "Service requested by"
\r
11688 ADD FIELD "Calldate" OF "JobLog" AS date
\r
11689 FORMAT "99/99/9999"
\r
11693 HELP "Date of call"
\r
11696 ADD FIELD "CallTime" OF "JobLog" AS integer
\r
11701 HELP "Time of call"
\r
11704 ADD FIELD "ReceivedBy" OF "JobLog" AS integer
\r
11709 HELP "Request received by"
\r
11712 ADD FIELD "ServiceDetails" OF "JobLog" AS character
\r
11717 HELP "Details of service request"
\r
11720 ADD FIELD "CompletedOn" OF "JobLog" AS date
\r
11721 FORMAT "99/99/9999"
\r
11725 HELP "Date completed"
\r
11728 ADD FIELD "CompletedBy" OF "JobLog" AS integer
\r
11733 HELP "Job completed by"
\r
11736 ADD FIELD "Priority" OF "JobLog" AS integer
\r
11741 HELP "Priority of job; '1' is highest"
\r
11744 ADD FIELD "ActionTaken" OF "JobLog" AS character
\r
11749 HELP "Description of service provided"
\r
11752 ADD INDEX "XPKJobLog" ON "JobLog"
\r
11753 AREA "Schema Area"
\r
11756 INDEX-FIELD "Joblogno" ASCENDING
\r
11758 ADD TABLE "FlowRule"
\r
11759 AREA "Schema Area"
\r
11760 DUMP-NAME "flowrule"
\r
11761 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrflwrul.p" CRC "?"
\r
11763 ADD FIELD "FlowTaskType" OF "FlowRule" AS character
\r
11770 ADD FIELD "FlowStepType" OF "FlowRule" AS character
\r
11777 ADD FIELD "FlowRuleCode" OF "FlowRule" AS character
\r
11784 ADD FIELD "FlowRuleType" OF "FlowRule" AS character
\r
11791 ADD FIELD "Description" OF "FlowRule" AS character
\r
11798 ADD FIELD "NextTaskType" OF "FlowRule" AS character
\r
11805 ADD FIELD "NextStepType" OF "FlowRule" AS character
\r
11812 ADD FIELD "Priority" OF "FlowRule" AS integer
\r
11819 ADD FIELD "ConditionProgram" OF "FlowRule" AS character
\r
11826 ADD FIELD "ConditionProgramParam" OF "FlowRule" AS character
\r
11829 LABEL "Parameters"
\r
11834 ADD FIELD "ActionProgram" OF "FlowRule" AS character
\r
11841 ADD FIELD "ActionProgramParam" OF "FlowRule" AS character
\r
11844 LABEL "Parameters"
\r
11849 ADD INDEX "XPKRule" ON "FlowRule"
\r
11850 AREA "Schema Area"
\r
11853 INDEX-FIELD "FlowTaskType" ASCENDING
\r
11854 INDEX-FIELD "FlowStepType" ASCENDING
\r
11855 INDEX-FIELD "FlowRuleCode" ASCENDING
\r
11857 ADD INDEX "NextStep" ON "FlowRule"
\r
11858 AREA "Schema Area"
\r
11859 INDEX-FIELD "NextTaskType" ASCENDING
\r
11860 INDEX-FIELD "NextStepType" ASCENDING
\r
11862 ADD TABLE "FlowRuleType"
\r
11863 AREA "Schema Area"
\r
11864 DUMP-NAME "fwrultyp"
\r
11866 ADD FIELD "FlowRuleType" OF "FlowRuleType" AS character
\r
11873 ADD FIELD "Description" OF "FlowRuleType" AS character
\r
11880 ADD INDEX "XPKRuleType" ON "FlowRuleType"
\r
11881 AREA "Schema Area"
\r
11884 INDEX-FIELD "FlowRuleType" ASCENDING
\r
11886 ADD TABLE "FlowStep"
\r
11887 AREA "Schema Area"
\r
11888 DUMP-NAME "flowstep"
\r
11889 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrflwstp.p" CRC "?"
\r
11891 ADD FIELD "DueDate" OF "FlowStep" AS date
\r
11892 FORMAT "99/99/9999"
\r
11896 HELP "Due date of task for this step"
\r
11899 ADD FIELD "FlowTaskNo" OF "FlowStep" AS integer
\r
11904 HELP "Task number that the step belongs to"
\r
11907 ADD FIELD "FlowStepNo" OF "FlowStep" AS integer
\r
11912 HELP "Sequence number of step"
\r
11915 ADD FIELD "FlowTaskType" OF "FlowStep" AS character
\r
11920 HELP "Type of task that this step belongs to"
\r
11923 ADD FIELD "FlowStepType" OF "FlowStep" AS character
\r
11928 HELP "Type of process step this is"
\r
11931 ADD FIELD "ActivityStatus" OF "FlowStep" AS character
\r
11936 HELP "Status of step"
\r
11939 ADD FIELD "StatusUpdateDate" OF "FlowStep" AS date
\r
11940 FORMAT "99/99/9999"
\r
11944 HELP "Date of last status update"
\r
11947 ADD FIELD "StepDueDate" OF "FlowStep" AS date
\r
11948 FORMAT "99/99/9999"
\r
11952 HELP "Due date of the step"
\r
11955 ADD FIELD "Description" OF "FlowStep" AS character
\r
11960 HELP "Description of step"
\r
11963 ADD FIELD "AllocatedTo" OF "FlowStep" AS integer
\r
11968 HELP "Person step is allocated to"
\r
11971 ADD FIELD "Contractor" OF "FlowStep" AS integer
\r
11976 HELP "Contractor allocated the job / process"
\r
11979 ADD FIELD "Priority" OF "FlowStep" AS integer
\r
11984 HELP "Priority of step. '1' is highest"
\r
11987 ADD FIELD "EntityType" OF "FlowStep" AS character
\r
11992 HELP "Type of entity"
\r
11995 ADD FIELD "EntityCode" OF "FlowStep" AS integer
\r
12000 HELP "Key value of the entity record"
\r
12003 ADD FIELD "Reference" OF "FlowStep" AS character
\r
12008 HELP "Contractor work order number"
\r
12011 ADD FIELD "NotifyDate" OF "FlowStep" AS date
\r
12012 DESCRIPTION "The date after which this step should show on a bring-up list"
\r
12013 FORMAT "99/99/9999"
\r
12017 HELP "The date after which this step should show on a bring-up list"
\r
12020 ADD INDEX "XPKStep" ON "FlowStep"
\r
12021 AREA "Schema Area"
\r
12024 INDEX-FIELD "DueDate" ASCENDING
\r
12025 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12026 INDEX-FIELD "FlowStepNo" ASCENDING
\r
12028 ADD INDEX "Reference" ON "FlowStep"
\r
12029 AREA "Schema Area"
\r
12031 INDEX-FIELD "Reference" ASCENDING
\r
12033 ADD INDEX "XAK1FlowStep" ON "FlowStep"
\r
12034 AREA "Schema Area"
\r
12035 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12036 INDEX-FIELD "DueDate" ASCENDING
\r
12037 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12038 INDEX-FIELD "FlowStepNo" ASCENDING
\r
12040 ADD INDEX "XAK2FlowStep" ON "FlowStep"
\r
12041 AREA "Schema Area"
\r
12042 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12043 INDEX-FIELD "AllocatedTo" ASCENDING
\r
12044 INDEX-FIELD "DueDate" ASCENDING
\r
12045 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12046 INDEX-FIELD "StepDueDate" ASCENDING
\r
12048 ADD INDEX "XAK3FlowStep" ON "FlowStep"
\r
12049 AREA "Schema Area"
\r
12050 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12051 INDEX-FIELD "Contractor" ASCENDING
\r
12052 INDEX-FIELD "DueDate" ASCENDING
\r
12053 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12054 INDEX-FIELD "StepDueDate" ASCENDING
\r
12056 ADD INDEX "XAK4FlowStep" ON "FlowStep"
\r
12057 AREA "Schema Area"
\r
12058 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12059 INDEX-FIELD "AllocatedTo" ASCENDING
\r
12060 INDEX-FIELD "NotifyDate" ASCENDING
\r
12062 ADD TABLE "FlowStepType"
\r
12063 AREA "Schema Area"
\r
12064 DUMP-NAME "fwstptyp"
\r
12065 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrstptyp.p" CRC "?"
\r
12067 ADD FIELD "FlowTaskType" OF "FlowStepType" AS character
\r
12072 HELP "The type of task that this type of step applies to"
\r
12075 ADD FIELD "FlowStepType" OF "FlowStepType" AS character
\r
12080 HELP "Definitions for a type of step"
\r
12083 ADD FIELD "InitialStatus" OF "FlowStepType" AS character
\r
12088 HELP "Initial status of a new step"
\r
12091 ADD FIELD "InitialPriority" OF "FlowStepType" AS integer
\r
12096 HELP "Initial priority of a new step record"
\r
12099 ADD FIELD "Description" OF "FlowStepType" AS character
\r
12104 HELP "Description of the type of step"
\r
12107 ADD FIELD "WarnPeriod" OF "FlowStepType" AS decimal
\r
12108 FORMAT "->>,>>9.99"
\r
12115 ADD FIELD "WarnUnits" OF "FlowStepType" AS character
\r
12116 DESCRIPTION "Whether the warning period is measured in days or months"
\r
12121 HELP "D = Days, M = Months"
\r
12124 ADD INDEX "XPKFlowStepType" ON "FlowStepType"
\r
12125 AREA "Schema Area"
\r
12128 INDEX-FIELD "FlowTaskType" ASCENDING
\r
12129 INDEX-FIELD "FlowStepType" ASCENDING
\r
12131 ADD TABLE "FlowTask"
\r
12132 AREA "Schema Area"
\r
12133 DUMP-NAME "flowtask"
\r
12134 TABLE-TRIGGER "DELETE" OVERRIDE PROCEDURE "deflwtsk.p" CRC "?"
\r
12136 ADD FIELD "DueDate" OF "FlowTask" AS date
\r
12137 FORMAT "99/99/9999"
\r
12141 HELP "Date task is due to be completed"
\r
12144 ADD FIELD "FlowTaskNo" OF "FlowTask" AS integer
\r
12145 FORMAT ">>>>>>>9"
\r
12149 HELP "Task number"
\r
12152 ADD FIELD "ActivityStatus" OF "FlowTask" AS character
\r
12157 HELP "Status of task"
\r
12160 ADD FIELD "StatusUpdateDate" OF "FlowTask" AS date
\r
12161 FORMAT "99/99/9999"
\r
12165 HELP "Date that status was last updated"
\r
12168 ADD FIELD "Description" OF "FlowTask" AS character
\r
12173 HELP "Description of task"
\r
12176 ADD FIELD "FlowTaskType" OF "FlowTask" AS character
\r
12181 HELP "Type of task"
\r
12184 ADD FIELD "JobLogNo" OF "FlowTask" AS integer
\r
12189 HELP "The job log number that this task is associated to"
\r
12192 ADD FIELD "Priority" OF "FlowTask" AS integer
\r
12197 HELP "Priority of task"
\r
12200 ADD FIELD "AllocatedTo" OF "FlowTask" AS integer
\r
12205 HELP "Person responsible for performing task"
\r
12208 ADD FIELD "EntityType" OF "FlowTask" AS character
\r
12213 HELP "Type of entity"
\r
12216 ADD FIELD "EntityCode" OF "FlowTask" AS integer
\r
12221 HELP "Key value of entity"
\r
12224 ADD INDEX "XPKTask" ON "FlowTask"
\r
12225 AREA "Schema Area"
\r
12228 INDEX-FIELD "DueDate" ASCENDING
\r
12229 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12231 ADD INDEX "XAK1FlowTask" ON "FlowTask"
\r
12232 AREA "Schema Area"
\r
12233 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12234 INDEX-FIELD "DueDate" ASCENDING
\r
12235 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12237 ADD INDEX "XAK2FlowTask" ON "FlowTask"
\r
12238 AREA "Schema Area"
\r
12239 INDEX-FIELD "EntityType" ASCENDING
\r
12240 INDEX-FIELD "EntityCode" ASCENDING
\r
12241 INDEX-FIELD "DueDate" ASCENDING
\r
12243 ADD INDEX "XAK3FlowTask" ON "FlowTask"
\r
12244 AREA "Schema Area"
\r
12245 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12246 INDEX-FIELD "EntityType" ASCENDING
\r
12247 INDEX-FIELD "EntityCode" ASCENDING
\r
12248 INDEX-FIELD "DueDate" ASCENDING
\r
12250 ADD INDEX "XAK4FlowTask" ON "FlowTask"
\r
12251 AREA "Schema Area"
\r
12252 INDEX-FIELD "ActivityStatus" ASCENDING
\r
12253 INDEX-FIELD "AllocatedTo" ASCENDING
\r
12254 INDEX-FIELD "DueDate" ASCENDING
\r
12255 INDEX-FIELD "FlowTaskNo" ASCENDING
\r
12257 ADD TABLE "FlowTaskType"
\r
12258 AREA "Schema Area"
\r
12259 DUMP-NAME "fwtsktyp"
\r
12260 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrtsktyp.p" CRC "?"
\r
12262 ADD FIELD "FlowTaskType" OF "FlowTaskType" AS character
\r
12267 HELP "Type of a task"
\r
12270 ADD FIELD "Description" OF "FlowTaskType" AS character
\r
12275 HELP "Description of task type"
\r
12278 ADD FIELD "InitialStep" OF "FlowTaskType" AS character
\r
12283 HELP "If not blank, the step type is used in the initial creation of workflow records (steps) for the task"
\r
12286 ADD INDEX "XPKTaskType" ON "FlowTaskType"
\r
12287 AREA "Schema Area"
\r
12290 INDEX-FIELD "FlowTaskType" ASCENDING
\r
12292 ADD TABLE "Inspector"
\r
12293 AREA "Schema Area"
\r
12294 DUMP-NAME "inspecto"
\r
12296 ADD FIELD "InspectorCode" OF "Inspector" AS integer
\r
12297 FORMAT "->,>>>,>>9"
\r
12303 ADD FIELD "PersonCode" OF "Inspector" AS integer
\r
12309 HELP "The person who is this inspector"
\r
12312 ADD FIELD "CreditorCode" OF "Inspector" AS integer
\r
12313 DESCRIPTION "The code used to refer to a creditor."
\r
12319 HELP "The creditor who is billed for this inspectors work"
\r
12322 ADD INDEX "XPKInspector" ON "Inspector"
\r
12323 AREA "Schema Area"
\r
12326 INDEX-FIELD "InspectorCode" ASCENDING
\r
12328 ADD TABLE "ScenarioAssumption"
\r
12329 AREA "Schema Area"
\r
12330 DUMP-NAME "scnass"
\r
12332 ADD FIELD "ScenarioCode" OF "ScenarioAssumption" AS integer
\r
12333 DESCRIPTION "A code to identify the scenario."
\r
12340 ADD FIELD "MonthCode" OF "ScenarioAssumption" AS integer
\r
12341 DESCRIPTION "The code of the month that this assumption applies from"
\r
12349 ADD FIELD "Scope" OF "ScenarioAssumption" AS character
\r
12350 DESCRIPTION "The scope of the assumption (G)lobal, (R)egional or (P)roperty."
\r
12355 HELP "The scope of the assumption (G)lobal, (R)egional or (P)roperty"
\r
12358 ADD FIELD "Region" OF "ScenarioAssumption" AS character
\r
12365 ADD FIELD "EntityType" OF "ScenarioAssumption" AS character
\r
12366 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
12369 LABEL "Entity type"
\r
12373 COLUMN-LABEL-SA "C"
\r
12376 ADD FIELD "EntityCode" OF "ScenarioAssumption" AS integer
\r
12382 COLUMN-LABEL-SA "C"
\r
12385 ADD FIELD "TypeScope" OF "ScenarioAssumption" AS character
\r
12386 DESCRIPTION "The area or service contract type which the assuption applies to"
\r
12394 ADD FIELD "AssumptionType" OF "ScenarioAssumption" AS character
\r
12401 ADD FIELD "AssumptionValue" OF "ScenarioAssumption" AS character
\r
12404 LABEL "Assumption"
\r
12409 ADD INDEX "XPKScenarioAssumptions" ON "ScenarioAssumption"
\r
12410 AREA "Schema Area"
\r
12412 INDEX-FIELD "ScenarioCode" ASCENDING
\r
12413 INDEX-FIELD "MonthCode" ASCENDING
\r
12414 INDEX-FIELD "Scope" ASCENDING
\r
12415 INDEX-FIELD "Region" ASCENDING
\r
12416 INDEX-FIELD "EntityType" ASCENDING
\r
12417 INDEX-FIELD "EntityCode" ASCENDING
\r
12418 INDEX-FIELD "TypeScope" ASCENDING
\r
12419 INDEX-FIELD "AssumptionType" ASCENDING
\r
12421 ADD INDEX "XAK1ScenarioAssumptions" ON "ScenarioAssumption"
\r
12422 AREA "Schema Area"
\r
12423 INDEX-FIELD "ScenarioCode" ASCENDING
\r
12424 INDEX-FIELD "Scope" ASCENDING
\r
12425 INDEX-FIELD "Region" ASCENDING
\r
12426 INDEX-FIELD "EntityType" ASCENDING
\r
12427 INDEX-FIELD "EntityCode" ASCENDING
\r
12428 INDEX-FIELD "MonthCode" ASCENDING
\r
12429 INDEX-FIELD "TypeScope" ASCENDING
\r
12431 ADD TABLE "PropForecast"
\r
12432 AREA "Schema Area"
\r
12433 DESCRIPTION "Forecast information for properties"
\r
12434 DUMP-NAME "propfcst"
\r
12436 ADD FIELD "PropertyCode" OF "PropForecast" AS integer
\r
12437 DESCRIPTION "The code used to refer to a property"
\r
12445 ADD FIELD "EntityType" OF "PropForecast" AS character
\r
12446 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
12449 LABEL "Entity type"
\r
12453 COLUMN-LABEL-SA "C"
\r
12456 ADD FIELD "EntityCode" OF "PropForecast" AS integer
\r
12462 COLUMN-LABEL-SA "C"
\r
12465 ADD FIELD "AccountCode" OF "PropForecast" AS decimal
\r
12466 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
12475 ADD FIELD "PropForecastType" OF "PropForecast" AS character
\r
12480 HELP "The type of property forecast record"
\r
12483 ADD FIELD "MonthCode" OF "PropForecast" AS integer
\r
12484 DESCRIPTION "The code of the month that this forecast applies to."
\r
12492 ADD FIELD "Amount" OF "PropForecast" AS decimal
\r
12493 DESCRIPTION "The forecast amount for this entity/type/month"
\r
12494 FORMAT "->>,>>>,>>>,>>9.99"
\r
12498 HELP "The forecast amount for this entity/type/month"
\r
12502 ADD INDEX "XPKPropForecast" ON "PropForecast"
\r
12503 AREA "Schema Area"
\r
12506 INDEX-FIELD "PropertyCode" ASCENDING
\r
12507 INDEX-FIELD "EntityType" ASCENDING
\r
12508 INDEX-FIELD "EntityCode" ASCENDING
\r
12509 INDEX-FIELD "AccountCode" ASCENDING
\r
12510 INDEX-FIELD "PropForecastType" ASCENDING
\r
12511 INDEX-FIELD "MonthCode" ASCENDING
\r
12513 ADD TABLE "PropForecastParam"
\r
12514 AREA "Schema Area"
\r
12515 DESCRIPTION "Parameters generally controlling the forecast for the property"
\r
12516 DUMP-NAME "propfcpr"
\r
12518 ADD FIELD "PropertyCode" OF "PropForecastParam" AS integer
\r
12519 DESCRIPTION "The code used to refer to a property"
\r
12527 ADD FIELD "MonthCode" OF "PropForecastParam" AS integer
\r
12528 DESCRIPTION "The code used to refer to a financial period (month)"
\r
12534 HELP "The code used to refer to a financial period (month)"
\r
12537 ADD FIELD "ParameterID" OF "PropForecastParam" AS character
\r
12538 DESCRIPTION "Identifies the parameter - for use by the programs which use it."
\r
12545 ADD FIELD "ParameterValue" OF "PropForecastParam" AS character
\r
12546 DESCRIPTION "The value of the parameter"
\r
12553 ADD INDEX "XPKPropForecastParam" ON "PropForecastParam"
\r
12554 AREA "Schema Area"
\r
12557 INDEX-FIELD "PropertyCode" ASCENDING
\r
12558 INDEX-FIELD "ParameterID" ASCENDING
\r
12559 INDEX-FIELD "MonthCode" ASCENDING
\r
12561 ADD INDEX "XAK1PropForecastParam" ON "PropForecastParam"
\r
12562 AREA "Schema Area"
\r
12564 INDEX-FIELD "PropertyCode" ASCENDING
\r
12565 INDEX-FIELD "MonthCode" ASCENDING
\r
12566 INDEX-FIELD "ParameterID" ASCENDING
\r
12568 ADD INDEX "XAK2PropForecastParam" ON "PropForecastParam"
\r
12569 AREA "Schema Area"
\r
12571 INDEX-FIELD "MonthCode" ASCENDING
\r
12572 INDEX-FIELD "ParameterID" ASCENDING
\r
12573 INDEX-FIELD "PropertyCode" ASCENDING
\r
12575 ADD TABLE "PropForecastType"
\r
12576 AREA "Schema Area"
\r
12577 DESCRIPTION "Description of types of records used in Property Forecasting"
\r
12578 DUMP-NAME "propfcty"
\r
12580 ADD FIELD "PropForecastType" OF "PropForecastType" AS character
\r
12585 HELP "The type of property forecast record"
\r
12588 ADD FIELD "Description" OF "PropForecastType" AS character
\r
12593 HELP "Description of the type of property forecast record"
\r
12596 ADD INDEX "XPKPropForecastType" ON "PropForecastType"
\r
12597 AREA "Schema Area"
\r
12600 INDEX-FIELD "PropForecastType" ASCENDING
\r
12602 ADD TABLE "BankImportException"
\r
12603 AREA "Schema Area"
\r
12604 DESCRIPTION "Exceptions to the normal bank import process"
\r
12605 DUMP-NAME "bnkimpex"
\r
12607 ADD FIELD "BankAccountCode" OF "BankImportException" AS character
\r
12615 ADD FIELD "TrnType" OF "BankImportException" AS character
\r
12622 ADD FIELD "Match1" OF "BankImportException" AS character
\r
12629 ADD FIELD "Match2" OF "BankImportException" AS character
\r
12636 ADD FIELD "EntityType" OF "BankImportException" AS character
\r
12637 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
12640 LABEL "Entity type"
\r
12644 COLUMN-LABEL-SA "C"
\r
12647 ADD FIELD "EntityCode" OF "BankImportException" AS integer
\r
12653 COLUMN-LABEL-SA "C"
\r
12656 ADD FIELD "AccountCode" OF "BankImportException" AS decimal
\r
12657 DESCRIPTION "The account code to direct transactions to"
\r
12666 ADD FIELD "Description" OF "BankImportException" AS character
\r
12671 HELP "The description of the transaction created"
\r
12674 ADD INDEX "XPKBankImportExceptions" ON "BankImportException"
\r
12675 AREA "Schema Area"
\r
12677 INDEX-FIELD "BankAccountCode" ASCENDING
\r
12678 INDEX-FIELD "TrnType" ASCENDING
\r
12680 ADD TABLE "SupplyMeterReading"
\r
12681 AREA "Schema Area"
\r
12682 DESCRIPTION "Readings from supply meters"
\r
12683 DUMP-NAME "smetread"
\r
12685 ADD FIELD "PropertyCode" OF "SupplyMeterReading" AS integer
\r
12686 DESCRIPTION "The code used to refer to a property"
\r
12694 ADD FIELD "OldMeterCode" OF "SupplyMeterReading" AS integer
\r
12702 ADD FIELD "SupplyType" OF "SupplyMeterReading" AS character
\r
12707 HELP "The type of supply metered"
\r
12710 ADD FIELD "ReadingDate" OF "SupplyMeterReading" AS date
\r
12711 FORMAT "99/99/9999"
\r
12715 HELP "The date on which this reading was taken"
\r
12718 ADD FIELD "Reading" OF "SupplyMeterReading" AS decimal
\r
12719 FORMAT "->>,>>>,>>>,>>9"
\r
12723 HELP "The amount of the reading"
\r
12727 ADD FIELD "MeterCode" OF "SupplyMeterReading" AS character
\r
12734 ADD INDEX "XPKSupplyMeterReading" ON "SupplyMeterReading"
\r
12735 AREA "Schema Area"
\r
12738 INDEX-FIELD "SupplyType" ASCENDING
\r
12739 INDEX-FIELD "PropertyCode" ASCENDING
\r
12740 INDEX-FIELD "MeterCode" ASCENDING
\r
12741 INDEX-FIELD "ReadingDate" ASCENDING
\r
12743 ADD INDEX "XAK1SupplyMeterReading" ON "SupplyMeterReading"
\r
12744 AREA "Schema Area"
\r
12745 INDEX-FIELD "PropertyCode" ASCENDING
\r
12746 INDEX-FIELD "ReadingDate" ASCENDING
\r
12748 ADD TABLE "LookupCode"
\r
12749 AREA "Schema Area"
\r
12750 LABEL "Lookup Codes"
\r
12751 DESCRIPTION "Arbitrary lookup code values for any field of any table"
\r
12752 DUMP-NAME "lookups"
\r
12754 ADD FIELD "_File-Name" OF "LookupCode" AS character
\r
12755 DESCRIPTION "The name of the file which the lookup code applies to"
\r
12758 LABEL "File name"
\r
12763 ADD FIELD "_Field-Name" OF "LookupCode" AS character
\r
12764 DESCRIPTION "The name of the field which the lookup code applies to"
\r
12767 LABEL "Field name"
\r
12772 ADD FIELD "LookupCode" OF "LookupCode" AS character
\r
12773 DESCRIPTION "The code for the lookup"
\r
12781 ADD FIELD "Description" OF "LookupCode" AS character
\r
12782 DESCRIPTION "A brief description of the lookup code"
\r
12785 LABEL "Description"
\r
12790 ADD FIELD "LookupData" OF "LookupCode" AS character
\r
12791 DESCRIPTION "Data associated with the lookup code, if needed"
\r
12794 LABEL "Lookup data"
\r
12799 ADD INDEX "XPKLookupCodes" ON "LookupCode"
\r
12800 AREA "Schema Area"
\r
12803 INDEX-FIELD "_File-Name" ASCENDING
\r
12804 INDEX-FIELD "_Field-Name" ASCENDING
\r
12805 INDEX-FIELD "LookupCode" ASCENDING
\r
12807 ADD TABLE "PersonDetail"
\r
12808 AREA "Schema Area"
\r
12809 LABEL "Person Details"
\r
12810 DESCRIPTION "Arbitrary and extensible information related to a person"
\r
12811 DUMP-NAME "persdetl"
\r
12813 ADD FIELD "PersonCode" OF "PersonDetail" AS integer
\r
12814 DESCRIPTION "A code used to refer to this person."
\r
12817 LABEL "Person code"
\r
12820 COLUMN-LABEL "Person"
\r
12823 ADD FIELD "PersonDetailType" OF "PersonDetail" AS character
\r
12830 ADD FIELD "SupplementaryType" OF "PersonDetail" AS character
\r
12831 DESCRIPTION "Designed to be used where multiple values for one type are allowable. Should be under program control."
\r
12838 ADD FIELD "DataValue" OF "PersonDetail" AS character
\r
12839 DESCRIPTION "The data associated with this person for this type / supplementary type reason."
\r
12846 ADD FIELD "ContactType" OF "PersonDetail" AS character
\r
12847 DESCRIPTION "The type of contact involved."
\r
12855 ADD INDEX "XPKPersonDetails" ON "PersonDetail"
\r
12856 AREA "Schema Area"
\r
12859 INDEX-FIELD "PersonCode" ASCENDING
\r
12860 INDEX-FIELD "PersonDetailType" ASCENDING
\r
12861 INDEX-FIELD "SupplementaryType" ASCENDING
\r
12863 ADD INDEX "XAK1PersonDetails" ON "PersonDetail"
\r
12864 AREA "Schema Area"
\r
12865 INDEX-FIELD "PersonDetailType" ASCENDING
\r
12866 INDEX-FIELD "SupplementaryType" ASCENDING
\r
12868 ADD TABLE "PersonDetailType"
\r
12869 AREA "Schema Area"
\r
12870 DUMP-NAME "perdetyp"
\r
12872 ADD FIELD "PersonDetailType" OF "PersonDetailType" AS character
\r
12875 LABEL "Person Detail Type"
\r
12880 ADD FIELD "Description" OF "PersonDetailType" AS character
\r
12887 ADD INDEX "XPKPersonDetailTypes" ON "PersonDetailType"
\r
12888 AREA "Schema Area"
\r
12891 INDEX-FIELD "PersonDetailType" ASCENDING
\r
12893 ADD TABLE "EntityList"
\r
12894 AREA "Schema Area"
\r
12895 LABEL "Entity List"
\r
12896 DESCRIPTION "Contains lists of entities to provide arbitrary groupings"
\r
12897 DUMP-NAME "ent-list"
\r
12899 ADD FIELD "ListType" OF "EntityList" AS character
\r
12900 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
12903 LABEL "List Type"
\r
12907 COLUMN-LABEL-SA "C"
\r
12910 ADD FIELD "ListCode" OF "EntityList" AS character
\r
12911 DESCRIPTION "A unique code identifying this list"
\r
12914 LABEL "List code"
\r
12919 ADD FIELD "Description" OF "EntityList" AS character
\r
12920 DESCRIPTION "A description of the list"
\r
12925 HELP "A description of the list"
\r
12928 ADD INDEX "XPKEntityList" ON "EntityList"
\r
12929 AREA "Schema Area"
\r
12932 INDEX-FIELD "ListType" ASCENDING
\r
12933 INDEX-FIELD "ListCode" ASCENDING
\r
12935 ADD TABLE "EntityListMember"
\r
12936 AREA "Schema Area"
\r
12937 LABEL "Entity List Member"
\r
12938 DESCRIPTION "Members of entity lists"
\r
12939 DUMP-NAME "entlsmem"
\r
12941 ADD FIELD "ListType" OF "EntityListMember" AS character
\r
12942 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
12945 LABEL "List Type"
\r
12949 COLUMN-LABEL-SA "C"
\r
12952 ADD FIELD "ListCode" OF "EntityListMember" AS character
\r
12953 DESCRIPTION "A unique code identifying this list"
\r
12956 LABEL "List code"
\r
12961 ADD FIELD "EntityType" OF "EntityListMember" AS character
\r
12962 DESCRIPTION "A reference to the entity types table indicating the type of entity of this list member (Company, Property, Project, Creditor or Tenant)."
\r
12965 LABEL "Entity type"
\r
12969 COLUMN-LABEL-SA "C"
\r
12972 ADD FIELD "EntityCode" OF "EntityListMember" AS integer
\r
12978 COLUMN-LABEL-SA "C"
\r
12981 ADD FIELD "AccountCode" OF "EntityListMember" AS decimal
\r
12982 DESCRIPTION "The code of the account from within the chart of accounts that this ledger account applies to."
\r
12991 ADD FIELD "SortSequence" OF "EntityListMember" AS integer
\r
12992 DESCRIPTION "An arbitrary integer to provide a sorted list"
\r
12993 FORMAT "->>>,>>9"
\r
12998 HELP "An arbitrary integer to provide an alternative list order"
\r
13001 ADD INDEX "XPKEntityListMember" ON "EntityListMember"
\r
13002 AREA "Schema Area"
\r
13005 INDEX-FIELD "ListType" ASCENDING
\r
13006 INDEX-FIELD "ListCode" ASCENDING
\r
13007 INDEX-FIELD "SortSequence" ASCENDING
\r
13008 INDEX-FIELD "EntityType" ASCENDING
\r
13009 INDEX-FIELD "EntityCode" ASCENDING
\r
13010 INDEX-FIELD "AccountCode" ASCENDING
\r
13012 ADD INDEX "XAKEntityListMember" ON "EntityListMember"
\r
13013 AREA "Schema Area"
\r
13015 DESCRIPTION "Index to ensure correct uniqueness, and entity sort ordering (if desired)."
\r
13016 INDEX-FIELD "ListType" ASCENDING
\r
13017 INDEX-FIELD "ListCode" ASCENDING
\r
13018 INDEX-FIELD "EntityType" ASCENDING
\r
13019 INDEX-FIELD "EntityCode" ASCENDING
\r
13020 INDEX-FIELD "AccountCode" ASCENDING
\r
13022 ADD TABLE "TenantCall"
\r
13023 AREA "Schema Area"
\r
13024 DESCRIPTION "Register calls from tenants"
\r
13025 DUMP-NAME "tnntcall"
\r
13026 TABLE-TRIGGER "WRITE" OVERRIDE PROCEDURE "wrtntcal.p" CRC "?"
\r
13028 ADD FIELD "CallNumber" OF "TenantCall" AS integer
\r
13029 FORMAT "->,>>>,>>9"
\r
13036 ADD FIELD "PropertyCode" OF "TenantCall" AS integer
\r
13044 ADD FIELD "Level" OF "TenantCall" AS integer
\r
13045 FORMAT "->,>>>,>>9"
\r
13051 ADD FIELD "TenantCode" OF "TenantCall" AS integer
\r
13052 DESCRIPTION "A code used to refer to this tenant."
\r
13059 ADD FIELD "Problem" OF "TenantCall" AS character
\r
13066 ADD FIELD "Action" OF "TenantCall" AS character
\r
13073 ADD FIELD "DateOfCall" OF "TenantCall" AS date
\r
13074 FORMAT "99/99/9999"
\r
13076 LABEL "Call Date"
\r
13081 ADD FIELD "CallCategoryCode" OF "TenantCall" AS character
\r
13089 ADD FIELD "CallStatusCode" OF "TenantCall" AS character
\r
13092 LABEL "Call Status"
\r
13097 ADD FIELD "TimeOfCall" OF "TenantCall" AS integer
\r
13100 LABEL "Call Time"
\r
13105 ADD FIELD "DateComplete" OF "TenantCall" AS date
\r
13106 FORMAT "99/99/9999"
\r
13108 LABEL "Date Complete"
\r
13113 ADD FIELD "TimeComplete" OF "TenantCall" AS integer
\r
13120 ADD FIELD "CreditorCode" OF "TenantCall" AS integer
\r
13121 DESCRIPTION "The creditor who is contracted to provide this service for this property"
\r
13124 LABEL "Creditor code"
\r
13127 COLUMN-LABEL "Code"
\r
13130 ADD FIELD "OrderNo" OF "TenantCall" AS integer
\r
13138 ADD FIELD "OrderAmount" OF "TenantCall" AS decimal
\r
13139 FORMAT "->>,>>>,>>9.99"
\r
13141 LABEL "Order Amt"
\r
13147 ADD FIELD "Priority" OF "TenantCall" AS character
\r
13150 LABEL "Job Priority"
\r
13155 ADD FIELD "ContactName" OF "TenantCall" AS character
\r
13158 LABEL "Tnnt Contact"
\r
13163 ADD FIELD "ContactPhone" OF "TenantCall" AS character
\r
13166 LABEL "Contact Phone"
\r
13171 ADD FIELD "Description" OF "TenantCall" AS character
\r
13174 LABEL "Description"
\r
13179 ADD FIELD "LoggedBy" OF "TenantCall" AS integer
\r
13180 DESCRIPTION "A reference to the person who logged this call."
\r
13183 LABEL "Logged By"
\r
13186 COLUMN-LABEL "Logged By"
\r
13189 ADD FIELD "LastEmailDate" OF "TenantCall" AS date
\r
13190 DESCRIPTION "Date last email notification was sent to Building Manager."
\r
13191 FORMAT "99/99/9999"
\r
13193 LABEL "Email Sent"
\r
13196 COLUMN-LABEL "EmailDate"
\r
13197 HELP "The date on which last email was sent to Building Manager."
\r
13200 ADD FIELD "SendEmail" OF "TenantCall" AS logical
\r
13201 DESCRIPTION "Flag email to Building Manager required."
\r
13204 LABEL "Email Building Manager"
\r
13207 COLUMN-LABEL "SendEmail"
\r
13208 HELP "Send notification email to Building Manager."
\r
13211 ADD INDEX "XPKTenantCall" ON "TenantCall"
\r
13212 AREA "Schema Area"
\r
13215 INDEX-FIELD "CallNumber" ASCENDING
\r
13217 ADD INDEX "XAK1TenantCall" ON "TenantCall"
\r
13218 AREA "Schema Area"
\r
13219 INDEX-FIELD "PropertyCode" ASCENDING
\r
13220 INDEX-FIELD "DateOfCall" DESCENDING
\r
13222 ADD INDEX "XAK2TenantCall" ON "TenantCall"
\r
13223 AREA "Schema Area"
\r
13224 INDEX-FIELD "CallStatusCode" ASCENDING
\r
13225 INDEX-FIELD "DateOfCall" ASCENDING
\r
13227 ADD INDEX "XAK3TenantCall" ON "TenantCall"
\r
13228 AREA "Schema Area"
\r
13229 INDEX-FIELD "TenantCode" ASCENDING
\r
13230 INDEX-FIELD "DateOfCall" DESCENDING
\r
13232 ADD INDEX "XAK4TenantCall" ON "TenantCall"
\r
13233 AREA "Schema Area"
\r
13234 INDEX-FIELD "CallStatusCode" ASCENDING
\r
13235 INDEX-FIELD "TenantCode" ASCENDING
\r
13236 INDEX-FIELD "DateOfCall" DESCENDING
\r
13238 ADD INDEX "XAK5TenantCall" ON "TenantCall"
\r
13239 AREA "Schema Area"
\r
13240 INDEX-FIELD "CallCategoryCode" ASCENDING
\r
13242 ADD INDEX "XAK6TenantCall" ON "TenantCall"
\r
13243 AREA "Schema Area"
\r
13245 INDEX-FIELD "Problem" ASCENDING
\r
13247 ADD TABLE "PropertyView"
\r
13248 AREA "Schema Area"
\r
13249 DESCRIPTION "Sparse table holding overrides for the Rental Space table which redefine how it should appear on the Property Picture report"
\r
13250 DUMP-NAME "propview"
\r
13252 ADD FIELD "PropertyCode" OF "PropertyView" AS integer
\r
13253 DESCRIPTION "The property that this rental space is a part of"
\r
13261 ADD FIELD "RentalSpaceCode" OF "PropertyView" AS integer
\r
13262 DESCRIPTION "A sequence number which identifies this rental space within the property."
\r
13265 LABEL "Rental space code"
\r
13268 COLUMN-LABEL "Space"
\r
13271 ADD FIELD "Sequence" OF "PropertyView" AS integer
\r
13272 DESCRIPTION "Arbitrary sequence within rental space"
\r
13273 FORMAT "->,>>>,>>9"
\r
13279 ADD FIELD "Level" OF "PropertyView" AS integer
\r
13280 DESCRIPTION "Level within building, overriding the RentalSpace level"
\r
13281 FORMAT "->,>>>,>>9"
\r
13287 ADD FIELD "LevelSequence" OF "PropertyView" AS integer
\r
13288 DESCRIPTION "Sequence within level overriding the RentalSpace level sequence"
\r
13289 FORMAT "->,>>>,>>9"
\r
13295 ADD FIELD "AreaType" OF "PropertyView" AS character
\r
13296 DESCRIPTION "The type of rental space eg. Office, Rental, Carpark, Warehouse, etc, overriding the rental space"
\r
13299 LABEL "Area type"
\r
13302 COLUMN-LABEL "Type"
\r
13305 ADD FIELD "AreaSize" OF "PropertyView" AS decimal
\r
13306 DESCRIPTION "The area of the rental space in square metres., overriding the rental space"
\r
13307 FORMAT "->>,>>9.99"
\r
13312 COLUMN-LABEL-SA "C"
\r
13316 ADD FIELD "TenantName" OF "PropertyView" AS character
\r
13317 DESCRIPTION "The name of the tenant for this (sub)area, overriding the name from the lease"
\r
13324 ADD INDEX "XPKPropertyView" ON "PropertyView"
\r
13325 AREA "Schema Area"
\r
13328 DESCRIPTION "Index into property view table"
\r
13329 INDEX-FIELD "PropertyCode" ASCENDING
\r
13330 INDEX-FIELD "RentalSpaceCode" ASCENDING
\r
13331 INDEX-FIELD "Sequence" ASCENDING
\r
13335 cpstream=ISO8859-1
\r