You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Users/mattrobinson/Entrusted/moogle/.venv/lib/python3.12/site-packages/sageintacctsdk/apis/api_base.py", line 567, in get_by_query 'field': fields if fields else dimensions_fields_mapping[self.__dimension] ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ KeyError: 'SODOCUMENT'
The text was updated successfully, but these errors were encountered:
@mattrobinson412 we're open for patches, SODOCUMENT is missing in sageintacctsdk/apis/constants.py. If you can add few basic fields that would be returned in the API call to this file, it should fix the issue!
Hello,
Running into this error when running either
get_by_query
orget_all
with this code:response = connection.order_entry_transactions.get_by_query( and_filter=[('greaterthan', 'WHENCREATED', '01/01/2020')]) print(response)
File "/Users/mattrobinson/Entrusted/moogle/.venv/lib/python3.12/site-packages/sageintacctsdk/apis/api_base.py", line 567, in get_by_query 'field': fields if fields else dimensions_fields_mapping[self.__dimension] ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ KeyError: 'SODOCUMENT'
The text was updated successfully, but these errors were encountered: