[Bug]: Support for Mandatory Item Variants in Subscription Billing Module [SubscriptionBilling]#4662
Conversation
|
@anjajanic Can you do a code review please? |
pri-kise
left a comment
There was a problem hiding this comment.
I couldn't see any check on the variant blocked property.
e.g. when a variant is selected.
Is this intentional?
I know that this feature is still new for the variant (https://github.com/microsoft/BusinessCentralApps/pull/351).
src/Apps/W1/Subscription Billing/App/Service Objects/Tables/SubscriptionHeader.Table.al
Show resolved
Hide resolved
src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/ExtendContract.Page.al
Show resolved
Hide resolved
...Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionLineArchive.Table.al
Outdated
Show resolved
Hide resolved
Thanks, I wasn't aware this change coming in. I guess I would like to have it aligned. I will have another round then. |
src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/ExtendContract.Page.al
Outdated
Show resolved
Hide resolved
pri-kise
left a comment
There was a problem hiding this comment.
I checked again some lines above and below your changes, since I was looking for the logic that updates the description with ItemVariant Translation (or the Description).
Maybe this code is already and I only don't see it.
Since this wasn't part of the original change, this don't need to be changed with this PR.
I'm only asking questions.
src/Apps/W1/Subscription Billing/Test/Customer Contracts/ContractsTest.Codeunit.al
Outdated
Show resolved
Hide resolved
src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/ExtendContract.Page.al
Outdated
Show resolved
Hide resolved
ce6d5c2 to
55b3c31
Compare
src/Apps/W1/Subscription Billing/App/Service Objects/Pages/ServiceObject.Page.al
Show resolved
Hide resolved
Head branch was pushed to by a user without write access
…dule [SubscriptionBilling] (microsoft#4662) <!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> 1. Variant Code is now selectable when extending Subscription Customer Contract 2. Variant Code can be made visible on a Customer Contract Line Subpage and can be changed directly in the Contract Line 3. Similar to a sales document, Variant Code is rendered with a red star if Variant Code should be entered. 4. A test testing the update of a Service Object when a field is changed on a Customer Contract Line has been extended. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes microsoft#4400
Summary
Work Item(s)
Fixes #4400
Fixes AB#604193