-
Notifications
You must be signed in to change notification settings - Fork 357
Labels
FinanceGitHub request for Finance areaGitHub request for Finance area
Description
Describe the issue
We are implementing a scenario where imported usage data needs to be displayed in the attachment of posted sales invoices.
Currently, this is not properly extensible:
- It is very complex to propagate fields from Usage Data Generic Import to Usage Data Billing
- It is not possible to extend the dataset of report "Standard Sales - Invoice" to include additional fields from Usage Data Billing (missing integration events / entry points)
Additionally, we need to control when the attachment is created:
- Only invoice lines with usage data should generate attachment entries
- No attachment should be created for subscription lines without usage data
Expected behavior
- Simple and standard way to pass additional fields from Usage Data Generic Import to Usage Data Billing
- Integration events before inserting Usage Data Billing and Billing Line Archive into the temp buffer used for printout
- Ability to enrich the dataset of the Sales Invoice report via standard extensibility
- Control over which lines appear in the attachment
Steps to reproduce
- Import usage data via Usage Data Import / Generic Connector
- Ensure data is processed into Usage Data Billing
- Post a Sales Invoice for a subscription contract with usage-based billing
- Open/print report "Standard Sales - Invoice" (with Contract Billing details)
- Try to:
- Extend the dataset with additional fields from Usage Data Billing (e.g. imported product name)
- Control which lines appear in the attachment
Additional context
A full implementation (codeunit and reportextension changes) is provided in the related pull request.
I will provide a fix for a bug
- I will provide a fix for a bug

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FinanceGitHub request for Finance areaGitHub request for Finance area