Add AuditCycles#478
Conversation
|
@JieXiong9119, Could we add more metadata elements to the new |
Is it possible to map the cycle name to its ID? Is a Note field good for reporting jurisdiction? Sure I can add UDF as child. |
In Audit Template, yes. A database constraint ensures that audit cycle names are unique (within the scope of a given reporting jurisdiction). At import, the tool would find the
This is a question for CERL. Currently, the report type and audit cycle name are sufficient to identify the reporting jurisdiction and audit cycle, respectively. If additional metadata are requested by CERL, it could be exported from Audit Template using the |
|
@markborkum Check this update out! |
markborkum
left a comment
There was a problem hiding this comment.
Could the new auc:AuditCycles element be a child of the auc:Facility element (instead of the auc:Report element)?
This way, the same audit cycle could be referenced by multiple reports in the same XML document, e.g., using a new auc:LinkedAuditCycle element:
<auc:Facility ID="facility1">
<!-- ... -->
<auc:AuditCycles>
<auc:AuditCycle ID="cycle1">
<auc:AuditCycleName>Example Audit Cycle</auc:AuditCycleName>
<auc:AuditCycleStartYear>2023</auc:AuditCycleStartYear>
<auc:AuditCycleEndYear>2025</auc:AuditCycleEndYear>
</auc:AuditCycle>
</auc:AuditCycles>
<!-- ... -->
<auc:Reports>
<auc:Report ID="report1">
<!-- ... -->
<auc:LinkedAuditCycle IDref="cycle1">
<auc:YearOfAuditCycle>1</auc:YearOfAuditCycle>
</auc:LinkedAuditCycle>
<!-- ... -->
</auc:Report>
</auc:Reports>
<!-- ... -->
</auc:Facility>
That's a good idea, but Iwould prefer to put it under |
|
@JieXiong9119, Being a child element of |
Make sense. I'll modify and update soon. |
Change AuditCycles to child of Facility
|
@markborkum Check the updates! |
|
@JieXiong9119, The latest changes look good, thanks. Can we work on the
|
|
@markborkum Description updated! |
|
Hey @markborkum , would you be able to review it before our deadline of BuildingSync 6/30 milestone tomorrow? |
I didn't intend for that text to be used verbatim. I meant that we need to choose one definition (most likely, the "period of time" definition, but we would need to confirm this with CERL and/or FEMP). |
|
@JieXiong9119, To align with the documentation for other elements, can we change the definition for the Also, please update the proposal so that the examples match the renamed XML elements (e.g., replace |
|
@markborkum Check out the update! |
|
@JieXiong9119, According to GitHub, the last commit, 755fa64, was yesterday. |
This reverts commit dd8ae10.
|
@markborkum It's weird that I can see it through commits but not in the PR. I reverted the commit and pushed a new one. Can you see it now? |
markborkum
left a comment
There was a problem hiding this comment.
Changes look good. Thanks, @JieXiong9119!
Any background context you want to provide?
FEMP CERL use case
What does this PR do?
See proposal
How should this be manually tested?
What are the relevant tickets?
#466
Screenshots (if appropriate)