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

Shipmentschedule not updated after order reactivate and re-complete #5961

Merged
merged 7 commits into from Dec 21, 2019

Conversation

metas-ts
Copy link
Member

  • close and open affected shipment schedules as the respective sales order is reactivated and completed again

#5960

* close and open affected shipment schedules as the respective sales order is reactivated and completed again

#5960
* when opening a shipment schedule, then also update with stuff from the respective referenced object
* cleanup: IShipmentScheduleHandlerBL.invalidateCandidatesFor became obsolete with the rise of storage segments
#5960
* prevent reactivation if shipment schedule is already processed
#5960
@metas-ts metas-ts marked this pull request as ready for review December 20, 2019 22:13
* also create or extend shipment schedule's ASI (#4870)
  * attribute instances of the shipment schedule that are not part of the order line's ASI are left untouched
* generally update everything (product, warehouse, bpartner etc) from the order line and its order, when the order line is completed again
#5960
@metas-ts
Copy link
Member Author

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- de.metas.swat/de.metas.swat.base/src/main/java/de/metas/inoutcandidate/api/impl/ReceiptScheduleASIAware.java  2
- de.metas.swat/de.metas.swat.base/src/main/java/de/metas/inoutcandidate/modelvalidator/C_Order_ShipmentSchedule.java  1
- de.metas.business/src/main/java/org/adempiere/mm/attributes/api/impl/AttributeSetInstanceBL.java  4
         

Complexity decreasing per file
==============================
+ de.metas.swat/de.metas.swat.base/src/main/java/de/metas/order/inoutcandidate/OrderLineShipmentScheduleHandler.java  -2
+ de.metas.swat/de.metas.swat.base/src/main/java/de/metas/inoutcandidate/api/impl/ShipmentScheduleUpdater.java  -2
         

See the complete overview on Codacy

Copy link
Member Author

@metas-ts metas-ts left a comment

Choose a reason for hiding this comment

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

going to squash-integrate and CP after succcessful build

@metas-ts metas-ts merged commit 3541ee9 into master Dec 21, 2019
@metas-ts metas-ts deleted the gh5960-app branch December 21, 2019 11:08
metas-ts added a commit that referenced this pull request Dec 21, 2019
(the failing tests were addressed)

* Shipmentschedule not updated after order reactivate and re-complete

* close and open affected shipment schedules as the respective sales order is reactivated and completed again

#5960

* Shipmentschedule not updated after order reactivate and re-complete

* when opening a shipment schedule, then also update with stuff from the respective referenced object
* cleanup: IShipmentScheduleHandlerBL.invalidateCandidatesFor became obsolete with the rise of storage segments
#5960

* Shipmentschedule not updated after order reactivate and re-complete

* prevent reactivation if shipment schedule is already processed
#5960

* fix unit test

#5960

* Shipmentschedule not updated after order reactivate and re-complete

* also create or extend shipment schedule's ASI (#4870)
  * attribute instances of the shipment schedule that are not part of the order line's ASI are left untouched
* generally update everything (product, warehouse, bpartner etc) from the order line and its order, when the order line is completed again
#5960

(cherry picked from commit 3541ee9)
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.

None yet

1 participant