Overview
Reuse standard financial master data across finance automation and reporting.
Dynamics 365 F&O · OData · Power Apps · Power BI
- Account master extraction
- Code and name search
- Account type classification
- Chart analysis
- Reporting master data
- Validation workflows
Standard data entities
MainAccounts
Confirm entity metadata in the target environment before use.
Architecture
- Main account master
- Retain account codes as text and classify accounts
- Search and filter
- Reuse in validation or reporting
Scenarios
- Account validation
- Search by code or name, filter by account class and check the company chart of accounts before using the code.
Illustrative API reference
Confirm the entity sets, fields, keys, enums, permissions and supported operations against /data/$metadata in an authorized demo environment before using these examples.
Read-only account master discovery
GET https://<environment>/data/MainAccounts?$top=100 Fictional dataset
Ten fictional accounts across Asset, Liability, Equity, Revenue and Expense.
Preview the sample dataset
| GL code | Account name | Type |
|---|---|---|
| 110100 | Bank Account | Asset |
| 120100 | Accounts Receivable | Asset |
| 130100 | Prepaid Expenses | Asset |
| 210100 | Accounts Payable | Liability |
| 220100 | Accrued Expenses | Liability |
| 310100 | Share Capital | Equity |
| 410100 | Service Revenue | Revenue |
| 610100 | Rent Expense | Expense |
| 610200 | Software Expense | Expense |
| 610300 | Travel Expense | Expense |
Illustrative SharePoint backend
D365 owns the chart of accounts and company-level account validity. SharePoint stores reporting mappings and validation requests.
These proposed schemas use logical internal names. Confirm names, choice and person values, and connector delegation in your tenant. Sample references are fictional identifiers.
Download SharePoint schemas and examplesAccountMappings · List
| Internal column name | Field type | Index and key |
|---|---|---|
| Title | Single-line text | — |
| MappingID | Single-line text | Unique and indexed |
| COA | Single-line text | Candidate index |
| MainAccount | Single-line text | Candidate index |
| ReportGroup | Single-line text | — |
| Active | Yes/no | — |
GLValidationRequests · List
| Internal column name | Field type | Index and key |
|---|---|---|
| Title | Single-line text | — |
| RequestID | Single-line text | Unique and indexed |
| Company | Single-line text | Candidate index |
| MainAccount | Single-line text | — |
| Status | Choice | — |
| Message | Multiple lines of text | — |
Read an operational list
GET https://<tenant>.sharepoint.com/sites/Demo/_api/web/lists/getbytitle('AccountMappings')/items
?$select=MappingID,COA,MainAccount,ReportGroup,Active
&$filter=COA eq 'COA-DEMO' Use indexed, delegable filters and pagination. The 5,000-item List View Threshold applies to affected queries. Use stable unique keys, concurrency controls, version history and separate execution logs.
Enforce least privilege directly on lists, libraries and integration identities. Keep sensitive values out of general history and use restricted libraries for supporting documents. Review retention, archiving and any ERP or connector licensing in the target environment.
A Power Automate flow can retrieve the relevant records, validate them, request approval when required, prepare the payload, use documented authorized integration where available, verify the ERP result, update the request and log the outcome.
Implementation pattern
Keep codes as strings to preserve leading zeros. Store chart of accounts or ledger context alongside main account codes.
Try the demo
Fictional data · Runs locally in your browser
Search by account code or name and narrow the results by account type.
10 accounts
No records match these filters. Try a different selection.
| GL code | Account name | Type |
|---|---|---|
| 110100 | Bank Account | Asset |
| 120100 | Accounts Receivable | Asset |
| 130100 | Prepaid Expenses | Asset |
| 210100 | Accounts Payable | Liability |
| 220100 | Accrued Expenses | Liability |
| 310100 | Share Capital | Equity |
| 410100 | Service Revenue | Revenue |
| 610100 | Rent Expense | Expense |
| 610200 | Software Expense | Expense |
| 610300 | Travel Expense | Expense |
Validation
A main account code may appear in multiple charts. The filter choices are display categories. Verify any corresponding D365 enum values in the target environment.
Documentation
All projects published on this website are independent educational demonstrations based on standard Microsoft Dynamics 365 Finance & Operations data entities and publicly documented APIs. All datasets, company identifiers, account codes, transaction references and financial amounts are fictional. No proprietary code, confidential business information or organizational data is reproduced. Entity availability, field definitions, permissions and supported operations may vary by application version and environment configuration.