Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 26, 2026

W1 PEPPOL uses 'EA' (each) as the default unit of measure code, but NA/BE requires 'C62' (one). The existing interface-based architecture wasn't being leveraged for regional customization.

Changes

  • New app: src/Apps/NA/Peppol/App with dependency on W1 PEPPOL
  • Enum extension: Extends PEPPOL 3.0 Format with NA PEPPOL 3.0 - Sales and NA PEPPOL 3.0 - Service values
  • Line info provider: Implements PEPPOL Line Info Provider interface, overriding only GetLineUnitCodeInfo and GetLinePriceInfo (which calls the former internally)
// Key difference from W1
UoMforPieceINUNECERec20ListIDTxt: Label 'C62', Locked = true;  // W1 uses 'EA'

All other interface methods delegate to the base PEPPOL30 codeunit. This follows the extensibility pattern documented in extensibility_examples.md.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Groenbech96 <17690329+Groenbech96@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Peppol app to overwrite UoM label behavior Add NA PEPPOL app with C62 unit code override Jan 26, 2026
Copilot AI requested a review from Groenbech96 January 26, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants