[19.0] [IMP] edi_endpoint_oca: exec_mode=create_exchange_record#272
Open
ivantodorovich wants to merge 1 commit intoOCA:19.0from
Open
[19.0] [IMP] edi_endpoint_oca: exec_mode=create_exchange_record#272ivantodorovich wants to merge 1 commit intoOCA:19.0from
ivantodorovich wants to merge 1 commit intoOCA:19.0from
Conversation
f7ec47f to
f48440d
Compare
f48440d to
345f3b3
Compare
ivantodorovich
commented
May 6, 2026
| """ | ||
| record = self.create_exchange_record( | ||
| file_content=request.httprequest.get_data(), | ||
| ) |
Contributor
Author
There was a problem hiding this comment.
@simahawk shouldn't create_exchange_record set the edi_exchange_state to input_received if file_content is provided?
or perhaps it should immediately call exchange_receive in such case?
To me it seems obvious, I don't get why we would want it in a separate step given the file_content is already set.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a new default exec_mode for EDI exchange records:
create_exchange_recordThis mode will dump the request body as-is into the exchange record content for a later processing.