Skip to content

[Bug][SubscriptionBilling] OnAfterInitFromSubscriptionLine in "Vend. Sub. Contract Line" #7110

@stephanweidmann

Description

@stephanweidmann

Describe the issue

I want to syncronize CustSubContractLine with VendSubContractLine and add the "OnAfterInitFromSubscriptionLine"- Publisher in the VendSubContractLine. This would improve the extensibility.
I did not found any open issue or pullrequest where this publisher in "VendSubContract Line" has already been requested.

Expected behavior

-> Extend the assignment of vend. Sub Contract line with infos from the subscription line
This is done in "InitFromServiceCommitment" in "Vend. Sub Contract line"

In "Cust. Sub. Contract Line", there is a OnAfterInitFromubscriptionLine-Publisher, that is not available in purchase.

Steps to reproduce

https://github.com/microsoft/BCApps/blob/main/src/Apps/W1/Subscription%20Billing/App/Vendor%20Contracts/Tables/VendSubContractLine.Table.al

Goto Line 505

Image

Compare with https://github.com/microsoft/BCApps/blob/main/src/Apps/W1/Subscription%20Billing/App/Customer%20Contracts/Tables/CustSubContractLine.Table.al

GoTo Line 463

Image

Additional context

If someone who already set up the repository and knows the whole process can provide this event, I would be happy.
If not, i would try to fix it (as in "I will integrate the publisher"

I will provide a fix for a bug

  • I will provide a fix for a bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    ApprovedThe issue is approvedFinanceGitHub request for Finance area

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions