@sparkerp/plugin-sdk 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/bundle/blocks.json +169 -0
  2. package/bundle/catalog.json +614 -5
  3. package/bundle/docs/applications/hcm/admin-access-policies.md +38 -0
  4. package/bundle/docs/applications/hcm/admin-approval-hierarchies.md +33 -0
  5. package/bundle/docs/applications/hcm/admin-data-transfer.md +40 -0
  6. package/bundle/docs/applications/hcm/admin-hcm-users.md +35 -0
  7. package/bundle/docs/applications/hcm/admin-logs.md +57 -0
  8. package/bundle/docs/applications/hcm/admin-permissions-catalog.md +64 -0
  9. package/bundle/docs/applications/hcm/ai-intelligence-overview.md +37 -0
  10. package/bundle/docs/applications/hcm/ai-intelligence-people-risk.md +33 -0
  11. package/bundle/docs/applications/hcm/ai-intelligence-recruitment.md +37 -0
  12. package/bundle/docs/applications/hcm/ai-intelligence-tools.md +39 -0
  13. package/bundle/docs/applications/hcm/analytics-operations.md +31 -0
  14. package/bundle/docs/applications/hcm/analytics-overview.md +31 -0
  15. package/bundle/docs/applications/hcm/analytics-people.md +36 -0
  16. package/bundle/docs/applications/hcm/analytics-tools.md +35 -0
  17. package/bundle/docs/applications/hcm/assets-audits.md +30 -0
  18. package/bundle/docs/applications/hcm/assets-custody.md +36 -0
  19. package/bundle/docs/applications/hcm/assets-inventory.md +34 -0
  20. package/bundle/docs/applications/hcm/assets-maintenance.md +25 -0
  21. package/bundle/docs/applications/hcm/assets-software-licenses.md +27 -0
  22. package/bundle/docs/applications/hcm/attendance-core.md +46 -0
  23. package/bundle/docs/applications/hcm/attendance-exceptions.md +33 -0
  24. package/bundle/docs/applications/hcm/attendance-location.md +25 -0
  25. package/bundle/docs/applications/hcm/attendance-policies.md +23 -0
  26. package/bundle/docs/applications/hcm/attendance-reports.md +20 -0
  27. package/bundle/docs/applications/hcm/benefits-allowances.md +39 -0
  28. package/bundle/docs/applications/hcm/benefits-analytics.md +25 -0
  29. package/bundle/docs/applications/hcm/benefits-employee-processes.md +44 -0
  30. package/bundle/docs/applications/hcm/benefits-plans.md +60 -0
  31. package/bundle/docs/applications/hcm/communications-announcements.md +31 -0
  32. package/bundle/docs/applications/hcm/communications-history.md +23 -0
  33. package/bundle/docs/applications/hcm/communications-notifications.md +31 -0
  34. package/bundle/docs/applications/hcm/communications-templates.md +35 -0
  35. package/bundle/docs/applications/hcm/compensation-allowances-benefits.md +44 -0
  36. package/bundle/docs/applications/hcm/compensation-analytics.md +30 -0
  37. package/bundle/docs/applications/hcm/compensation-bonus-incentive.md +35 -0
  38. package/bundle/docs/applications/hcm/compensation-cycles.md +49 -0
  39. package/bundle/docs/applications/hcm/compensation-equity.md +36 -0
  40. package/bundle/docs/applications/hcm/compensation-salary.md +47 -0
  41. package/bundle/docs/applications/hcm/compliance-analytics.md +25 -0
  42. package/bundle/docs/applications/hcm/compliance-audits-calendar.md +52 -0
  43. package/bundle/docs/applications/hcm/compliance-employee-tracking.md +41 -0
  44. package/bundle/docs/applications/hcm/compliance-regulatory.md +31 -0
  45. package/bundle/docs/applications/hcm/country-packs-admin.md +33 -0
  46. package/bundle/docs/applications/hcm/country-packs-compliance.md +31 -0
  47. package/bundle/docs/applications/hcm/country-packs-localization.md +37 -0
  48. package/bundle/docs/applications/hcm/country-packs.md +102 -0
  49. package/bundle/docs/applications/hcm/dashboard.md +38 -0
  50. package/bundle/docs/applications/hcm/designations.md +32 -0
  51. package/bundle/docs/applications/hcm/emp-documents-analytics.md +27 -0
  52. package/bundle/docs/applications/hcm/emp-documents-core.md +33 -0
  53. package/bundle/docs/applications/hcm/emp-documents-letters.md +40 -0
  54. package/bundle/docs/applications/hcm/emp-documents-signatures.md +24 -0
  55. package/bundle/docs/applications/hcm/emp-documents-workflow.md +32 -0
  56. package/bundle/docs/applications/hcm/employee-directory.md +55 -0
  57. package/bundle/docs/applications/hcm/employee-documents.md +51 -0
  58. package/bundle/docs/applications/hcm/employee-info-background.md +41 -0
  59. package/bundle/docs/applications/hcm/employee-info-core.md +32 -0
  60. package/bundle/docs/applications/hcm/employee-info-documents.md +31 -0
  61. package/bundle/docs/applications/hcm/employee-info-other.md +21 -0
  62. package/bundle/docs/applications/hcm/employee-movements.md +46 -0
  63. package/bundle/docs/applications/hcm/employee-reference-data.md +40 -0
  64. package/bundle/docs/applications/hcm/employee-relations-analytics.md +23 -0
  65. package/bundle/docs/applications/hcm/employee-relations-cases.md +26 -0
  66. package/bundle/docs/applications/hcm/employee-relations-conflicts-feedback.md +25 -0
  67. package/bundle/docs/applications/hcm/employee-relations-processes.md +34 -0
  68. package/bundle/docs/applications/hcm/employee-services-daily.md +32 -0
  69. package/bundle/docs/applications/hcm/employee-services-manager.md +21 -0
  70. package/bundle/docs/applications/hcm/employee-services-more.md +41 -0
  71. package/bundle/docs/applications/hcm/employee-services-overview.md +43 -0
  72. package/bundle/docs/applications/hcm/expenses-analytics.md +26 -0
  73. package/bundle/docs/applications/hcm/expenses-claims.md +47 -0
  74. package/bundle/docs/applications/hcm/expenses-self-service.md +30 -0
  75. package/bundle/docs/applications/hcm/expenses-setup.md +43 -0
  76. package/bundle/docs/applications/hcm/health-safety-analytics.md +26 -0
  77. package/bundle/docs/applications/hcm/health-safety-incidents.md +44 -0
  78. package/bundle/docs/applications/hcm/health-safety-medical.md +25 -0
  79. package/bundle/docs/applications/hcm/health-safety-training.md +29 -0
  80. package/bundle/docs/applications/hcm/helpdesk.md +28 -0
  81. package/bundle/docs/applications/hcm/holiday-calendar.md +69 -0
  82. package/bundle/docs/applications/hcm/hr-policies.md +64 -0
  83. package/bundle/docs/applications/hcm/hr-settings.md +98 -0
  84. package/bundle/docs/applications/hcm/index.md +272 -0
  85. package/bundle/docs/applications/hcm/industry-it-software.md +52 -0
  86. package/bundle/docs/applications/hcm/job-classifications.md +48 -0
  87. package/bundle/docs/applications/hcm/learning-analytics.md +21 -0
  88. package/bundle/docs/applications/hcm/learning-assessments.md +22 -0
  89. package/bundle/docs/applications/hcm/learning-catalog.md +25 -0
  90. package/bundle/docs/applications/hcm/learning-certifications.md +27 -0
  91. package/bundle/docs/applications/hcm/learning-enrollment.md +26 -0
  92. package/bundle/docs/applications/hcm/learning-instructors-providers.md +21 -0
  93. package/bundle/docs/applications/hcm/leave-accrual-and-carryforward.md +30 -0
  94. package/bundle/docs/applications/hcm/leave-balance.md +26 -0
  95. package/bundle/docs/applications/hcm/leave-dashboard-and-reports.md +32 -0
  96. package/bundle/docs/applications/hcm/leave-encashment.md +27 -0
  97. package/bundle/docs/applications/hcm/leave-requests.md +26 -0
  98. package/bundle/docs/applications/hcm/leave-setup.md +30 -0
  99. package/bundle/docs/applications/hcm/leave-team-and-calendar.md +25 -0
  100. package/bundle/docs/applications/hcm/navigation-and-approvals.md +61 -0
  101. package/bundle/docs/applications/hcm/offboarding-and-exit.md +71 -0
  102. package/bundle/docs/applications/hcm/onboarding-documents-verification.md +43 -0
  103. package/bundle/docs/applications/hcm/onboarding-orientation-probation.md +65 -0
  104. package/bundle/docs/applications/hcm/onboarding-overview.md +47 -0
  105. package/bundle/docs/applications/hcm/onboarding-provisioning-assets.md +48 -0
  106. package/bundle/docs/applications/hcm/onboarding-reports.md +38 -0
  107. package/bundle/docs/applications/hcm/onboarding-templates-checklists.md +38 -0
  108. package/bundle/docs/applications/hcm/onboarding-to-confirmation.md +45 -0
  109. package/bundle/docs/applications/hcm/org-structure.md +53 -0
  110. package/bundle/docs/applications/hcm/org-units.md +86 -0
  111. package/bundle/docs/applications/hcm/organizations.md +81 -0
  112. package/bundle/docs/applications/hcm/payroll-analytics.md +31 -0
  113. package/bundle/docs/applications/hcm/payroll-post-run.md +40 -0
  114. package/bundle/docs/applications/hcm/payroll-runs.md +30 -0
  115. package/bundle/docs/applications/hcm/payroll-setup.md +38 -0
  116. package/bundle/docs/applications/hcm/payroll-tax.md +21 -0
  117. package/bundle/docs/applications/hcm/payroll-transactions.md +43 -0
  118. package/bundle/docs/applications/hcm/performance-analytics.md +23 -0
  119. package/bundle/docs/applications/hcm/performance-appraisals.md +50 -0
  120. package/bundle/docs/applications/hcm/performance-continuous-feedback.md +23 -0
  121. package/bundle/docs/applications/hcm/performance-cycles-and-goals.md +54 -0
  122. package/bundle/docs/applications/hcm/performance-okrs.md +33 -0
  123. package/bundle/docs/applications/hcm/performance-pips.md +29 -0
  124. package/bundle/docs/applications/hcm/performance-ratings.md +25 -0
  125. package/bundle/docs/applications/hcm/positions.md +67 -0
  126. package/bundle/docs/applications/hcm/recruitment-agencies-and-sources.md +26 -0
  127. package/bundle/docs/applications/hcm/recruitment-analytics.md +25 -0
  128. package/bundle/docs/applications/hcm/recruitment-candidates.md +33 -0
  129. package/bundle/docs/applications/hcm/recruitment-offers.md +32 -0
  130. package/bundle/docs/applications/hcm/recruitment-pipeline.md +46 -0
  131. package/bundle/docs/applications/hcm/recruitment-requisitions-and-openings.md +33 -0
  132. package/bundle/docs/applications/hcm/roles-permissions.md +129 -0
  133. package/bundle/docs/applications/hcm/separation-clearance.md +33 -0
  134. package/bundle/docs/applications/hcm/separation-documents.md +28 -0
  135. package/bundle/docs/applications/hcm/separation-final-settlement.md +24 -0
  136. package/bundle/docs/applications/hcm/separation-reports.md +23 -0
  137. package/bundle/docs/applications/hcm/separation-resignation.md +43 -0
  138. package/bundle/docs/applications/hcm/settings-extensibility.md +31 -0
  139. package/bundle/docs/applications/hcm/settings-general.md +29 -0
  140. package/bundle/docs/applications/hcm/settings-integrations.md +14 -0
  141. package/bundle/docs/applications/hcm/settings-module-defaults.md +41 -0
  142. package/bundle/docs/applications/hcm/settings-process.md +28 -0
  143. package/bundle/docs/applications/hcm/shift-scheduling.md +33 -0
  144. package/bundle/docs/applications/hcm/talent-analytics.md +26 -0
  145. package/bundle/docs/applications/hcm/talent-career.md +31 -0
  146. package/bundle/docs/applications/hcm/talent-competencies-skills.md +30 -0
  147. package/bundle/docs/applications/hcm/talent-profiles.md +40 -0
  148. package/bundle/docs/applications/hcm/talent-succession.md +42 -0
  149. package/bundle/docs/applications/hcm/teams-and-tags.md +46 -0
  150. package/bundle/docs/applications/hcm/timesheets.md +33 -0
  151. package/bundle/docs/applications/hcm/travel-advances-expenses.md +34 -0
  152. package/bundle/docs/applications/hcm/travel-analytics.md +28 -0
  153. package/bundle/docs/applications/hcm/travel-bookings.md +35 -0
  154. package/bundle/docs/applications/hcm/travel-requests.md +38 -0
  155. package/bundle/docs/applications/hcm/workforce-org-design.md +22 -0
  156. package/bundle/docs/applications/hcm/workforce-planning-analytics.md +26 -0
  157. package/bundle/docs/applications/hcm/workforce-planning-core.md +36 -0
  158. package/bundle/docs/applications/hcm/workforce-planning-scenarios.md +29 -0
  159. package/bundle/docs/guides/add-app-owned-roles-and-permissions.md +144 -0
  160. package/bundle/docs/guides/extend-a-shipped-application.md +132 -0
  161. package/bundle/docs/guides/index.md +2 -0
  162. package/bundle/docs/reference/entity-aggregation-config.md +1 -1
  163. package/bundle/docs/reference/entity-document-generator-config.md +1 -1
  164. package/bundle/docs/tutorial/01-create-the-plugin.md +7 -1
  165. package/bundle/docs/tutorial/07-return-due-reminder-job.md +28 -5
  166. package/bundle/docs/tutorial/08-menus-i18n-publish.md +5 -5
  167. package/bundle/manifest.json +4 -4
  168. package/bundle/schemas/page.schema.json +13 -0
  169. package/bundle/schemas/plugin-manifest.schema.json +13 -0
  170. package/bundle/validators/block-engine.mjs +167 -7
  171. package/bundle/validators/page-engine.mjs +226 -21
  172. package/erp-cli/authoring-root.mjs +12 -1
  173. package/erp-cli/erp.mjs +334 -4
  174. package/package.json +1 -1
@@ -0,0 +1,30 @@
1
+ ---
2
+ title: My Expenses, Team Expenses & Approvals
3
+ audience: tenant
4
+ ---
5
+
6
+ # My Expenses, Team Expenses & Approvals (HCM)
7
+
8
+ This page documents three shipped **Expenses** self-service screens
9
+ (`hcm-expenses`). Not for plugin developers.
10
+
11
+ ## My Expenses
12
+
13
+ Your own claims — Claim Number, Date, Business Purpose, Total Amount,
14
+ Policy Status, and Status. KPIs: Total, Draft, Pending, Approved, Paid.
15
+
16
+ ## Team Expenses
17
+
18
+ If you're a manager, the same view scoped to your direct reports, with
19
+ an Employee Name column so you can see whose claim is whose. KPIs:
20
+ Total, Pending, Approved, Paid.
21
+
22
+ ## Approvals
23
+
24
+ A consolidated inbox of both Expense Claims and Advances waiting for your
25
+ decision, with a real Pending count so you know exactly how much is
26
+ sitting in your queue.
27
+
28
+ ## Related
29
+
30
+ - [Expense Claims & Advances](./expenses-claims.md)
@@ -0,0 +1,43 @@
1
+ ---
2
+ title: Expense Categories & Expense Policies
3
+ audience: tenant
4
+ ---
5
+
6
+ # Expense Categories & Expense Policies (HCM)
7
+
8
+ This page documents two shipped **Expenses** setup screens
9
+ (`hcm-expenses`). Not for plugin developers.
10
+
11
+ **Who this is for:** finance/HR admins setting these up.
12
+
13
+ ## Expense Categories
14
+
15
+ **New Category** — Category Name/Code, Category Type, Expense Type
16
+ (Reimbursable, or Both — for categories that can be either), a GL Account
17
+ (where this expense posts in your accounting system), Tax Treatment,
18
+ Receipt Mode, a Receipt Threshold (the amount above which a receipt
19
+ becomes mandatory), and whether a **Cost Center** is required on every
20
+ claim in this category. New categories start inactive; **Activate** them
21
+ once configured, **Deactivate** or **Archive** them when retiring one.
22
+ The detail view also shows a real **Expense Count** — how many actual
23
+ claims reference this category.
24
+
25
+ ## Expense Policies
26
+
27
+ **New Policy** — Policy Name/Code, Policy Type, Priority (for when more
28
+ than one policy could apply — priority decides which one wins), Currency,
29
+ category-specific rules, and Effective From/To dates. **Manager Override**
30
+ controls whether a manager can approve an expense that technically
31
+ violates the policy anyway.
32
+
33
+ New policies start Draft → **Submit for Review** → **Publish (Go
34
+ Active)**. Once a version is published, you don't edit it in place —
35
+ **Create New Version** starts a fresh version instead, so every claim
36
+ always knows exactly which policy version it was checked against.
37
+ **Deactivate** retires a policy. KPIs: Draft, Pending Review, Active,
38
+ Archived.
39
+
40
+ ## Related
41
+
42
+ - [Expense Claims & Advances](./expenses-claims.md)
43
+ - [Expense Dashboard & Reports](./expenses-analytics.md)
@@ -0,0 +1,26 @@
1
+ ---
2
+ title: Health & Safety Dashboard & Reports
3
+ audience: tenant
4
+ ---
5
+
6
+ # Health & Safety Dashboard & Reports (HCM)
7
+
8
+ This page documents two shipped **Health & Safety** analytics screens
9
+ (`hcm-health-safety`). Not for plugin developers.
10
+
11
+ ## Health Dashboard
12
+
13
+ Real-time operational counts: Open Hazards, Open Incidents, Open
14
+ Accidents, Occupational Health cases Open, Exams/Records Pending Review,
15
+ and Training Completed vs. Total — everything currently needing
16
+ attention, on one screen.
17
+
18
+ ## Health & Safety Reports
19
+
20
+ A trend/summary view over the same data: Total Incidents/Accidents,
21
+ Critical Incidents specifically, Open Hazards, Exams/Records Pending
22
+ Review, and Training Completed vs. Total.
23
+
24
+ ## Related
25
+
26
+ - [Workplace Safety, Safety Incidents & Workplace Accidents](./health-safety-incidents.md)
@@ -0,0 +1,44 @@
1
+ ---
2
+ title: Workplace Safety, Safety Incidents & Workplace Accidents
3
+ audience: tenant
4
+ ---
5
+
6
+ # Workplace Safety, Safety Incidents & Workplace Accidents (HCM)
7
+
8
+ This page documents three shipped **Health & Safety** register screens
9
+ (`hcm-health-safety`). Not for plugin developers.
10
+
11
+ ## Workplace Safety
12
+
13
+ A hazard register. Record what you found — Hazard Type, Location, Work
14
+ Area, Department, who **Identified** it and when, **Existing Controls**
15
+ already in place, and **Additional Controls** needed. Rate it by
16
+ **Likelihood** and **Severity**, assign an **Owner** and **Target Date**
17
+ to fix it. The KPI row includes a real **Open Risk Score Sum** — an
18
+ aggregate risk number across every still-open hazard, not just a count,
19
+ so you can see whether your overall exposure is trending up or down.
20
+ KPIs: Total, Open, Closed, High Risk, Open Risk Score Sum.
21
+
22
+ ## Safety Incidents
23
+
24
+ Record an incident — Employee, Department, Location, Incident Type,
25
+ Severity, Description, and **Immediate Action** taken. Three real
26
+ compliance flags matter here: **Lost Time** (did it cause missed work),
27
+ **Restricted Work** (light duty), and **Regulatory Reportable** (does
28
+ this need to be reported to a regulator) — plus **Hospitalization** and
29
+ whether an **Investigation** is required. KPIs: Total, Open, Under
30
+ Investigation, Closed, Critical, and a real **Days Away Sum** — total
31
+ lost workdays across all incidents, a genuine safety metric, not a
32
+ vanity count.
33
+
34
+ ## Workplace Accidents
35
+
36
+ The closely related accident register — same core fields as Safety
37
+ Incidents, plus Accident Type, **Classification**, **Immediate Cause**,
38
+ Work Activity, and whether an **Insurance Claim** is required. Same KPI
39
+ shape (Total, Open, Under Investigation, Closed, Critical, Days Away Sum).
40
+
41
+ ## Related
42
+
43
+ - [Safety Training & Occupational Health](./health-safety-training.md)
44
+ - [Health & Safety Dashboard & Reports](./health-safety-analytics.md)
@@ -0,0 +1,25 @@
1
+ ---
2
+ title: Medical Exams & Medical Records
3
+ audience: tenant
4
+ ---
5
+
6
+ # Medical Exams & Medical Records (HCM)
7
+
8
+ This page documents two shipped **Health & Safety** screens
9
+ (`hcm-health-safety`). Not for plugin developers.
10
+
11
+ ## Medical Exams
12
+
13
+ Schedule an exam — Employee, Exam Type, Facility, Provider, Priority, and
14
+ Scheduled Date. KPIs: Total, Scheduled, Completed, Pending Review, Follow
15
+ Up (a real, separate count for exams that flagged something needing a
16
+ follow-up), Expired.
17
+
18
+ ## Medical Records
19
+
20
+ Log a record — Employee, Record Type, Facility, Provider, Record Date.
21
+ KPIs: Total, Active, Pending Review, Review Required, Verified, Expired.
22
+
23
+ ## Related
24
+
25
+ - [Safety Training & Occupational Health](./health-safety-training.md)
@@ -0,0 +1,29 @@
1
+ ---
2
+ title: Safety Training & Occupational Health
3
+ audience: tenant
4
+ ---
5
+
6
+ # Safety Training & Occupational Health (HCM)
7
+
8
+ This page documents two shipped **Health & Safety** screens
9
+ (`hcm-health-safety`). Not for plugin developers.
10
+
11
+ ## Safety Training
12
+
13
+ Assign a course to an employee — Course Code/Name, Category, Training
14
+ Type, Delivery Method, Instructor, Assigned/Due Date, whether it's
15
+ **Mandatory**, whether it needs a **Certification** on completion, and
16
+ whether an **Assessment** with a real **Passing Score** is required. KPIs:
17
+ Total, Assigned, Completed, Overdue, Expired — so you can catch someone
18
+ whose mandatory training has lapsed, not just track completions.
19
+
20
+ ## Occupational Health
21
+
22
+ Open a case — Employee, Case Type, Facility, Priority, Exposure Notes,
23
+ Opened/Scheduled Date, and who it's **Assigned To**. KPIs: Total, Open,
24
+ Pending Review, Restricted (a case that's resulted in work restrictions),
25
+ Closed.
26
+
27
+ ## Related
28
+
29
+ - [Medical Exams & Medical Records](./health-safety-medical.md)
@@ -0,0 +1,28 @@
1
+ ---
2
+ title: HR Helpdesk
3
+ audience: tenant
4
+ ---
5
+
6
+ # HR Helpdesk (HCM)
7
+
8
+ This page documents the shipped **HR Helpdesk** screen (`hcm-helpdesk`).
9
+ Not for plugin developers.
10
+
11
+ ## What it does
12
+
13
+ Submit a real support ticket — Category, Subject, Description, Priority —
14
+ and see your own ticket list with real status tracking.
15
+
16
+ ## Known gaps
17
+
18
+ - **No ticket conversation/messages, internal HR notes, or attachments**
19
+ yet — a ticket is created and tracked, but there's no back-and-forth
20
+ thread on it.
21
+ - **No knowledge base/search, SLA tracking, assignment/routing/
22
+ escalation, rating, or reopen/cancel actions.**
23
+ - **Ticket numbers are a plain auto-incrementing ID**, not a formatted
24
+ reference like `HR-2026-0001`.
25
+
26
+ ## Related
27
+
28
+ - [Employee Relations Dashboard & Case Reports](./employee-relations-analytics.md)
@@ -0,0 +1,69 @@
1
+ ---
2
+ title: Holiday Calendar
3
+ audience: tenant
4
+ ---
5
+
6
+ # Holiday Calendar (HCM)
7
+
8
+ This page documents the shipped **Holiday Calendar** screen
9
+ (`hcm-foundation`) — where HR sets up one or more holiday calendars (e.g.
10
+ one per country or office location) and the holidays on them. Not for
11
+ plugin developers.
12
+
13
+ **Who this is for:** HR staff setting up and maintaining company holidays.
14
+
15
+ ## Getting there
16
+
17
+ Under Core HR / Administration in the HCM menu.
18
+
19
+ ## What you see
20
+
21
+ - **KPI cards** at the top with real counts for your tenant.
22
+ - A **month calendar grid**, with each holiday shown as a colored event by
23
+ type.
24
+ - A **Holiday Summary** donut chart.
25
+ - **Upcoming Holidays** and **Calendar List** panels.
26
+
27
+ On mobile, KPI cards go to 2-across (4-across on tablet/desktop) and the
28
+ calendar/summary and upcoming/list panels stack full-width instead of
29
+ sitting side by side. It's the same underlying data on web, Studio, and the
30
+ mobile app — not a cut-down mobile version.
31
+
32
+ ## Adding holidays
33
+
34
+ - **Add Holiday** — add one holiday by hand: name, date, type, and which
35
+ calendar it belongs to.
36
+ - **Create New Calendar** — set up a new calendar (e.g. for a new country
37
+ or office).
38
+ - **Import Holidays** — upload a real Excel file. It's saved into your
39
+ tenant's document storage (a "HR Imports" folder, created automatically
40
+ the first time you use this) and then read on the server to create real
41
+ holiday entries — this isn't a preview or a template, it actually adds
42
+ the holidays from your file.
43
+
44
+ ## Exporting
45
+
46
+ A real **Export** button downloads the calendar as an Excel file you can
47
+ open, print, or share.
48
+
49
+ ## Navigating months
50
+
51
+ Use the month grid's own built-in Previous/Next/Today controls (there's no
52
+ separate toolbar for this — just the calendar itself).
53
+
54
+ ## Known gaps
55
+
56
+ - **No Location or Status filter in the toolbar** — only Calendar and Type
57
+ filters are wired up.
58
+ - **Holidays can't yet be scoped to a specific employee group** — a holiday
59
+ applies calendar-wide, not to a subset of employees.
60
+ - **"Calendar List" has no separate management screen** — you can see the
61
+ list of calendars here, but there's no dedicated page yet to edit or
62
+ organize them beyond what Create New Calendar and Add Holiday already
63
+ cover.
64
+ - **Imported files always land in a fixed "HR Imports" folder** — you can't
65
+ choose a different destination.
66
+
67
+ ## Related
68
+
69
+ - [HR Policies](./hr-policies.md)
@@ -0,0 +1,64 @@
1
+ ---
2
+ title: HR Policies
3
+ audience: tenant
4
+ ---
5
+
6
+ # HR Policies (HCM)
7
+
8
+ This page documents the shipped **HR Policies** screen (`hcm-foundation`) —
9
+ where HR publishes company policies and tracks which employees have
10
+ acknowledged them. Not for plugin developers.
11
+
12
+ **Who this is for:** HR staff who create and publish policies, and anyone
13
+ whose permissions include policy management (view/create/update/delete/
14
+ publish/archive/manage-category/view-acknowledgement/export).
15
+
16
+ ## Getting there
17
+
18
+ Under Core HR in the HCM menu.
19
+
20
+ ## What you see
21
+
22
+ - A row of **KPI numbers** at the top (e.g. total policies, published,
23
+ pending acknowledgement — the real counts for your tenant).
24
+ - A **filter bar** to narrow the list.
25
+ - The main **grid** of policies, with row actions: **View**, **Submit**,
26
+ **Publish**, **Archive**.
27
+
28
+ ## Creating and publishing a policy
29
+
30
+ **Create** opens a form: pick a category, write the policy content, and
31
+ save it as a draft. Use **Submit** to move it toward publication, then
32
+ **Publish** to make it live. Once a version is published, it's locked —
33
+ you can't silently edit it. To change a published policy, you create a new
34
+ version instead, so employees always know exactly what they acknowledged
35
+ and when.
36
+
37
+ **Archive** retires a policy that's no longer in effect.
38
+
39
+ **Manage Categories** lets you set up and edit the categories policies are
40
+ organized under (e.g. Code of Conduct, Leave Policy, IT Usage) — configure
41
+ these before creating policies so each one has somewhere to belong.
42
+
43
+ ## Policy detail
44
+
45
+ Click a policy to open its detail view, with three tabs:
46
+
47
+ - **Overview** — the policy's own details.
48
+ - **Versions** — every published version of this policy, since publishing
49
+ never overwrites a previous version.
50
+ - **Acknowledgements** — which employees this policy applies to, and who
51
+ has (and hasn't) acknowledged it yet.
52
+
53
+ ## Known gaps
54
+
55
+ - **Publish and Archive don't go through an approval workflow** — they take
56
+ effect immediately for anyone with the right permission, unlike some
57
+ other HCM change types that route through a manager/HR approval step
58
+ first. If your organization expects policy publication to need sign-off
59
+ from someone else, that's not enforced here yet — it relies on only
60
+ giving the Publish permission to people who should have final say.
61
+
62
+ ## Related
63
+
64
+ - [Holiday Calendar](./holiday-calendar.md)
@@ -0,0 +1,98 @@
1
+ ---
2
+ title: HR Settings
3
+ audience: tenant
4
+ ---
5
+
6
+ # HR Settings (HCM)
7
+
8
+ This page documents the shipped **HR Settings** area (`hcm-foundation`) —
9
+ the central place an HR administrator configures how HCM behaves for their
10
+ company. Not for plugin developers; if you're adding a new settings group
11
+ of your own, treat this as a working example to copy, not a guide to read
12
+ first.
13
+
14
+ **Who this is for:** the **HR Settings Administrator** role. Everyday
15
+ settings you can just save yourself; a few sensitive ones need a second
16
+ person to approve the change before it takes effect (see
17
+ [Approvals for sensitive settings](#approvals-for-sensitive-settings)
18
+ below).
19
+
20
+ ## Getting there
21
+
22
+ `/app/hcm/administration/hcm-foundation/hr-settings` — the **Overview**
23
+ page, a grid of 12 setting-category cards.
24
+
25
+ ## The Overview page
26
+
27
+ Nine tabs across the top — **Overview**, **Policies**, **Workflows**,
28
+ **Notifications**, **Integrations**, **Security**, **Compliance**,
29
+ **Custom Fields**, **System** — switch between them instantly, no page
30
+ reload. Overview shows all 12 category cards together; each other tab
31
+ zooms into one category at a time.
32
+
33
+ Not every category is fully built yet. Click **Manage** on a card and
34
+ you'll land on that category's real settings screen; click a card that
35
+ still says **Coming soon** and there's nothing there yet:
36
+
37
+ | Works today (Manage) | Not yet (Coming soon) |
38
+ |---|---|
39
+ | Organization | HR Policies |
40
+ | Compensation | Workflows |
41
+ | Attendance | Notifications |
42
+ | Employee | Integrations |
43
+ | Compliance | Security |
44
+ | System | Custom Fields |
45
+
46
+ ## Managing a settings group
47
+
48
+ Clicking **Manage** on any working category opens a real settings screen
49
+ for that group — every actual setting HCM ships for that category, each
50
+ with its current value and a way to change it.
51
+
52
+ Settings come in three tiers, and the tier changes what happens when you
53
+ save:
54
+
55
+ - **Safe settings** (tier 1) — save immediately, no approval needed.
56
+ - **Sensitive settings** (tier 2/3) — saving doesn't apply the change right
57
+ away. Instead it's held as a **pending value** until someone with the
58
+ right authority approves it. Only once approved does the new value
59
+ actually take effect.
60
+
61
+ This means you might change a sensitive setting and not see it "stick"
62
+ immediately — that's expected, not a bug. Check for a pending approval if a
63
+ setting you changed doesn't seem to have updated.
64
+
65
+ ## Country Configuration
66
+
67
+ A separate screen for turning on **Country Packs** — bundles of
68
+ country-specific settings (statutory requirements, tax rules, social
69
+ security, leave rules, payroll rules, working-time rules, holidays,
70
+ compliance requirements, and employee ID formats) for a specific country.
71
+
72
+ - **Activate** a country once its pack is installed, and its settings
73
+ become available through the same settings screens as everything else.
74
+ - **Retire** a country to turn it back off.
75
+
76
+ At the time of writing, only **India** has a Country Pack installed and
77
+ available to activate here — this isn't a general "pick any country in the
78
+ world" list, only whatever packs your tenant actually has installed show
79
+ up.
80
+
81
+ ## Approvals for sensitive settings
82
+
83
+ If you're the one approving a pending settings change (rather than the one
84
+ who proposed it), you'll see it come through the normal HCM approvals
85
+ inbox, the same place any other approval request in HCM shows up.
86
+
87
+ ## Known gaps
88
+
89
+ - **Six of the 12 categories aren't built yet**: HR Policies, Workflows,
90
+ Notifications, Integrations, Security, and Custom Fields all still say
91
+ "Coming soon" — there's no settings screen behind them yet.
92
+ - **Country Configuration only lists India** today, not a general list of
93
+ every country in the world — more countries appear here as their packs
94
+ get installed.
95
+
96
+ ## Related
97
+
98
+ - [Add your own app-owned roles & permissions](../../guides/add-app-owned-roles-and-permissions.md)