Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Document Templates are Microsoft Word-based documents used to merge data from specific functional areas, such as permits, evaluations and compliance actions. Document templates are used to create letters, permits, inspection reports, or just about any other document. For more information on how to edit and format documents using Microsoft Word visit Microsoft Word Help Center.

In order to use the Document Template editor, the AceOffix browser plugin must be installed on the client desktop browser.  In addition, Microsoft Office must also be installed on the desktop.  

To edit document templates, navigate to Admin > Document Templates. This page displays a list of existing document templates; to edit a template, click the corresponding Open button. Or, to create a new template, click the Add New Document Template button. In either case, a page will display to configure the document template. To review an existing document template click on Preview or Edit to start editing the document template. If Preview or Edit is clicked, an AceOffix window opens (as the New Document Template or Edit Document Template page).

Info

Note that, when editing or viewing a document template in the AceOffix window, a popup window will be displayed over the main nVIRO page, indicating that AceOffix is open in another window. 

Editing a Document Template Using AceOffix

AceOffix window contains the Editor section, which displays the document itself as an editable Word document, along with a list of merge fields available for insertion into the document (Left Side). 

Image Removed

Creating a document is the same as creating a document in Microsoft Word, the only change is the words or values that would change dynamically based on the Permit information, Inspection, or any other data that would be different from one document to another.

Insertable Fields Type

There are two types of fields, single insertable fields (nonbold), and Looping insertable fields (bold).

Single Insertable Fields

Listed in a nonbold typeface. To insert a field in the document, double click on any nonbold insertable fields from the list, a text will be inserted in the document (at the location of cursor) in the form of
Code Block
languagetext
<<[FieldName]>>

 this field will be changed to its corresponding value when previewing or generating the document. 

Image Removed 

Looping Insertable Fields

Which is listed as a bold insertable field in the list. The Bold insertable field, groups multiple fields that represent a table of values. For example, a site usually have multiple contacts associated with it, to insert in a document all contacts, double click contacts, a text will be inserted in the document (at the location of cursor) in the form of 

Code Block
languagetext
<<foreach [contact in contacts]>> <</foreach>>

 which will loop through all contacts available for that document. For more details on loops visit Using Loops in Document Templates.

Image Removed

To display the items available within a bold insertable field, single-click on any bold insertable fields which will display the available fields.

Image Removed

For more details on how to use loops in a document check Document Template Syntax Guide.

Document Template Possibilities

The Document template tool is a powerful tool which can regenerate complicated document based on logic and data sources, it can also perform data manipulation and calculations. Some of the codes that could be used in a document template can be found at Document Template Syntax Guide page.

Standard Document Template Fields

The table lists all of the standard document template fields for view-based data sources, Image Removed the loop icon represents that the insertable field contains multiple fields and each field contains multiple data which will require a loop to display these data, check Using Loops in Document Templates:

Ui expand
expandedtrue
titleDocument Template Fields
Ui expand
titleApplication/Request Fields

The view name for this data source in database is VW_SVC_DATASRC_APP_REQUEST_STDRD_NOPARSE

Subject AreaInsertable Field NameDescriptionSubmission InformationIdSystem Submission IDSubmissionReferenceNumberSubmission Reference NumberSubmissionFormNumbernFORM submission numberSubmissionFormNameForm NameSubmissionFormTypeAction TypeSubmissionActionTypeSubmission Type (Application, Permit Change, etc..)SubmissionProjectNameProject NameSubmissionReceivedDateSubmission Received Date (yyyy-MM-dd HH:MM:SS)SubmissionCompleteDateSubmission Completed Date (yyyy-MM-dd HH:MM:SS)SubmissionPrioritySubmission PrioritySubmissionProcessDueDateSubmission Due Date (yyyy-MM-dd HH:MM:SS)SubmissionReviewCompleteDateSubmission Review Completed Date (yyyy-MM-dd HH:MM:SS)

Submission Contact

(Applicant contact role)

ApplicantPrefixApplicant Prefix (Mr, Ms, Mrs., etc.)ApplicantNameApplicant Display NameApplicantFirstNameApplicant First NameApplicantLastNameApplicant Last NameApplicantAddress1Applicant Address Line 1 ApplicantAddress2Applicant Address Line 2 ApplicantCityApplicant City ApplicantStateCodeApplicant State (2 letters format)ApplicantZipApplicant ZipcodeApplicantPhoneApplicant Phone formatted with Extension if availableApplicantTitleApplicant TitleApplicantOrganizationApplicant OrganizationAssigned StaffSubmissionStaffWorkgroupNameAssigned Workgroup NameSubmissionStaffDisplayNameStaff Display Name who's the application is assigned toSubmissionStaffFirstNameStaff First NameSubmissionStaffLastNameStaff Last NameSubmissionStaffEmailStaff Email addressSubmissionStaffPhoneStaff Phone Number with extinction if available SubmissionStaffOrganizationStaff Organization NameSubmissionStaffWorkgroupSupervisorNameStaff Supervisor NameSystem InfoAgencyAcronymAgency AcronymAgencyFullNameAgency Full NameSystemContactUrlWebsite address for agency contact informationSystemNameSystem NameSystemUrlSystem website addressSystemIsProductionSystem is Production (1 or 0 values)SiteSiteNumberSite NumberSiteNameSite NameSiteAddress

Site full address,

Address Line 1

Address Line 2

City, State Zip-Code

SiteAddress1Site Address line 1SiteAddress2Site Address line 2SiteCitySite CitySiteStateCodeSite State (2 letters format)SiteZipCodeSite ZipcodeSiteTaxParcelNumberSite Parcel Id SiteAddressCommentsSite Address CommentsSiteOwnrshTypeOwner Type (Public, Private, etc..)SiteSicListStandard Industrial Classification Code (SIC)SiteNaicsListNorth American Industry Classification System Code (NAICS)Site LocationSiteLatitudeSite LatitudeSiteLongitudeSite LongitudeSiteCountySite County NameSiteFipsCodeSite FIPS Code (Federal Information Processing Standard)

Image Removed

Site Alt Name

SiteAltNames_SiteAltNameTypeDescriptionSite Alternative Name Description (Master ID, Historical Name, etc..)SiteAltNames_SiteAltNameTypeCodeSite Alternative Name TagSiteAltNames_SiteAltNameSite Alternative Name DescriptionDistrict OfficeDistrictOfficeNameName of District Office (Based on County defined in District Office Lookups)DistrictSupervisorNameDistrict Office Supervisor NameDistrictOfficeAddressDistrict Office full address,

Address Line 1

Address Line 2

City, State Zip-Code

DistrictOfficeAddress1District Office Address Line 1DistrictOfficeAddress2District Office Address Line 2DistrictOfficeCityDistrict Office CityDistrictOfficeStateDistrict Office State (2 Letters Format)DistrictOfficeZipDistrict Office Zip codeDistrictOfficePhoneDistrict Office Phone formatted with Extension if availableDistrictOfficeFaxDistrict Office Fax numberImage Removed

Contact

Contacts_ContactPrefixContact Prefix (Mr, Ms, Mrs., etc.)Contacts_ContactFirstNameFirst NameContacts_ContactLastNameLast NameContacts_ContactNameDisplay NameContacts_ContactOrganizationNameOrganization NameContacts_ContactTitleTitleContacts_ContactAddress1Address Line 1Contacts_ContactAddress2Address Line 2Contacts_ContactCityCityContacts_ContactState

Contact State (2 letters format)

Contacts_ContactZipCodeZip CodeContacts_ContactCityStateZipCity, State Zip Code (Portland, OR 97239)Contacts_ContactEmailEmailContacts_AffiliationTypeCodeContact Affiliation Code, a List of types is configured in Admin → Lookups → Affiliation Types (Roles)Contacts_AffiliationTypeDescriptionContact Affiliation Description, a List of types is configured in Admin → Lookups → Affiliation Types (Roles)Contacts_ContactPhonePhone NumberContacts_ContactPhoneExtensionPhone ExtensionContacts_ContactPhoneTypeDescriptionPhone Type (Home, Mobile, etc..)Permit InfoPermitNumberPermit NumberPermitVersionPermit Version this is the major version before the decimal (1.x)PermitRevisionpermit revision, this is the first decimal after the version (x.1)PermitNumberAndVersionPermit number and version eg. (PRMT0001 v 1.0)PermitCategoryPermit CategoryPermitTypePermit TypePermitStatusPermit Status (In Effect, Expired, etc...)PermitIssueDatePermit Issue Date (yyyy-MM-dd HH:MM:SS)PermitEffectiveDatePermit Effective Date (yyyy-MM-dd HH:MM:SS)PermitExpireDatePermit Expiration Date (yyyy-MM-dd HH:MM:SS) Ui expand
titlePermit Fields

The view name for this data source in database is VW_SVC_DATASRC_PERMIT_STDRD_NOPARSE

Subject AreaInsertable Field NameDescriptionAssigned StaffAgencyContactOrganizationAgency Contact OrganizationAgencyContactUserDisplayNameAgency Contact User Display NameAgencyContactUserEmailAgency Contact User EmailAgencyContactUserFirstNameAgency Contact User First NameAgencyContactUserLastNameAgency Contact User Last NameAgencyContactUserPhoneAgency Contact User Phone formatted with Extension if availableAgencyContactWorkgroupNameAgency Contact Workgroup NameAgencyContactWorkgroupSupervisorNameAgency Contact Workgroup Supervisor NameCompliance StaffComplianceManagerDisplayNameCompliance Manager Dipslay NameComplianceManagerEmailCompliance Manager EmailComplianceManagerFirstNameCompliance Manager First NameComplianceManagerLastNameCompliance Manager Last NameComplianceManagerOrganizationCompliance Manager OrganizationComplianceManagerPhoneCompliance Manager Phone formatted with Extension if availableComplianceManagerWorkgroupNameCompliance Manager Workgroup NameComplianceManagerWorkgroupSupervisorNameCompliance Manager Workgroup Supervisor Name

Image Removed

Contact

Contacts_AffiliationTypeCodeContact Affiliation Code, a List of types is configured in Admin → Lookups → Affiliation Types (Roles)Contacts_AffiliationTypeDescriptionContact Affiliation Description, a List of types is configured in Admin → Lookups → Affiliation Types (Roles)Contacts_ContactAddress1Contact Address Line 1Contacts_ContactAddress2Contact Address Line 2Contacts_ContactCityContact CityContacts_ContactCityStateZipCity, State Zip Code (Portland, OR 97239)Contacts_ContactEmailContact EmailContacts_ContactFirstNameContact First NameContacts_ContactLastNameContact Last NameContacts_ContactNameContact NameContacts_ContactOrganizationNameContact Organization NameContacts_ContactPhoneContact PhoneContacts_ContactPhoneExtensionContact Phone ExtensionContacts_ContactPhoneTypeDescriptionPhone Type (Home, Mobile, etc..)Contacts_ContactPrefixContact Prefix (Mr, Ms, Mrs., etc.)Contacts_ContactStateContact State (2 letters format) Contacts_ContactTitleContact TitleContacts_ContactZipCodeContact Zip CodeContacts_FunctionalAreaIdFunctional Area IdAccount codeIdIdAccountVerificationCodeAccount Verification Code

Permit Contact Info

(Permittee contact role)

PermitteeAddress1Permittee Address Line 1PermitteeAddress2Permittee Address Line 2PermitteeCityPermittee CityPermitteeFirstNamePermittee First NamePermitteeLastNamePermittee Last NamePermitteeNamePermittee Display NamePermitteeOrganizationPermittee OrganizationPermitteePhonePermittee Phone formatted with Extension if availablePermitteePrefixPermittee Prefix (Mr, Ms, Mrs., etc.)PermitteeStatePermittee State (2 letters format)PermitteeTitlePermittee TitlePermitteeZipPermittee ZipDistrict OfficeDistrictOfficeAddress

District Office full address,

Address Line 1

Address Line 2

City, State Zip-Code

DistrictOfficeAddress1District Office Address Line 1DistrictOfficeAddress2District Office Address Line 2DistrictOfficeCityDistrict Office CityDistrictOfficeFaxDistrict Office FaxDistrictOfficeNameName of District Office (Based on County defined in District Office Lookups)DistrictOfficePhoneDistrict Office Phone formatted with Extension if availableDistrictOfficeStateDistrict Office State (2 letters format)DistrictOfficeZipDistrict Office Zip codeDistrictSupervisorNameDistrict Office supervisor namePermit InfoPermitApplicationDueDatePermit application due date (yyyy-MM-dd HH:MM:SS)PermitCategoryPermit categoryPermitCommentsPermit commentsPermitEffectiveDatePermit effective date (yyyy-MM-dd HH:MM:SS)PermitExpireDatePermit expiry date (yyyy-MM-dd HH:MM:SS)PermitIsAfterTheFactPermit is after the fact (1 or 0 value)PermitIssueDatePermit issue date (yyyy-MM-dd HH:MM:SS)PermitNumberPermit numberPermitNumberAndVersionPermit number and version eg. (PRMT0001 v 1.0)PermitRevisionpermit revision, this is the first decimal after the version (x.1)PermitStatusPermit statusPermitTerminationDatePermit Termination Date (yyyy-MM-dd HH:MM:SS)PermitTypePermit TypePermitVersionPermit Version this is the major version before the decimal (1.x)

Image Removed

Schedule

Schedules_IsReoccurringSchedules is Reoccurring (1 and 0 value)Schedules_NumDaysBeforeDueAllowSubmissionNumber of Days before schedule submission is allowedSchedules_ScheduleAchievedDateSchedule achieved date (yyyy-MM-dd HH:MM:SS)Schedules_ScheduleDecisionDateSchedule decision date (yyyy-MM-dd HH:MM:SS)Schedules_ScheduleDueDateSchedule due date (yyyy-MM-dd HH:MM:SS)Schedules_ScheduleDueDateTypeDescriptionType of schedule due date (as needed, specific due date, etc..)Schedules_ScheduleGroupNameSchedule group nameSchedules_ScheduleName

Schedule name

Schedules_ScheduleReceivedDateSchedule received date (yyyy-MM-dd HH:MM:SS)Schedules_ScheduleSequenceNumberSchedule sequence numberSchedules_ScheduleStatusDescriptionSchedule status description (Received, Not Submitted, etc..)Schedules_SubmissionDecisionDateSchedule submission decision date (yyyy-MM-dd HH:MM:SS)Schedules_SubmissionDecisionDescriptionSchedule submission decision descriptionSchedules_SubmissionReceivedDateSchedule submission received date (yyyy-MM-dd HH:MM:SS)Schedules_SubmissionVersionNumberSchedule submission version numberSiteSiteAddressSite full address,

Address Line 1

Address Line 2

City, State Zip-Code

SiteAddress1Site address line 1SiteAddress2Site address line 2SiteAddressCommentsSite address commentsSiteCitySite citySiteNaicsListNorth American Industry Classification System Code (NAICS)SiteNameSite nameSiteNumberSite numberSiteOwnrshTypeSite ownership typeSiteSicListStandard Industrial Classification Code (SIC)SiteStateSite state (2 letters format)SiteTaxParcelNumberSite tax parcel numberSiteZipSite zip code

Image Removed

Site Alt Name

SiteAltNames_SiteAltNameSite alternative nameSiteAltNames_SiteAltNameTypeCodeSite alternative name type codeSiteAltNames_SiteAltNameTypeDescriptionSite Alternative Name Description (Master ID, Historical Name, etc..)Site LocationSiteCountySite countySiteFipsCodeSite FIPS Code (Federal Information Processing Standard)SiteLatitudeSite location LatitudeSiteLongitudeSite location LongitudeSubmission InfoSubmissionActionTypeSubmission Type (Application, Permit Change, etc..)SubmissionCompleteDateSubmission completed date (yyyy-MM-dd HH:MM:SS)SubmissionFormNameSubmission form nameSubmissionFormNumbernFORM submission numberSubmissionFormTypeSubmission form typeSubmissionProjectNameSubmission project nameSubmissionReceivedDateSubmission received date (yyyy-MM-dd HH:MM:SS)SubmissionReferenceNumberSubmission referenced numberSystem InfoAgencyAcronymAgency AcronymAgencyFullNameAgency full nameSystemContactUrlAgency website for contact informationSystemIsProductionSystem is Production (1 or 0 values)SystemNameSystem nameSystemUrlWebsite link to the system Ui expand
titleEvaluation

The view name for this data source in database is VW_SVC_DATASRC_EVAL_STDRD_NOPARSE

Subject AreaInsertable Field NameDescriptionAssigned StaffEvaluationAssignedUserDisplayNameInspector display nameEvaluationAssignedUserEmailInspector emailEvaluationAssignedUserFirstNameInspector first nameEvaluationAssignedUserLastNameInspector last nameEvaluationAssignedUserOrganizationinspector organizationEvaluationAssignedUserPhoneInspector Phone formatted with Extension if availableEvaluationAssignedWorkgroupNameInspector work groupEvaluationAssignedWorkgroupSupervisorNameInspector work group supervisor nameCompliance Info
ComplianceActionCaseNumberCompliance action case numberComplianceActionCategoryCompliance action categoryComplianceActionDateCompliance action date (yyyy-MM-dd HH:MM:SS)ComplianceActionNumberCompliance action numberComplianceActionProgramAreaCompliance action program areaComplianceActionResolutionDateCompliance action resolution date (yyyy-MM-dd HH:MM:SS)ComplianceActionResolutionDescriptionCompliance action resolution descriptionComplianceActionStatusCompliance action statusComplianceActionTypeCompliance action type

Image Removed

Contact

Contacts_AffiliationTypeCodeContact Affiliation Code, a List of types is configured in Admin → Lookups → Affiliation Types (Roles)Contacts_AffiliationTypeDescriptionContact Affiliation Description, a List of types is configured in Admin → Lookups → Affiliation Types (Roles)Contacts_ContactAddress1Contact Address Line 1Contacts_ContactAddress2Contact Address Line 2Contacts_ContactCityContact CityContacts_ContactCityStateZipCity, State Zip Code (Portland, OR 97239)Contacts_ContactEmailContact EmailContacts_ContactFirstNameContact First NameContacts_ContactLastNameContact Last NameContacts_ContactNameContact Display NameContacts_ContactOrganizationNameContact Organization NameContacts_ContactPhoneContact PhoneContacts_ContactPhoneExtensionContact Phone ExtensionContacts_ContactPhoneTypeDescriptionPhone Type (Home, Mobile, etc..)Contacts_ContactPrefixContact Prefix (Mr, Ms, Mrs., etc.)Contacts_ContactStateContact State (2 letters format)Contacts_ContactTitleContact TitleContacts_ContactZipCodeContact Zip CodeContacts_FunctionalAreaIdFunctional Area Id

Permittee and Inspection Contact

(Inspection Contact contact role)

InspectionContactAddress1Facility inspection contact address line 1InspectionContactAddress2Facility inspection contact address line 2InspectionContactCityFacility inspection contact cityInspectionContactFirstNameFacility inspection contact first nameInspectionContactLastNameFacility inspection contact last nameInspectionContactNameFacility inspection contact display nameInspectionContactOrganizationFacility inspection contact organization nameInspectionContactPhoneFacility inspection contact Phone formatted with Extension if availableInspectionContactPrefixFacility inspection contact name Prefix (Mr, Ms, Mrs., etc.)InspectionContactStateFacility inspection contact state (2 letters format)InspectionContactTitleFacility inspection contact titleInspectionContactZipFacility inspection contact zip codePermitteeAddress1Permittee address line 1PermitteeAddress2Permittee address line 2PermitteeCityPermittee address cityPermitteeFirstNamePermittee first namePermitteeLastNamePermittee last namePermitteeNamePermittee display namePermitteeOrganizationPermittee organization namePermitteePhonePermittee Phone formatted with Extension if availablePermitteePrefixPermittee name Prefix (Mr, Ms, Mrs., etc.)PermitteeStatePermittee state (2 letters format)PermitteeTitlePermittee titlePermitteeZipPermittee zip codeDistrict OfficeDistrictOfficeAddress

Agency district office full address

Address Line 1

Address Line 2

City, State Zip-Code

DistrictOfficeAddress1Agency district office address line 1 DistrictOfficeAddress2Agency district office address line 2DistrictOfficeCityAgency district office cityDistrictOfficeFaxAgency district office fax numberDistrictOfficeNameName of District Office (Based on County defined in District Office Lookups)DistrictOfficePhoneAgency district office Phone formatted with Extension if availableDistrictOfficeStateAgency district office state (2 letters format)DistrictOfficeZipAgency district office zip codeDistrictSupervisorNameAgency district office supervisor nameEvaluation InfoEvaluationCommentsEvaluation commentsEvaluationDecisionEvaluation decisionEvaluationDecisionDateEvaluation decision date (yyyy-MM-dd HH:MM:SS)EvaluationEndDateEvaluation end date (yyyy-MM-dd HH:MM:SS)EvaluationNumberEvaluation numberEvaluationReportTransmittedDateEvaluation report transmitted date (yyyy-MM-dd HH:MM:SS)EvaluationSamplesTransmittedDateEvaluation samples transmitted date (yyyy-MM-dd HH:MM:SS)EvaluationScheduledDateEvaluation scheduled date (yyyy-MM-dd HH:MM:SS)EvaluationStartDateEvaluation start date (yyyy-MM-dd HH:MM:SS)EvaluationStatusEvaluation statusEvaluationStatusDescriptionEvaluation status descriptionEvaluationTypeEvaluation typePermit InfoPermitApplicationDueDatePermit application due date (yyyy-MM-dd HH:MM:SS)PermitCategoryPermit categoryPermitCommentsPermit commentsPermitEffectiveDatePermit effective date (yyyy-MM-dd HH:MM:SS)PermitExpireDatePermit expire date (yyyy-MM-dd HH:MM:SS)PermitIsAfterTheFactPermit is after the fact (1 or 0 value)PermitIssueDatePermit issue date (yyyy-MM-dd HH:MM:SS)PermitNumberPermit numberPermitNumberAndVersionPermit number and version eg. (PRMT0001 v 1.0)PermitRevisionpermit revision, this is the first decimal after the version (x.1)PermitStatusPermit statusPermitTerminationDatePermit termination date (yyyy-MM-dd HH:MM:SS)PermitTypePermit typePermitVersionPermit Version this is the major version before the decimal (1.x)Project InfoMasterProjectEnvironmentalEventDateMaster Environmental project event date (yyyy-MM-dd HH:MM:SS)MasterProjectNameMaster project nameMasterProjectNumberMaster project numberProjectActivityCategoryProject activity categoryProjectActivityEndDateProject activity end date (yyyy-MM-dd HH:MM:SS)ProjectActivityNameProject activity nameProjectActivityNumberProject activity numberProjectActivityStartDateProject activity start date (yyyy-MM-dd HH:MM:SS)ProjectActivityStatusProject activity statusProjectActivityTypeProject activity typeSiteSiteAddress

Site full address

Site Address Line 1

Site Address Line 2

City, State zip-code

SiteAddress1Site address line 1SiteAddress2Site address line 2SiteAddressCommentsSite address commentsSiteCitySite citySiteNaicsListNorth American Industry Classification System Code (NAICS)SiteNameSite nameSiteNumberSite numberSiteOwnrshTypeSite ownership typeSiteSicListStandard Industrial Classification Code (SIC)SiteStateSite state (2 letters format)SiteTaxParcelNumberSite tax parcel numberSiteZipSite zip-code

Image Removed

Site Alt Name
SiteAltNames_SiteAltNameSite alternative nameSiteAltNames_SiteAltNameTypeCodeSite alternative name type codeSiteAltNames_SiteAltNameTypeDescriptionSite Alternative Name Description (Master ID, Historical Name, etc..)Site LocationSiteCountySite countySiteFipsCodeSite FIPS Code (Federal Information Processing Standard)SiteLatitudeSite location LatitudeSiteLongitudeSite location LongitudeSubmission InfoSubmissionActionTypeSubmission Type (Application, Permit Change, etc..)SubmissionCompleteDateSubmission completed date (yyyy-MM-dd HH:MM:SS)SubmissionFormNameSubmission form nameSubmissionFormNumbernFORM submission numberSubmissionFormTypeSubmission form typeSubmissionProjectNameSubmission project nameSubmissionReceivedDateSubmission received date (yyyy-MM-dd HH:MM:SS)SubmissionReferenceNumberSubmission referenced numberSystem InfoAgencyAcronymAgency AcronymAgencyFullNameAgency full nameSystemContactUrlAgency website for contact informationSystemIsProductionSystem is Production (1 or 0 values)SystemNameSystem nameSystemUrlWebsite link to the system

Image Removed

Violation

Violations_DetectEndDateViolation end date (yyyy-MM-dd HH:MM:SS)Violations_DetectStartDateViolation start date (yyyy-MM-dd HH:MM:SS)Violations_IdViolation system idViolations_IsSignificantNonComplianceViolation is significant non compliance (1 or 0 value)Violations_RegulationReferenceViolation regulation referenceViolations_ViolationCategoryDescriptionViolation category descriptionViolations_ViolationCommentsViolation commentsViolations_ViolationIdViolation idViolations_ViolationTypeDescriptionViolation type description Ui expand
titleCompliance Action

The view name for this data source in database is VW_SVC_DATASRC_CMPL_ACTN_STDRD_NOPARSE

Subject AreaInsertable Field NameDescriptionAssigned StaffComplianceActionAssignedUserDisplayNameCompliance Action assigned user Display NameComplianceActionAssignedUserEmailCompliance Action assigned user EmailComplianceActionAssignedUserFirstNameCompliance Action assigned user First NameComplianceActionAssignedUserLastNameCompliance Action assigned user Last NameComplianceActionAssignedUserOrganizationCompliance Action assigned user OrganizationComplianceActionAssignedUserPhoneCompliance Action assigned user Phone formatted with Extension if availableComplianceActionAssignedWorkgroupNameCompliance Action assigned user Workgroup NameComplianceActionAssignedWorkgroupSupervisorNameCompliance Action assigned user Workgroup Supervisor NameCompliance InfoComplianceActionCaseNumberCompliance Action Case NumberComplianceActionCategoryCompliance Action CategoryComplianceActionCommentsCompliance Action CommentsComplianceActionDateCompliance Action date (yyyy-MM-dd HH:MM:SS)ComplianceActionNumberCompliance Action NumberComplianceActionProgramAreaCompliance Action Program AreaComplianceActionResolutionDateCompliance Action Resolution date (yyyy-MM-dd HH:MM:SS)ComplianceActionResolutionTypeCompliance Action Resolution TypeComplianceActionStatusCompliance Action StatusComplianceActionTypeCompliance Action Type

Image Removed

Contact

Contacts_AffiliationTypeCodeContact Affiliation Code, a List of types is configured in Admin → Lookups → Affiliation Types (Roles)Contacts_AffiliationTypeDescriptionContact Affiliation Description, a List of types is configured in Admin → Lookups → Affiliation Types (Roles)Contacts_ContactAddress1Contact Address Line 1Contacts_ContactAddress2Contact Address Line 2Contacts_ContactCityContact CityContacts_ContactCityStateZipCity, State Zip Code (Portland, OR 97239)Contacts_ContactEmailContact EmailContacts_ContactFirstNameContact First NameContacts_ContactLastNameContact Last NameContacts_ContactNameContact Display NameContacts_ContactOrganizationNameContact Organization NameContacts_ContactPhoneContact PhoneContacts_ContactPhoneExtensionContact Phone ExtensionContacts_ContactPhoneTypeDescriptionPhone Type (Home, Mobile, etc..)Contacts_ContactPrefixContact Prefix (Mr, Ms, Mrs., etc.)Contacts_ContactStateContact State (2 letters format)Contacts_ContactTitleContact TitleContacts_ContactZipCodeContact Zip CodeContacts_FunctionalAreaIdFunctional Area Id

Responsible Party Contact

(Responsible Party contact role)

ResponsiblePartyAddress1Responsible Party Address line 1ResponsiblePartyAddress2Responsible Party Address line 2ResponsiblePartyCityResponsible Party CityResponsiblePartyFirstNameResponsible Party First NameResponsiblePartyLastNameResponsible Party Last NameResponsiblePartyNameResponsible Party NameResponsiblePartyOrganizationResponsible Party OrganizationResponsiblePartyPhoneResponsible Party Phone formatted with Extension if availableResponsiblePartyPrefixResponsible Party Prefix (Mr, Ms, Mrs., etc.)ResponsiblePartyStateResponsible Party State (2 letters format)ResponsiblePartyTitleResponsible Party TitleResponsiblePartyZipResponsible Party ZipDistrict OfficeDistrictOfficeAddress

Agency district office full address

Address Line 1

Address Line 2

City, State Zip-Code

DistrictOfficeAddress1Agency district office address line 1 DistrictOfficeAddress2Agency district office address line 2DistrictOfficeCityAgency district office cityDistrictOfficeFaxAgency district office fax numberDistrictOfficeNameName of District Office (Based on County defined in District Office Lookups)DistrictOfficePhoneAgency district office Phone formatted with Extension if availableDistrictOfficeStateAgency district office state (2 letters format)DistrictOfficeZipAgency district office zip codeDistrictSupervisorNameAgency district office supervisor nameEvaluation InfoEvaluationCommentsEvaluation commentsEvaluationDecisionEvaluation decisionEvaluationDecisionDateEvaluation decision date (yyyy-MM-dd HH:MM:SS)EvaluationEndDateEvaluation end date (yyyy-MM-dd HH:MM:SS)EvaluationNumberEvaluation numberEvaluationReportTransmittedDateEvaluation report transmitted date (yyyy-MM-dd HH:MM:SS)EvaluationSamplesTransmittedDateEvaluation samples transmitted date (yyyy-MM-dd HH:MM:SS)EvaluationScheduledDateEvaluation scheduled date (yyyy-MM-dd HH:MM:SS)EvaluationStartDateEvaluation start date (yyyy-MM-dd HH:MM:SS)EvaluationStatusEvaluation statusEvaluationStatusDescriptionEvaluation status descriptionEvaluationTypeEvaluation typePermit InfoPermitApplicationDueDatePermit application due date (yyyy-MM-dd HH:MM:SS)PermitCategoryPermit categoryPermitCommentsPermit commentsPermitEffectiveDatePermit effective date (yyyy-MM-dd HH:MM:SS)PermitExpireDatePermit expire date (yyyy-MM-dd HH:MM:SS)PermitIsAfterTheFactPermit is after the fact (1 or 0 value)PermitIssueDatePermit issue date (yyyy-MM-dd HH:MM:SS)PermitNumberPermit numberPermitNumberAndVersionPermit number and version eg. (PRMT0001 v 1.0)PermitRevisionpermit revision, this is the first decimal after the version (x.1)PermitStatusPermit statusPermitTerminationDatePermit termination date (yyyy-MM-dd HH:MM:SS)PermitTypePermit typePermitVersionPermit Version this is the major version before the decimal (1.x)

Image Removed

Schedule

Schedules_IsReoccurringSchedules is Reoccurring (1 and 0 value)Schedules_NumDaysBeforeDueAllowSubmissionNumber of Days before schedule submission is allowedSchedules_ScheduleAchievedDateSchedule achieved date (yyyy-MM-dd HH:MM:SS)Schedules_ScheduleDecisionDateSchedule decision date (yyyy-MM-dd HH:MM:SS)Schedules_ScheduleDueDateSchedule due date (yyyy-MM-dd HH:MM:SS)Schedules_ScheduleDueDateTypeDescriptionType of schedule due date (as needed, specific due date, etc..)Schedules_ScheduleGroupNameSchedule group nameSchedules_ScheduleName

Schedule name

Schedules_ScheduleReceivedDateSchedule received date (yyyy-MM-dd HH:MM:SS)Schedules_ScheduleSequenceNumberSchedule sequence numberSchedules_ScheduleStatusDescriptionSchedule status description (Received, Not Submitted, etc..)Schedules_SubmissionDecisionDateSchedule submission decision date (yyyy-MM-dd HH:MM:SS)Schedules_SubmissionDecisionDescriptionSchedule submission decision descriptionSchedules_SubmissionReceivedDateSchedule submission received date (yyyy-MM-dd HH:MM:SS)Schedules_SubmissionVersionNumberSchedule submission version numberSiteSiteAddress

Site full address

Site Address Line 1

Site Address Line 2

City, State zip-code

SiteAddress1Site address line 1SiteAddress2Site address line 2SiteAddressCommentsSite address commentsSiteCitySite citySiteNaicsListNorth American Industry Classification System Code (NAICS)SiteNameSite nameSiteNumberSite numberSiteOwnrshTypeSite ownership typeSiteSicListStandard Industrial Classification Code (SIC)SiteStateSite state (2 letters format)SiteTaxParcelNumberSite tax parcel numberSiteZipSite zip-code

Image Removed

Site Alt Name

SiteAltNames_SiteAltNameSite alternative nameSiteAltNames_SiteAltNameTypeCodeSite alternative name type codeSiteAltNames_SiteAltNameTypeDescriptionSite Alternative Name Description (Master ID, Historical Name, etc..)Site LocationSiteCountySite countySiteFipsCodeSite FIPS Code (Federal Information Processing Standard)SiteLatitudeSite location LatitudeSiteLongitudeSite location LongitudeSubmission InfoSubmissionActionTypeSubmission Type (Application, Permit Change, etc..)SubmissionCompleteDateSubmission completed date (yyyy-MM-dd HH:MM:SS)SubmissionFormNameSubmission form nameSubmissionFormNumbernFORM submission numberSubmissionFormTypeSubmission form typeSubmissionProjectNameSubmission project nameSubmissionReceivedDateSubmission received date (yyyy-MM-dd HH:MM:SS)SubmissionReferenceNumberSubmission referenced numberSystem InfoAgencyAcronymAgency AcronymAgencyFullNameAgency full nameSystemContactUrlAgency website for contact informationSystemIsProductionSystem is Production (1 or 0 values)SystemNameSystem nameSystemUrlWebsite link to the system

Image Removed

Violation

Violations_DetectEndDateViolation end date (yyyy-MM-dd HH:MM:SS)Violations_DetectStartDateViolation start date (yyyy-MM-dd HH:MM:SS)Violations_IdViolation system idViolations_IsSignificantNonComplianceViolation is significant non compliance (1 or 0 value)Violations_PermitNumberAndVersionViolation related Permit number and version eg. (PRMT0001 v 1.0)Violations_RegulationReferenceViolation regulation referenceViolations_SourceEvaluationNumberViolation source evaluation numberViolations_ViolationCategoryDescriptionViolation category descriptionViolations_ViolationCommentsViolation commentsViolations_ViolationIdViolation idViolations_ViolationTypeDescriptionViolation type description

On this page

Table of Contents

Sub-Topics

Page Treeroot@self

Overview

This section provides details on how to view, edit, and configure document template metadata and content. Document template contents are edited using the AceOffix editor.

Editing Document Template Metadata

To edit template metadata:

  1. Navigate to Admin > Document Templates.

  2. Click Open next to an existing template or select Add New Document Template to create a new one.

The document template metadata editor page is displayed.

image-20250217-163241.pngImage Added

Configurable Fields on the Document Template Page

The following key fields are available when configuring a document template:

Field

Description

Template Name

The name of the document template.

Template Description

An internal description of the template.

Security Classification

Defines visibility (Public, Internal, Authorized Users).

Functional Area

Specifies the category of the document (Permit, Compliance Action, etc.).

Document Category

Groups templates based on predefined categories.

Program Area

Determines applicable programs for the template. This value is derived from the selected Document Category.

Base Datasource

Defines the merge field list available for the template.

Dynamic Datasources

Specifies the forms and reports whose fields can be merged.

The available forms depend on the document template's functional area:

  • For document templates in the application/request, complaint/incident, or schedule functional areas, submission forms within those functional areas and permit, submission, and site program component forms can be selected.

  • For document templates in the permit functional area, application/request forms and permit, submission, and site program component forms can be selected.

  • For document templates in the site functional area, application/request forms and program component forms from any functional area can be selected.

  • For document templates in the compliance action functional area, compliance action and site program component forms can be selected.

  • For document templates in the evaluation functional area, evaluation and site program component forms can be selected.

  • For document templates in the project functional area, project and site program component forms can be selected.

  • For document templates in the receivable functional area, permit program component forms can be selected.

Right Sidebar

Active/Inactive

Controls whether the template is available for use.

When saving changes to an active document template in a production environment, a dialog box that prompts the user to provide a description of the edits made.

Allow multiple documents to be finalized

If unchecked, only one generated document based on this template is allowed for a given entity.

Auto-create event upon finalization

If checked, an event will be created with the Event Type "Document Generated" when a document is generated using this template.

Notifications can also be configured to be sent when an event is created. A System Action will need to be created for the corresponding Functional Area Event.

Allow security classification changes

When checked, the security classification of documents generated from this template may be changed. When unchecked, documents that have been generated from this template cannot have their security classification changed. 

Allow file name changes

If checked, users will be given the option to type a name for the generated document before it is generated. If unchecked, the name of the generated document will be the same as the template name.

Prefix Generated File Name with Record Identifier

Prefixes the generated document name with the current record’s business identifier (e.g. Permit Number, Compliance Action Number, Site Number, etc).

View History

Displays metadata changes over time.

Previewing a Document with Merged Data

Clicking Preview opens a read-only version of the document with actual data merged from the selected source.

Editing Document Template Content using AceOffix

To edit template content:

  1. Navigate to Admin > Document Templates.

  2. Click Open next to an existing template or select Add New Document Template to create a new one.

  3. Click Edit to modify the document content.

  4. The template opens in an AceOffix window, displaying the document as an editable Word file along with a list of available merge fields.

When the AceOffix editor is open, a popup window will indicate that AceOffix is running separately from the main application.

Image Added

Insertable Fields

Templates contain insertable fields that dynamically merge data from the system:

  • Single Insertable Fields: Appear in non-bold text and are inserted as placeholders (e.g., <<[FieldName]>>).

  • Looping Insertable Fields: Appear in bold text and represent repeating data structures (e.g., a list of contacts). These use <<foreach [item in items]>> … <</foreach>> syntax.

The available fields are driven by the selected datasources on the document template metadata page (see above).

To insert a field:

  • Double-click a non-bold field to insert it at the cursor location.

  • Double-click a bold field to insert a loop structure.

  • Click a bold field once to display its available subfields.

For more information on looping and advanced syntax, see Using Loops in Document Templates.

Variables, Formulas, Formatting Content and Controlling Logic

The Document Template editor is a powerful tool that can regenerate complicated documents based on logic and data sources. It can also perform data manipulation and calculations. Some of the codes that could be used in a document template can be found at Document Template Syntax Guide page

On this page

Table of Contents


Related Content