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

receivedPartial cannot accept self status and processStockPutAndSave not change status transaction #86

Open
yashiroiori opened this issue Feb 20, 2022 · 0 comments

Comments

@yashiroiori
Copy link

yashiroiori commented Feb 20, 2022

Is correct when receivedPartial cannot accept your own same state??

image

I add self status to accept transaction "STATE_ORDERED_RECEIVED_PARTIAL"
image

En the same method need add "!" it's not false, because processStockPutAndSave return object or false, and it's correct all return $this an then run returnToPreviousState to backroll status and never set new state "STATE_ORDERED_RECEIVED_PARTIAL"
image

The same case is en the method receivedAll, not receive all when are "STATE_ORDERED_RECEIVED_PARTIAL" need add the state
image

Or maybe I wrong use transaction??

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

No branches or pull requests

1 participant