Class SalesOrderShipmentGroupLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.order.server.logic.OrderLogic
com.echothree.model.control.sales.server.logic.SalesOrderShipmentGroupLogic
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkCustomerTypeShippingMethod
(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 SalesOrderShipmentGroupLogic
Methods inherited from class com.echothree.model.control.order.server.logic.OrderLogic
checkItemAgainstOrderPaymentPreferences, checkItemAgainstShippingMethod, createOrder, createOrderPaymentPreference, createOrderShipmentGroup, getDefaultOrderShipmentGroup, getItemsFromOrder, getOrderAliasTypeByName, getOrderByName, getOrderByNameForUpdate, getOrderCurrency, getOrderName, getOrderPaymentPreferenceByName, getOrderPaymentPreferenceByNameForUpdate, getOrderPriorityByName, getOrderPriorityByNameForUpdate, getOrderRoleTypeByName, getOrderSequence, getOrderSequenceType, getOrderTypeByName
Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
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.
-