Skip to content

[Due for payment 2026-10-08] [Release 2][BC] Add Business Central Export page and settings #101109

Closed

Description

@NikkiWines

Part of Release 2: Ship the Export flow, which tracks the Business Central design doc.

Scope

  • Extend the businessCentral entry in the Connections type (src/types/onyx/Policy.ts) with a config.export sub-object mirroring the Integration-Server schema added in the export config schema issue: exporter, exportDate, reimbursable, companyCard, reimbursableAccount, companyCardAccount, defaultVendorID, paymentMethodCode, postingMode, autoCreateEntities. postingMode and autoCreateEntities are read-only in this release (their admin-facing commands ship in Release 3) but still need to exist on the type since the Export page reads their defaults.
  • Add App/src/pages/workspace/accounting/businessCentral/export/BusinessCentralExportPage.tsx, adapted from existing integration export pages: a ConnectionLayout wrapper plus a stack of menu-item rows built from policy.connections.businessCentral.config.export
  • Add 7 new picker pages, each opened from a row and calling its command:
    • Preferred exporter -> BusinessCentralPreferredExporterSelectPage.tsx -> updateBusinessCentralExporter
    • Export date -> existing export-date picker -> updateBusinessCentralExportDate
    • Reimbursable expenses export to -> BusinessCentralReimbursableExpensesExportDestinationSelectPage.tsx (two-option SelectionList: General Journal / Purchase Invoice, adapted from DynamicNetSuiteExportExpensesDestinationSelectPage.tsx) -> updateBusinessCentralReimbursableExpensesExportDestination
    • Reimbursable account -> BusinessCentralReimbursableAccountSelectPage.tsx (SelectionList over BusinessCentralData.bankAccounts) -> updateBusinessCentralReimbursableAccount
    • Non-reimbursable/card expenses export to -> BusinessCentralNonreimbursableExpensesExportDestinationSelectPage.tsx -> updateBusinessCentralNonreimbursableExpensesExportDestination
    • Company card account -> BusinessCentralCompanyCardAccountSelectPage.tsx (SelectionList over BusinessCentralData.bankAccounts) -> updateBusinessCentralCompanyCardAccount
    • Default vendor -> BusinessCentralDefaultVendorSelectPage.tsx (SelectionList over BusinessCentralData.vendors) -> updateBusinessCentralDefaultVendor
    • Payment method -> BusinessCentralPaymentMethodSelectPage.tsx (SelectionList over BusinessCentralData.paymentMethods) -> updateBusinessCentralPaymentMethod
  • Add the corresponding BusinessCentral.ts action function wrapping API.write for each of the 8 commands routed in the command routing issue
  • Each row reads pending/error state via businessCentralConfig?.pendingFields/errorFields through the existing settingsPendingAction/getLatestErrorField helpers, same as every row on the Import page
  • Padlock the Customer/Project dimension rows on the Import page (built in App#99053) until the export path is set to PURCHASE_INVOICE (see the customer/project import issue)
  • Register screens/routes/nav/deep-links in the same four places Release 1's screens were added: SCREENS.ts (WORKSPACE.ACCOUNTING.BUSINESS_CENTRAL_EXPORT + one entry per picker), ROUTES.ts (workspaces/:policyID/accounting/business-central/export/...), ModalStackNavigators/index.tsx, linkingConfig/config.ts
  • Add a workspace.businessCentral.export translation block to en.ts and es.ts, following the workspace.netsuite.export block
Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. NikkiWines commented on Sep 23, 2026

    @NikkiWines
    ContributorAuthor

    @c3024 taking this off hold so you can get started while the backend is in progress

  2. changed the title [-][HOLD][Release 2][BC] Add Business Central Export page and settings[/-] [+][Release 2][BC] Add Business Central Export page and settings[/+] on Sep 23, 2026
  3. self-assigned this
    on Sep 24, 2026
  4. c3024 commented on Sep 24, 2026

    @c3024
    Contributor

    I am working on this.

    Figma does not have a "Payment method" row. The issue description and the design doc ask for this row, so I added it.

    The doc says the payment method is optional, and the backend accepts an empty string to clear it. So I added a "None" option to the list. Selecting it sends an empty string, the same way the optional default vendor pickers work in other accounting integrations.

  5. melvin-bot commented on Sep 28, 2026

    @melvin-bot

    Triggered auto assignment to @marcaaron, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

  6. NikkiWines commented on Sep 28, 2026

    @NikkiWines
    ContributorAuthor

    @marcaaron I'll grab this as it's part of the BC project

  7. jponikarchuk commented on Oct 1, 2026

    @jponikarchuk

    Deploy Blocker #102723 was identified to be related to the PR #102129 that attempted to fix this issue.

  8. 9 remaining items

  9. daledah commented on Oct 2, 2026

    @daledah
    Contributor

    Deploy Blocker #102723 was identified to be related to the PR #102129 that attempted to fix this issue.

    it's expected as this comment

    I guess we can actually close this one.

  10. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed on Oct 7, 2026
  11. melvin-bot commented on Oct 7, 2026

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  12. melvin-bot commented on Oct 7, 2026

    @melvin-bot

    Payment Summary

    Resolving PRs:

    BugZero Checklist (@mallenexpensify)

    • I have confirmed assignees, roles, and Upwork contracts look correct
    • I have paid out Upwork contracts / manual NewDot requests
    • [BugZero Assignee] I have created a GH issue for creating/updating the regression test once above steps have been agreed upon
  13. melvin-bot commented on Oct 12, 2026

    @melvin-bot

    @mallenexpensify Huh... This is 4 days overdue. Who can take care of this?

  14. mallenexpensify commented on Oct 13, 2026

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor+: @daledah due $250 via NewDot

    $250 cuz project started months back

  15. quinthar commented on Oct 27, 2026

    @quinthar
    Contributor

    Approved $250 to @daledah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions