Class SalesOrderShipmentGroupLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.order.server.logic.BaseOrderShipmentGroupLogic
com.echothree.model.control.sales.server.logic.SalesOrderShipmentGroupLogic
-
Field Summary
Fields inherited from class com.echothree.util.server.control.BaseLogic
coreControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckCustomerTypeShippingMethod(ExecutionErrorAccumulator eea, CustomerType customerType, ShippingMethod shippingMethod) Verify that the CustomerType is authorized to use the ShippingMethod.createSalesOrderShipmentGroup(Session session, ExecutionErrorAccumulator eea, Order order, Integer orderShipmentGroupSequence, ItemDeliveryType itemDeliveryType, Boolean isDefault, PartyContactMechanism partyContactMechanism, ShippingMethod shippingMethod, Boolean holdUntilComplete, PartyPK createdBy) Create a new Order Shipment Group for a given Order.static SalesOrderShipmentGroupLogicvoidupdateSalesOrderShipmentGroupFromValue(ExecutionErrorAccumulator eea, OrderShipmentGroupDetailValue orderShipmentGroupDetailValue, BasePK updatedBy) Methods inherited from class com.echothree.model.control.order.server.logic.BaseOrderShipmentGroupLogic
createOrderShipmentGroup, getDefaultOrderShipmentGroup, getDefaultOrderShipmentGroup, getDefaultOrderShipmentGroupForUpdate, getOrderShipmentGroup, getOrderShipmentGroupBySequence, getOrderShipmentGroupForUpdateMethods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Constructor Details
-
SalesOrderShipmentGroupLogic
protected SalesOrderShipmentGroupLogic()
-
-
Method Details
-
getInstance
-
checkCustomerTypeShippingMethod
public void checkCustomerTypeShippingMethod(ExecutionErrorAccumulator eea, CustomerType customerType, ShippingMethod shippingMethod) Verify that the CustomerType is authorized to use the ShippingMethod. If there are no CustomerTypeShippingMethods for any ShippingMethod then it is assumed they're authorized.- Parameters:
eea- Required.customerType- Required.shippingMethod- Required.
-
createSalesOrderShipmentGroup
public OrderShipmentGroup createSalesOrderShipmentGroup(Session session, ExecutionErrorAccumulator eea, Order order, Integer orderShipmentGroupSequence, ItemDeliveryType itemDeliveryType, Boolean isDefault, PartyContactMechanism partyContactMechanism, ShippingMethod shippingMethod, Boolean holdUntilComplete, PartyPK createdBy) Create a new Order Shipment Group for a given Order.- Parameters:
session- Required.eea- Required.order- Required.orderShipmentGroupSequence- Optional.itemDeliveryType- Required.isDefault- Required.partyContactMechanism- Optional.shippingMethod- Optional.holdUntilComplete- Required.createdBy- Required.- Returns:
- The newly created OrderShipmentGroup, or null if there was an error.
-
updateSalesOrderShipmentGroupFromValue
public void updateSalesOrderShipmentGroupFromValue(ExecutionErrorAccumulator eea, OrderShipmentGroupDetailValue orderShipmentGroupDetailValue, BasePK updatedBy)
-