Release: Commissions and Rebates – 27.2.9615.58756
Description
This release focuses on improving the Treeview experience within the “Agreement Included/Excluded” page of the Commissions and Rebates extension. Users can now see the Treeview Node Name and Customer Name directly on agreement lines, eliminating the need to open secondary lookup lists. Additionally, a critical bug has been fixed where the treeview level was unintentionally cleared when users opened and cancelled the lookup list. A new interface (isaREB_iReferenceType2) has been introduced to support description retrieval across all reference types (Customer, Item, Vendor, Salesperson, Values Entry), along with multiple new integration events for extensibility. Code cleanup and formatting improvements have also been applied to PowerBI-related objects.
User Stories
| Title |
Description |
Setup Instructions |
Impact on previous version |
| [23739] – In “Agreement Included/Excluded”, add Treeview Node Name and Customer Name |
Users can now see the Treeview Node Name description directly on agreement included/excluded lines, making it easier to identify which entity (Customer, Item, Vendor, Salesperson) is associated with each treeview code. A new non-editable “Treeview Description” field has been added to the Incl/Excluded page (Page 8004406). A new interface isaREB_iReferenceType2 has been created, and all RefType codeunits (Customer, Item, Vendor, Salesperson, ValuesEntry, Default) now implement the GetTreeviewDescription method. |
No specific setup required. The new “Treeview Description” column appears automatically on the Agreement Included/Excluded page. Impacted objects: Interface isaREB_iReferenceType2 (new), Page 8004406, Codeunit 8004403, Codeunit 8004404, Codeunit 8004405, Codeunit 8004406, Codeunit 8004407, Codeunit 8004415, Enum 8004406. |
No breaking changes. The new interface extends the existing isaREB_iReferenceType interface. The enum isaREB_Reference Type now includes an UnknownValueImplementation fallback to isaREB_RefType_Default. |
Bugs
| Title |
Description |
Impact on previous version |
| [23795] – The treeview level in “Agreement Included/Excluded” is deleted when we open the list |
When users opened the treeview level lookup list and clicked “Cancel”, the treeview level value was unintentionally cleared from the agreement line. The GetTreeviewLevel procedure in all RefType codeunits (Customer 8004404, Item 8004403, Vendor 8004405, Salesperson 8004406) has been fixed to conditionally validate the Treeview Level only when LookUpSingleTreeview returns a non-empty value, preventing the field from being blanked on cancellation. |
Low regression risk. The fix changes validation behavior in the GetTreeviewLevel procedure. Previous versions would clear the treeview level on lookup cancellation; this is now prevented. |
Events
| Status |
Type |
Object Name |
Event Name |
Description |
| New |
IntegrationEvent |
isaREB_RefType_Customer |
OnBeforeGetTreeviewDescription |
Allows customization before retrieving treeview description from agreement condition record |
| New |
IntegrationEvent |
isaREB_RefType_Customer |
OnAfterGetTreeviewDescription |
Allows customization after retrieving treeview description from agreement condition record |
| New |
IntegrationEvent |
isaREB_RefType_Item |
OnBeforeGetTreeviewDescription |
Allows customization before retrieving treeview description from agreement condition record |
| New |
IntegrationEvent |
isaREB_RefType_Item |
OnAfterGetTreeviewDescription |
Allows customization after retrieving treeview description from agreement condition record |
| New |
IntegrationEvent |
isaREB_RefType_Salesperson |
OnBeforeGetTreeviewDescription |
Allows customization before retrieving treeview description from agreement condition record |
| New |
IntegrationEvent |
isaREB_RefType_Salesperson |
OnAfterGetTreeviewDescription |
Allows customization after retrieving treeview description from agreement condition record |
| New |
IntegrationEvent |
isaREB_RefType_Vendor |
OnBeforeGetTreeviewDescription |
Allows customization before retrieving treeview description from agreement condition record |
| New |
IntegrationEvent |
isaREB_RefType_Vendor |
OnAfterGetTreeviewDescription |
Allows customization after retrieving treeview description from agreement condition record |
| New |
IntegrationEvent |
isaREB_RefType_ValuesEntry |
OnBeforeGetTreeviewDescription |
Allows customization before retrieving treeview description from agreement condition record |
| New |
IntegrationEvent |
isaREB_RefType_ValuesEntry |
OnAfterGetTreeviewDescription |
Allows customization after retrieving treeview description from agreement condition record |