Skip to main content

Public data entities

Register a Finance and Operations application principal with read access to one public data entity in its default company. Mount app-rest and bind providerEndpoint for the mode below to the environment’s HTTPS origin and exact /data/<EntitySet>. Seal an Entra OAuth2 credential or bearer token for that environment. Pass the same label to the receiver binder and as the app’s data. Initialize with { profile: { mode: "provider", provider: "dynamics-365-finance-operations.odata.entities", collection, fields: ["dataAreaId", "CustomerAccount"], limit: 16 } }. Set collection to the full HTTPS URL of the bound /data entity set and copy the complete key from its OData metadata. The example key is for CustomersV3. A page accepts the configured 1–100 rows and 36 KiB. The app lands every returned entity field and follows same-collection skip positions. It starts a new ordered live sweep at the end. Omissions leave prior observations in place.

Change tracking

Enable Finance and Operations row-version change tracking for the underlying tables and entity. Expose the entity as a Dataverse virtual table and enable change tracking in Power Apps. Then install the Dataverse OData mount against the virtual table’s /api/data/v9.2/<EntitySet>. Use its Dataverse primary GUID and column names, and a credential for the Dataverse environment. The native /data endpoint serves observations. The eligible Dataverse virtual table serves provider delta positions and explicit deletions. Dataverse limits and gap handling apply, including the Finance and Operations provider’s shorter history. Finance and Operations OData · Track changes for Finance and Operations virtual tables

Write Customers V3

Use providerWriter with dynamics-365-finance-operations.odata.customers.create-update, writer receivers.writers[mode] and scope: ["usmf"] or the relevant legal entity. Use the F&O HTTPS origin under operations.dynamics.com and seal an Entra bearer or OAuth2 grant under the protected label. Map the Entra application to an F&O principal scoped to the intended legal entity and authorized to write Customers V3. Send one JSON object up to 24 KiB. On create, include the intended dataAreaId and the customer values accepted by Customers V3. POST retains HTTP 201 and the returned CustomerAccount from a response that also includes dataAreaId. On update, give the CustomerAccount as the command ID. The installed PATCH route supplies both CustomerAccount and dataAreaId. Provide an exact ifMatch in the payload for optimistic concurrency. Without it, the writer uses If-Match: *. HTTP 204 lands the status and command account ID. Commands use exact keys, dispatch once and carry no read cursor. Customers V3 entity