Subversion Repositories SmartDukaan

Rev

Rev 5185 | Rev 5372 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5185 Rev 5361
Line 67... Line 67...
67
     * Retrieves serialized inventory item given a serial number
67
     * Retrieves serialized inventory item given a serial number
68
     */
68
     */
69
    InventoryItem getInventoryItem(1:string serialNumber) throws (1:WarehouseServiceException wex);
69
    InventoryItem getInventoryItem(1:string serialNumber) throws (1:WarehouseServiceException wex);
70
 
70
 
71
    /**
71
    /**
72
     * Retrieves non-serialized inventory items from a given supplier
72
     * Retrieves non-serialized inventory item from a given supplier
73
     */
73
     */
74
    list<InventoryItem> getNonSeralizedInventoryItems(1:i64 itemId, 2:i64 quantity, 3:i64 supplierId);
74
    InventoryItem getNonSeralizedInventoryItem(1:i64 itemId, 2:i64 warehouseId) throws (1:WarehouseServiceException wex);
75
 
-
 
76
    /**
-
 
77
     * Retrieves inventory items for a given item
-
 
78
     */
-
 
79
    list<InventoryItem> getInventoryItems(1:i64 itemId);
-
 
80
 
-
 
81
    /**
-
 
82
     * Retrieves scans for a given order
-
 
83
     */
-
 
84
    list<Scan> getScanForOrder(1:i64 orderId);
-
 
85
 
-
 
86
    /**
-
 
87
     * Retrieves scans for a given inventory item
-
 
88
     */
-
 
89
    list<Scan> getScan(1:i64 inventoryItemId);
-
 
90
 
75
 
91
    /**
76
    /**
92
     * Scan serialized items.
77
     * Scan serialized items.
93
     */
78
     */
94
    void scanSerializedItem(1:InventoryItem inventoryItem, 2:ScanType type, 3:i64 warehouseId) throws (1:WarehouseServiceException wex);
79
    void scanSerializedItem(1:InventoryItem inventoryItem, 2:ScanType type, 3:i64 billingWarehouseId) throws (1:WarehouseServiceException wex);
95
 
80
 
96
    /**
81
    /**
97
     * Scan non-serialized items.
82
     * Scan non-serialized items.
98
     */
83
     */
99
    void scan(1:i64 inventoryItemId, 2:ScanType type, 3:i64 quantity, 4:i64 warehouseId) throws (1:WarehouseServiceException wex);
84
    void scan(1:InventoryItem inventoryItem, 2:ScanType type, 3:i64 quantity, 4:i64 billingWarehouseId) throws (1:WarehouseServiceException wex);
100
 
85
 
101
    /**
86
    /**
102
     * Scan serialized items linked with an order. Returns its price.
87
     * Scan serialized items linked with an order. Returns its price.
103
     */
88
     */
104
    InventoryItem scanSerializedItemForOrder(1:string serialNumber, 2:ScanType type, 3:i64 orderId, 4:i64 fulfilmentWarehouseId, 5:double quantity, 6:i64 billingWarehouseId) throws (1:WarehouseServiceException wex);
89
    InventoryItem scanSerializedItemForOrder(1:string serialNumber, 2:ScanType type, 3:i64 orderId, 4:i64 fulfilmentWarehouseId, 5:double quantity, 6:i64 billingWarehouseId) throws (1:WarehouseServiceException wex);
105
 
90
 
106
    /**
91
    /**
107
     * Scan non-serialized items linked with an order.
92
     * Scan non-serialized items linked with an order.
108
     */
93
     */
109
    void scanForOrder(1:i64 inventoryItemId, 2:ScanType type, 3:i64 quantity, 4:i64 orderId, 5:i64 fulfilmentWarehouseId) throws (1:WarehouseServiceException wex);
94
    InventoryItem scanForOrder(1:InventoryItem inventoryItem, 2:ScanType type, 3:i64 quantity, 4:i64 orderId, 5:i64 fulfilmentWarehouseId, 6:i64 billingWarehouseId) throws (1:WarehouseServiceException wex);
110
 
95
 
111
    /**
96
    /**
112
     * Created item number to item id mapping
97
     * Created item number to item id mapping
113
     */
98
     */
114
    void createItemNumberMapping(1:string itemNumber, 2:i64 itemId);
99
    void createItemNumberMapping(1:string itemNumber, 2:i64 itemId);