Skip to content

Commit

Permalink
Fix: Fix user defined dimensions (#572)
Browse files Browse the repository at this point in the history
* feat: Add objectLabel as attribute type for user defined dimensions

* comment resolved

* added script for wrong attributes in DB

* Fix for user defined dimension issue
  • Loading branch information
Ashutosh619-sudo authored Nov 4, 2024
1 parent 1c3569d commit e3b0f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/sage_intacct/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def sync_user_defined_dimensions(self):
if dimension['userDefinedDimension'] == 'true':
dimension_attributes = []
dimension_name = dimension['objectLabel'].upper().replace(" ", "_")
dimension_values = self.connection.dimension_values.get_all(dimension_name)
dimension_values = self.connection.dimension_values.get_all(dimension['objectName'])

for value in dimension_values:
dimension_attributes.append({
Expand Down

0 comments on commit e3b0f5d

Please sign in to comment.