BeyondERP.Newsletter
Menu

Setup step on the Populate records actions page · Tax

Set up Populate records actions

Use this page to set the data sources, such as a Finance table and query, that message items are collected from.

See how to set it up Back to Tax

Used by
Accounts payable clerk, Collections manager, Accounts receivable clerk and 6 more roles
Business process
Report tax and financial data to authorities in Dynamics 365 Finance
Menu item
EMActionPopulateRecord
Main table
EMActionPopulateRecord
Data entity
EMActionPopulateRecordEntity
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Only the period's invoices are collected”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page for populate records actions, which add records to the message items table so they can be included in an electronic message.
What you do hereUse this page to set the data sources, such as a Finance table and query, that message items are collected from.
ExampleFor example, to report customer invoices, you set up a populate records action whose data source is the customer invoice journal table.
Populate records actions page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Step by step, with screenshots

Set up Populate records actions1 screen

Use this page to set the data sources, such as a Finance table and query, that message items are collected from.

  1. Screen 1

    Create the populate records action

    Go to Tax > Setup > Electronic messages > Populate records actions

    1. Select New, and enter the Name and Description
    2. On Datasources setup, select Add and enter the line Name
    3. Select the Message item type, Account type and Master table name
    4. Select the Document number, Document date and Document account fields, then select Save
    1NameBEAT-INVOICES
    Datasource lineBEAT-CUSTINV: BEAT-INV, Customer, CustInvoiceJour, InvoiceId, InvoiceDate, InvoiceAccount
    Create the populate records action (zoomed on the outlined fields)
    Show the full screenCreate the populate records action
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Tax > Setup > Electronic messages > Populate records actions.
  2. Create a record and enter a name and description.
  3. On the Datasources setup FastTab, add a line for each data source.
  4. On each line, select the message item type, account type and master table, and the document number, date and account fields.
  5. To limit the records, select Edit query and enter the criteria.
  6. To collect data from several legal entities, add a line per legal entity with its Company and query.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Message item typeThe message item type given to records from the data source.Microsoft Learn ItemTypeId
Account typeThe type of account linked to records from the data source.Microsoft Learn AccountType
Master table nameThe table that is the data source.Microsoft Learn
Document number fieldThe field that gives the message item its document number.Microsoft Learn
Document date fieldThe field that gives the message item its date.Microsoft Learn
Document account fieldThe field that gives the message item its account number.Microsoft Learn
CompanyThe legal entity to collect data from, when cross-company populate records is turned on.Microsoft Learn
NameThe name of the populate records action.Microsoft Learn InvoicesName
Datasource lineOne data source line: its name, message item type, account type, master table and the document number, date and account fields.Microsoft Learn CUSTINV: INVOICE, Customer, CustInvoiceJour, InvoiceId, InvoiceDate, InvoiceAccount

Common errors and fixes

MessageWhat to do
Collect data creates message items for every record in the table.Select Edit query on the data source line and enter the criteria; User query is then selected. Microsoft Learn

Test checklist

  1. Add a data source on the Customer invoice journal with Document number, Document date and Document account fields set.
  2. Select Edit query, limit it to one period and check User query is selected.
  3. Run the populate action and check only invoices in that period appear as message items with the right document number, date and account.
  4. If the cross-company feature is on, add a line per legal entity with its own query and check items come from each company.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Populate records actionsOne data source line per table to report (for example the Customer invoice journal for customer invoices), each limited with Edit queryWithout a query, all records are taken from the selected master table. Edit query sets the criteria and selects User query.Does reporting collect data from one legal entity or several?Leaving User query cleared, so every record in the master table becomes a message item.Test: Only the period's invoices are collected

Feature management and licence

Feature to turn onCross-company queries for the populate records actions (Optional)
Licence or add-inOn the live system, these roles have access to this page: Accountant, Accounting manager, Accounting supervisor, Accounts receivable manager, Collections manager, Accounts receivable clerk.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company. Electronic messages setup is imported or set up in each legal entity that reports. Microsoft Learn
Can it be undoneReversible: Data sources and queries can be changed and apply to the next populate run; message items already created stay as they are.
If you change it laterData sources and queries apply to the next populate run. Message items already created stay as they are. With the cross-company feature on, each legal entity needs its own data source line and query. Microsoft Learn
Technical architect

6Technical

Menu itemEMActionPopulateRecord Checked in Dynamics 365
FormEMActionPopulateRecord Checked in Dynamics 365
TableEMActionPopulateRecordShown as “Action populate records” in Record infoChecked in Dynamics 365
Data entitiesEMActionPopulateRecordEntityAction populate records Checked in Dynamics 365
Who can open it

9 security roles. Select a role to see its duties and privileges.

  • RoleCollections managerCollectionLetterCollectionsManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounts receivable clerkCustInvoiceAccountsReceivableClerk
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounts receivable managerCustInvoiceAccountsReceivableManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleTax accountantFBTaxAccountant_BR
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccountantLedgerAccountant
    • DutyMaintain sales tax transactionsTaxSalesTaxTransactionsMaintain
      • PrivilegeMaintain electronic messagesElectronicMessageMaintain
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounting managerLedgerAccountingManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleSales managerTradeSalesManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounts payable clerkVendInvoiceAccountsPayableClerk
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itAccountant LedgerAccountantTo use itAccounting manager LedgerAccountingManagerAccounting supervisor LedgerAccountingSupervisorAccounts receivable manager CustInvoiceAccountsReceivableManagerCollections manager CollectionLetterCollectionsManagerAccounts receivable clerk CustInvoiceAccountsReceivableClerkGive people one of these roles. On this system, 9 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=EMActionPopulateRecord
Integrate withEMActionPopulateRecordEntity data entity Checked in Dynamics 365
Data migrationEMActionPopulateRecordEntity Loads the populate records action records of this legal entity.Load order: Electronic messages setup is usually imported as one package of data entities for a country/region reporting feature, after the Electronic reporting configurations it links to. Import it with the Data management tool into each legal entity that reports.Load first: Electronic reporting configurations used by the processing, Number sequences for messages and message items in General ledger parametersMicrosoft Learn
Everyone

8Sources

To cite this step: TAX-SETUP-180, Set up Populate records actions. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/TAX-SETUP-180