Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to most recent #17

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Update to most recent #17

wants to merge 10 commits into from

Conversation

ericroberts
Copy link

I had merge conflicts in vendor bills that need to be looked at closely.

I also notice that the upsert calls are providing a second parameter. Will need to figure out if this is required for upsert_list as well.

@ericroberts ericroberts requested review from csrbarber and a team December 19, 2023 13:54
@@ -503,6 +506,16 @@ def upsert(self, record):
return record_ref
else:
exc = self._request_error('upsert', detail=status['statusDetail'][0])

if record_type:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this second param is only for error parsing. I think upsertList should be unaffected by this. We just won't get the benefits of whatever this does.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the way this is implemented anyhow. You could pass "journal_entry" as the second param in an upsert to a Bill. I wonder what happens then.

@@ -16,7 +18,6 @@ class VendorBills(ApiBase):
'memo',
'tranDate',
'tranId',
'itemList',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the changes here are to support customFields for items. We don't use item based lines, so we're in the clear. 😄

Copy link

@csrbarber csrbarber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants