code change · fixIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#9575 [Payables Agent] set Document Date and Due Date on Incomming Document when Draft is created

The Prepare draft step for inbound E-Documents now copies Document Date and Due Date from the E-Document Purchase Header, ensuring these dates appear correctly on the Inbound E-Documents list once the document reaches Draft ready status.

Pull request · merged into main (BC30) on 2026-07-20 by Explorer986 · 1 file (+8 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Document Date and Due Date are now populated from E-Document Purchase Header during draft preparation
  • Values are only copied when present, preventing blank dates from overwriting existing data
  • Matches the existing approach used for vendor name and number population
  • No schema or permission changes
  • Low-risk change affecting only the Prepare draft processing step
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#642321
  • Labels: AL: Apps (W1), Team: Integrations
  • Systems: integration
  • From the description: “This fix copies the Document Date and Due Date from the E-Document Purchase Header onto the E-Document during the Prepare draft step.”

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).