EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB273308: When making changes to other cells unchanged cells also get modified in a transaction service grid in a document in Web in 9.x and 10.x


Community Admin

• Strategy


Unchanged cells also get modified when making changes to other cells in a transaction service grid in a document in Web.

SYMPTOM:
Unchanged cells also get modified when making changes to other cells in a transaction service grid in a document in Web. "Non-changing cells", are filled with values from other rows, where changes were made.
 
STEPS TO REPRODUCE:
1. Create a table.
 


CREATE TABLE [dbo].[testTS](
[ID] [int] NOT NULL,
[Enter1] [text] NULL,
[Enter2] [text] NULL,)

 
 
2. Create Freeform SQL Report .

ka04W000000OaRQQA0_0EM4400000025XY.jpeg

3. Create Transaction Service Report with update sql.

ka04W000000OaRQQA0_0EM4400000025XW.jpeg

 
4. Create Document and Configure Transaction Service.

ka04W000000OaRQQA0_0EM4400000025XU.jpeg

5. Use the document with one ID, two input fields. Values in Row 1 and Row2 are different.

ka04W000000OaRQQA0_0EM4400000025Xh.jpeg

6. Change value in field 1 in row1 and field 2 in row 2.

ka04W000000OaRQQA0_0EM4400000025Xc.jpeg

7. The result is not correct. The field 2 of row 1 picks values from the row 2, while the field 1 of row 2 picks value from row1.

ka04W000000OaRQQA0_0EM4400000025XS.jpeg

CAUSE:
This is working as expected in Strategy 9.x and 10.x. For a transaction services grid, attribute elements with the same value seem to be different elements, but actually these elements with same ID form are saved as one single element for storage optimization. So updating one element results in the backend value for this element ID being changed so all displayed elements with this same ID will be updated to the new value. This occurs when the grid is re-calculated during the "Submit" action. However, this behavior only occurs with attributes and not for metrics.
WORKAROUND:
Changing the attribute to be metric should avoid this issue.
The Strategy Internal Reference Number for the issue discussed in this technical note is 788781.”
KB273308


Comment

0 comments

Details

Knowledge Article

Published:

June 15, 2017

Last Updated:

December 26, 2018