com.retek.component.inventory.test
Class InventoryObjectMaster
java.lang.Object
com.retek.component.inventory.test.InventoryObjectMaster
- public class InventoryObjectMaster
- extends java.lang.Object
Method Summary |
static Inventory |
createInventory(DistributedContext context,
java.lang.String skuId,
DistributedReference organizationRef,
java.util.List inventoryQtys,
Warehouse virtualWarehouse)
|
static Inventory |
createInventory(DistributedContext context,
java.lang.String skuId,
DistributedReference organizationRef,
java.util.Map inventoryQty)
|
static Inventory |
createInventory(DistributedContext context,
java.lang.String skuId,
DistributedReference organizationRef,
java.util.Map inventoryQty,
Warehouse virtualWarehouse)
|
static Pack |
createPackWithInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus)
|
static Pack |
createPackWithInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus,
java.util.List skuQtys,
Warehouse warehouse)
|
static Pack |
createPackWithInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus,
Warehouse warehouse)
|
static PurchaseOrder |
createPurchaseOrder(java.util.Collection lines)
|
static PurchaseOrder |
createPurchaseOrder(java.util.Collection lines,
java.lang.String status)
|
static SupplierInventory |
createSupplierInventory(SupplierInventoryDto supplierInventoryDto)
|
static void |
createSupplierInventoryQty(InventoryQtyType inventoryQtyType,
SupplierInventoryBucketType inventoryBucketType,
boolean isAdded,
boolean isIncluded)
|
static void |
createVirtualStoreInventoryQty(InventoryQtyType inventoryQtyType,
VirtualStoreInventoryBucketType inventoryBucketType,
boolean isAdded,
boolean isIncluded)
|
static Quantity |
getTotalAvailableQuantity(Banner banner,
ChannelType channelType,
java.lang.String skuId)
|
static Quantity |
getTotalAvailableQuantity(Banner banner,
ChannelType channelType,
java.lang.String skuId,
Warehouse warehouse)
|
static Quantity |
getTotalBackorderedQuantity(DistributedContext context,
SellableItem sellableItem,
Store virtualStore)
|
static Quantity |
getTotalBackorderedQuantity(DistributedContext context,
java.lang.String skuId,
Store virtualStore)
|
static Quantity |
getTotalRCOMBackorderedQuantity(java.lang.String sellableItemId,
Store virtualStore)
|
static Quantity |
getTotalRCOMReservedQuantity(java.lang.String sellableItemId,
Store virtualStore)
|
static Quantity |
getTotalReservedAndShippedQuantityFromSupplier(SellableItem sellableItem,
Supplier supplier)
|
static Quantity |
getTotalReservedQuantity(DistributedContext context,
Pack pack,
Store virtualStore)
|
static Quantity |
getTotalReservedQuantity(DistributedContext context,
SellableItem sellableItem,
Store virtualStore)
|
static Quantity |
getTotalReservedQuantity(DistributedContext context,
java.lang.String skuId,
Store virtualStore)
|
static Quantity |
getTotalReservedQuantityFromSupplier(SellableItem sellableItem,
Supplier supplier)
|
static Quantity |
getTotalRMSReservedQuantity(java.lang.String sellableItemId,
DistributedReference virtualWarehouseRef)
|
static void |
resetInventoryCache()
|
static void |
resetPurchaseOrderCache()
|
static void |
resetReservationCache()
|
static void |
setUpInventoryForDirectShipItem(DistributedContext context,
SellableItem sellableItem,
Store location,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List supplierInventories)
|
static void |
setupInventoryQtys()
|
static Pack |
setUpPackInventoryData(DistributedContext context,
Pack pack,
Store store,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
SupplierInventoryDto supplierInventoryDto,
Warehouse warehouse)
|
static Pack |
setUpPackInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus,
SupplierInventoryDto supplierInventoryDto)
|
static Pack |
setUpPackInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus,
SupplierInventoryDto supplierInventoryDto,
boolean qtyVariable)
|
static Pack |
setUpPackInventoryData(DistributedContext context,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus)
|
static void |
setUpSellableItemAtWarehouseAndVirtualStore(Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
SellableItem sellableItem,
DistributedContext context)
|
static Sku |
setUpSkuInventoryData(DistributedContext context,
Sku sku,
Store store,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys)
|
static Sku |
setUpSkuInventoryData(DistributedContext context,
Sku sku,
Store store,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.Set warehouseSet)
|
static Sku |
setUpSkuInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys)
|
static Sku |
setUpSkuInventoryData(DistributedContext context,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys)
|
static SellableItem |
setUpSkuInventoryDataForDirectShippable(DistributedContext context,
SellableItem sellableItem,
Store location,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List supplierInventories)
|
static Sku |
setUpSkuInventoryDataForDirectShippable(DistributedContext context,
Store location,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List supplierInventories)
|
static SellableItem |
setUpSkuInventoryDataForDirectShippable(DistributedContext context,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List supplierInventories)
|
static Sku |
setUpSkuInventoryDataForDirectShippable(DistributedContext context,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List supplierInventories,
java.util.List suppliers)
|
static Sku |
setUpSkuInventoryDataWithStandardAndSellingUomDifferent(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
double standardUom)
|
static Sku |
setUpSkuInventoryDataWithStandardAndSellingUomDifferent(DistributedContext context,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
double standardUom)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InventoryObjectMaster
public InventoryObjectMaster()
resetInventoryCache
public static void resetInventoryCache()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
createInventory
public static Inventory createInventory(DistributedContext context,
java.lang.String skuId,
DistributedReference organizationRef,
java.util.Map inventoryQty,
Warehouse virtualWarehouse)
throws BusinessException,
SystemException
- Throws:
BusinessException
SystemException
createInventory
public static Inventory createInventory(DistributedContext context,
java.lang.String skuId,
DistributedReference organizationRef,
java.util.Map inventoryQty)
throws BusinessException,
SystemException
- Throws:
BusinessException
SystemException
createInventory
public static Inventory createInventory(DistributedContext context,
java.lang.String skuId,
DistributedReference organizationRef,
java.util.List inventoryQtys,
Warehouse virtualWarehouse)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
createSupplierInventory
public static SupplierInventory createSupplierInventory(SupplierInventoryDto supplierInventoryDto)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
setupInventoryQtys
public static void setupInventoryQtys()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
createVirtualStoreInventoryQty
public static void createVirtualStoreInventoryQty(InventoryQtyType inventoryQtyType,
VirtualStoreInventoryBucketType inventoryBucketType,
boolean isAdded,
boolean isIncluded)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
createSupplierInventoryQty
public static void createSupplierInventoryQty(InventoryQtyType inventoryQtyType,
SupplierInventoryBucketType inventoryBucketType,
boolean isAdded,
boolean isIncluded)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
resetReservationCache
public static void resetReservationCache()
throws SystemException
- Throws:
SystemException
getTotalReservedQuantity
public static Quantity getTotalReservedQuantity(DistributedContext context,
SellableItem sellableItem,
Store virtualStore)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTotalReservedQuantity
public static Quantity getTotalReservedQuantity(DistributedContext context,
Pack pack,
Store virtualStore)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTotalReservedAndShippedQuantityFromSupplier
public static Quantity getTotalReservedAndShippedQuantityFromSupplier(SellableItem sellableItem,
Supplier supplier)
throws SystemException
- Throws:
SystemException
getTotalReservedQuantityFromSupplier
public static Quantity getTotalReservedQuantityFromSupplier(SellableItem sellableItem,
Supplier supplier)
throws SystemException
- Throws:
SystemException
getTotalBackorderedQuantity
public static Quantity getTotalBackorderedQuantity(DistributedContext context,
SellableItem sellableItem,
Store virtualStore)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTotalReservedQuantity
public static Quantity getTotalReservedQuantity(DistributedContext context,
java.lang.String skuId,
Store virtualStore)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTotalBackorderedQuantity
public static Quantity getTotalBackorderedQuantity(DistributedContext context,
java.lang.String skuId,
Store virtualStore)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpSkuInventoryData
public static Sku setUpSkuInventoryData(DistributedContext context,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpPackInventoryData
public static Pack setUpPackInventoryData(DistributedContext context,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpSkuInventoryDataWithStandardAndSellingUomDifferent
public static Sku setUpSkuInventoryDataWithStandardAndSellingUomDifferent(DistributedContext context,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
double standardUom)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpSkuInventoryDataWithStandardAndSellingUomDifferent
public static Sku setUpSkuInventoryDataWithStandardAndSellingUomDifferent(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
double standardUom)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpSkuInventoryData
public static Sku setUpSkuInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpPackInventoryData
public static Pack setUpPackInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus,
SupplierInventoryDto supplierInventoryDto)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpPackInventoryData
public static Pack setUpPackInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus,
SupplierInventoryDto supplierInventoryDto,
boolean qtyVariable)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPackWithInventoryData
public static Pack createPackWithInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus,
Warehouse warehouse)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPackWithInventoryData
public static Pack createPackWithInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPackWithInventoryData
public static Pack createPackWithInventoryData(DistributedContext context,
Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List skus,
java.util.List skuQtys,
Warehouse warehouse)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpSkuInventoryData
public static Sku setUpSkuInventoryData(DistributedContext context,
Sku sku,
Store store,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.Set warehouseSet)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpSkuInventoryData
public static Sku setUpSkuInventoryData(DistributedContext context,
Sku sku,
Store store,
java.lang.String status,
boolean isNoLongerAvailable,
boolean isDirectShipable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpPackInventoryData
public static Pack setUpPackInventoryData(DistributedContext context,
Pack pack,
Store store,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
SupplierInventoryDto supplierInventoryDto,
Warehouse warehouse)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpSkuInventoryDataForDirectShippable
public static SellableItem setUpSkuInventoryDataForDirectShippable(DistributedContext context,
SellableItem sellableItem,
Store location,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List supplierInventories)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpSkuInventoryDataForDirectShippable
public static SellableItem setUpSkuInventoryDataForDirectShippable(DistributedContext context,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List supplierInventories)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpSkuInventoryDataForDirectShippable
public static Sku setUpSkuInventoryDataForDirectShippable(DistributedContext context,
Store location,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List supplierInventories)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpInventoryForDirectShipItem
public static void setUpInventoryForDirectShipItem(DistributedContext context,
SellableItem sellableItem,
Store location,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List supplierInventories)
throws SystemException,
BusinessException,
java.lang.Exception
- Throws:
SystemException
BusinessException
java.lang.Exception
setUpSkuInventoryDataForDirectShippable
public static Sku setUpSkuInventoryDataForDirectShippable(DistributedContext context,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
java.util.HashMap inventoryQtys,
java.util.List supplierInventories,
java.util.List suppliers)
throws java.lang.Exception
- Throws:
java.lang.Exception
setUpSellableItemAtWarehouseAndVirtualStore
public static void setUpSellableItemAtWarehouseAndVirtualStore(Store virtualStore,
java.lang.String status,
boolean isNoLongerAvailable,
int locationOutboundDays,
int itemLocationOutboundDays,
SellableItem sellableItem,
DistributedContext context)
throws SystemException,
BusinessException,
java.lang.Exception
- Throws:
SystemException
BusinessException
java.lang.Exception
getTotalRMSReservedQuantity
public static Quantity getTotalRMSReservedQuantity(java.lang.String sellableItemId,
DistributedReference virtualWarehouseRef)
throws SystemException
- Throws:
SystemException
getTotalRCOMBackorderedQuantity
public static Quantity getTotalRCOMBackorderedQuantity(java.lang.String sellableItemId,
Store virtualStore)
throws SystemException
- Throws:
SystemException
getTotalRCOMReservedQuantity
public static Quantity getTotalRCOMReservedQuantity(java.lang.String sellableItemId,
Store virtualStore)
throws SystemException
- Throws:
SystemException
getTotalAvailableQuantity
public static Quantity getTotalAvailableQuantity(Banner banner,
ChannelType channelType,
java.lang.String skuId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTotalAvailableQuantity
public static Quantity getTotalAvailableQuantity(Banner banner,
ChannelType channelType,
java.lang.String skuId,
Warehouse warehouse)
throws java.lang.Exception
- Throws:
java.lang.Exception
resetPurchaseOrderCache
public static void resetPurchaseOrderCache()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
createPurchaseOrder
public static PurchaseOrder createPurchaseOrder(java.util.Collection lines,
java.lang.String status)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
createPurchaseOrder
public static PurchaseOrder createPurchaseOrder(java.util.Collection lines)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28