Describe the issue
When creating a Sales Invoice from a Customer Subscription Contract, the Default Dimension Priorities (set for source code "Sales") are not respected. The dimension value is incorrectly taken from the Customer instead of the Item, regardless of the configured priority order.
Setup:
- Customer has Global Dim 1, Value = A
- Item has Global Dim 1, Value = B
- Default Dimension Priorities: Item = 1 (highest), Customer = 2
After generating the Sales Invoice from the Customer Subscription Contract, Global Dimension 1 is set to Value A (from Customer) instead of Value B (from Item).
Expected behavior
Global Dimension 1 should be set to Value B (from Item), as the Item has the higher priority (1) over the Customer (2) in the Default Dimension Priorities for source code "Sales".
Steps to reproduce
- Open Default Dimension Priorities and configure source code
Sales with: Item = priority 1, Customer = priority 2.
- Set up a Customer with Global Dim 1 = Value A.
- Set up an Item with Global Dim 1 = Value B.
- Create a Customer Subscription Contract (e.g. DV000028) using that Customer and Item.
- Generate a Sales Invoice from the Subscription Contract.
- Open the created Sales Invoice and inspect the value of Global Dimension 1.
- Observe that the value is A (from Customer) instead of B (from Item).
Additional context
No response
I will provide a fix for a bug
Describe the issue
When creating a Sales Invoice from a Customer Subscription Contract, the Default Dimension Priorities (set for source code "Sales") are not respected. The dimension value is incorrectly taken from the Customer instead of the Item, regardless of the configured priority order.
Setup:
After generating the Sales Invoice from the Customer Subscription Contract, Global Dimension 1 is set to Value A (from Customer) instead of Value B (from Item).
Expected behavior
Global Dimension 1 should be set to Value B (from Item), as the Item has the higher priority (1) over the Customer (2) in the Default Dimension Priorities for source code "Sales".
Steps to reproduce
Saleswith: Item = priority 1, Customer = priority 2.Additional context
No response
I will provide a fix for a bug