-
Notifications
You must be signed in to change notification settings - Fork 571
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
Create API EP for Out-Of-Stock Notice #11271
Conversation
@@ -86,6 +87,8 @@ public ShipmentRestController(@NonNull final ShipmentService shipmentService, fi | |||
} | |||
catch (final Exception ex) | |||
{ | |||
Loggables.addLog(ex.getMessage(), ex); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx bro 👍
@@ -288,6 +298,58 @@ private void save(@NonNull final ShipmentSchedule shipmentSchedule) | |||
return result.build(); | |||
} | |||
|
|||
public Stream<ShipmentSchedule> streamFromSegment(@NonNull final IShipmentScheduleSegment shipmentScheduleSegment) | |||
{ | |||
final IQueryBuilder<I_M_ShipmentSchedule> shipmentScheduleIQueryBuilder = queryBL.createQueryBuilder(I_M_ShipmentSchedule.class) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why didn't you use buildShipmentScheduleWhereClause here? asking because now we have two methods that select shipment schedules from IShipmentScheduleSegments. i'd rather have one..
No description provided.