Subversion Repositories SmartDukaan

Rev

Rev 16264 | Rev 21242 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2820 chandransh 1
namespace java in.shop2020.warehouse
2
namespace py shop2020.thriftpy.warehouse
3
 
3374 rajveer 4
include "GenericService.thrift"
5
 
5185 mandeep.dh 6
enum ScanType {
7
    PURCHASE = 0,   // Scan-in at the time of purchase
8
    SALE = 1,       // Scan-out for sale
9
    SALE_RET = 2,   // Scan-in when an item is returned undelivered
10
    DOA_IN = 3,     // Scan-in when an item is returned by the customer with the DOA certificate
11
    DOA_OUT = 4,     // Scan-out to return an item to the supplier
12
    PURCHASE_RETURN = 5, // Scan-out to return an item to the supplier (a Non-DOA case)
13
    SALE_RET_UNUSABLE = 6,
14
    LOST_IN_TRANSIT = 7,
6548 amar.kumar 15
    DOA_REPLACED = 8,
7185 amit.gupta 16
    LOST_IN_WAREHOUSE = 9,
17
    MARKED_USED	= 10,
18
  	MARKED_BAD = 11,
19
  	MARKED_GOOD = 12;
7410 amar.kumar 20
  	WAREHOUSE_TRANSFER_IN = 13;
21
  	WAREHOUSE_TRANSFER_OUT = 14;
8565 amar.kumar 22
  	BAD_SALE = 15;
10308 amar.kumar 23
  	DOA_REJECTED = 16;
10489 amar.kumar 24
  	DOA_CLOSED_BY_CREDIT_NOTE = 17;
10864 manish.sha 25
  	BAD_PURCHASE_RETURN = 18;
14646 manish.sha 26
  	LOST_IN_WAREHOUSE_BAD = 19;
18128 manish.sha 27
  	EMPTY_PRODUCT_RECEIVED = 20;
28
  	WRONG_PRODUCT_RECEIVED = 21;
5185 mandeep.dh 29
}
30
 
7410 amar.kumar 31
enum TransferLotStatus {
32
	IN_TRANSIT = 1,
33
	PARTIAL_TRANSFER = 2,
34
	TRANSFER_COMPLETE = 3
35
}
36
 
37
enum TransferType {
38
	OURS_OURS = 1,
39
	OURS_THIRDPARTY = 2
40
}
41
 
4496 mandeep.dh 42
struct InventoryItem {
5185 mandeep.dh 43
    // primary fields
4496 mandeep.dh 44
    1:i64 id,
45
    2:i64 itemId,
46
    3:string itemNumber,
47
    4:string serialNumber,
48
    5:i64 initialQuantity,
49
    6:i64 currentQuantity,
4555 mandeep.dh 50
    7:i64 purchaseId,
6467 amar.kumar 51
    8:i64 purchaseReturnId,
7410 amar.kumar 52
    9:i64 physicalWarehouseId,
53
    10:TransferLotStatus transferStatus,
4555 mandeep.dh 54
    // derived fields for  efficient lookups
7410 amar.kumar 55
    11:i64 supplierId,
56
    12:double unitPrice,
57
    13:i64 currentWarehouseId,
7672 rajveer 58
    14:ScanType lastScanType,
59
    15:double nlc
2820 chandransh 60
}
61
 
4496 mandeep.dh 62
struct Scan {
63
    1:i64 id,
64
    2:i64 inventoryItemId,
65
    3:optional i64 quantity, // ignored in case of serialized items
7410 amar.kumar 66
    4:optional i64 orderId, // The order that was fulfilled with this scan!
4496 mandeep.dh 67
    5:i64 warehouseId,
68
    6:ScanType type,
7190 amar.kumar 69
    7:i64 scannedAt,
7410 amar.kumar 70
    8:i64 transferLotId,
71
    9:string remarks
2820 chandransh 72
}
73
 
5372 mandeep.dh 74
struct DetailedPurchaseScan {
75
    1:i64 purchaseOrderId,
76
    2:i64 poCreatedAt,
77
    3:string supplierName,
78
    4:string invoiceNumbers,
6494 amar.kumar 79
    5:string receivedBy,
80
    6:i64 itemId,
81
    7:string brand,
82
    8:string modelName,
83
    9:string modelNumber,
84
   10:string color,
85
   11:double unitPrice,
86
   12:i64 quantity,
87
   13:i64 purchaseId,
7672 rajveer 88
   14:i64 purchasedAt,
8580 amar.kumar 89
   15:double nlc,
9433 amar.kumar 90
   16:i64 warehouseId,
11219 manish.sha 91
   17:i64 taxType,
12620 amit.gupta 92
   18:i64 invoiceDate,
12800 manish.sha 93
   19:double mrp,
94
   20:string purchaseComments
5372 mandeep.dh 95
}
96
 
5496 mandeep.dh 97
struct InvoiceScan {
98
    1:string invoiceNumber,
99
    2:i64 numItems,
100
    3:string supplierName,
101
    4:i64 date,
102
    5:i64 scannedQuantity
103
}
104
 
7613 amar.kumar 105
struct InTransitInventory {
106
	1:i64 itemId,
10864 manish.sha 107
	2:string brand,
108
	3:string modelName,
109
	4:string modelNumber,
110
	5:string color,
111
	6:i64 originWarehouseId,
112
	7:i64 destinationWarehouseId,
113
	8:i64 quantity,
114
	9:i64 transferDate,
7613 amar.kumar 115
}
116
 
6548 amar.kumar 117
struct InventoryAvailability{
118
	1:i64 itemId,
119
	2:string brand,
120
	3:string modelName,
121
	4:string modelNumber,
122
	5:string color,
123
	6:i64 quantity
124
}
125
 
6762 amar.kumar 126
struct InventoryMovement{
127
	1:i64 itemId,
128
	2:string brand,
129
	3:string modelName,
130
	4:string modelNumber,
131
	5:string color,
132
	6:ScanType type
133
	7:i64 quantity
134
}
135
 
5711 mandeep.dh 136
struct InventoryAge {
137
    1:i64 itemId,
138
    2:string brand,
139
    3:string modelName,
140
    4:string modelNumber,
141
    5:string color,
142
    6:i64 freshCount,
143
    7:i64 oneToTwoCount,
144
    8:i64 TwoToThreeCount,
145
    9:i64 ThreeToFourCount,
5768 mandeep.dh 146
   10:i64 FourPlusCount,
8626 amar.kumar 147
   11:i64 threeMonthPlusCount,
148
   12:i64 sixMonthPlusCount,
11219 manish.sha 149
   13:i64 zeroToThreeMonthCount,
150
   14:i64 threeToSixMonthCount,
151
   15:i64 sixToTwelveMonthCount,
152
   16:i64 twelveMonthsPlusCount,
153
   17:i64 ZeroPlusCount,
154
   18:i64 OnePlusCount,
155
   19:i64 ZeroPlusCost,
156
   20:i64 OnePlusCost,
157
   21:string category
5711 mandeep.dh 158
}
159
 
10689 manish.sha 160
struct AmazonTransferredSkuDetail{
161
	1:i64 itemId,
162
	2:i64 purchaseId,
163
	3:i64 purchaseDate,
164
	4:i64 quantity,
165
	5:double unitPrice
12357 manish.sha 166
	6:double nlc
167
	7:string brand,
168
    8:string modelName,
169
    9:string modelNumber,
170
    10:string category,
171
    11:string color,
172
    12:string taxType
10689 manish.sha 173
}
174
 
7410 amar.kumar 175
struct PossibleWarehouseMovement {
176
	1:i64 fromWarehouseId,
177
	2:i64 toWarehouseId
178
}
179
 
180
struct TransferLot {
181
	1:i64 id,
182
	2:i64 originWarehouseId,
183
	3:i64 destinationWarehouseId,
184
	4:TransferLotStatus status,
185
	5:i64 transferDate,
186
	6:TransferType type,
187
	7:string transitCompletionReferenceNumber,
188
	8:i64 referenceUpdationDate
189
	9:string remarks,
15045 manish.sha 190
	10:i64 shipmentReference
7410 amar.kumar 191
}
192
 
15045 manish.sha 193
struct RemovalStockShipmentReference {
194
	1:i64 id,
195
	2:string shipmentReference,
196
	3:i64 createdOn,
197
	4:string source,
198
	5:i64 inventoryType,
199
	6:i64 quantity,
200
	7:i64 unfulfilQuantity,
201
	8:bool completed
202
}
203
 
12800 manish.sha 204
struct InvAgeConsiderItems {
205
    1:i64 id,
206
    2:i64 itemId,
207
    3:i64 currentQuantity,
208
    4:i64 purchaseId,
209
    5:double age,
210
    6:string category,
211
    7:i64 cost
212
}
213
 
14491 manish.sha 214
struct DoaOutInventoryItem {
215
	1:i64 id
216
	2:i64 warehouseId,
217
	3:string warehouseName,
218
	4:i64 itemId,
219
	5:string product,
220
	6:string serialNumber,
221
	7:string itemNumber,
222
	8:string purchaseOrder
14821 manish.sha 223
	9:i64 doaOutTimeStamp,
224
	10:double transferPrice,
225
	11:double nlcPrice
14491 manish.sha 226
}
227
 
16264 manish.sha 228
struct TransferInvoiceScan {
229
    1:string shipmentReference,
230
    2:i64 transferLotId,
231
    3:string source,
232
    4:i64 quantity,
233
    5:string inventoryType,
234
    6:i64 date,
235
    7:i64 scannedQuantity
236
}
237
 
4496 mandeep.dh 238
exception WarehouseServiceException {
239
    1:GenericService.ExceptionType exceptionType,
240
    2:string message
2820 chandransh 241
}
242
 
6548 amar.kumar 243
 
4496 mandeep.dh 244
service WarehouseService extends GenericService.GenericService {
245
    /**
246
     * Retrieves serialized inventory item given a serial number
247
     */
4541 mandeep.dh 248
    InventoryItem getInventoryItem(1:string serialNumber) throws (1:WarehouseServiceException wex);
2820 chandransh 249
 
4496 mandeep.dh 250
    /**
5361 mandeep.dh 251
     * Retrieves non-serialized inventory item from a given supplier
4496 mandeep.dh 252
     */
8565 amar.kumar 253
    InventoryItem getNonSeralizedInventoryItem(1:string itemNumber, 2:i64 itemId, 3:i64 fulfilmentWarehouseId, 4:i64 billingWarehouseId) throws (1:WarehouseServiceException wex);
3383 chandransh 254
 
4496 mandeep.dh 255
    /**
256
     * Scan non-serialized items.
257
     */
7410 amar.kumar 258
    void scan(1:InventoryItem inventoryItem, 2:ScanType type, 3:i64 quantity, 4:i64 billingWarehouseId, 5:i64 transferLotId) throws (1:WarehouseServiceException wex);
10489 amar.kumar 259
 
260
    /**
261
     * Scan non-serialized items.
262
     */
263
    void genericScan(1:InventoryItem inventoryItem, 2:Scan scan) throws (1:WarehouseServiceException wex);
4496 mandeep.dh 264
 
265
    /**
266
     * Scan serialized items linked with an order. Returns its price.
267
     */
5110 mandeep.dh 268
    InventoryItem scanSerializedItemForOrder(1:string serialNumber, 2:ScanType type, 3:i64 orderId, 4:i64 fulfilmentWarehouseId, 5:double quantity, 6:i64 billingWarehouseId) throws (1:WarehouseServiceException wex);
4496 mandeep.dh 269
 
270
    /**
271
     * Scan non-serialized items linked with an order.
272
     */
5361 mandeep.dh 273
    InventoryItem scanForOrder(1:InventoryItem inventoryItem, 2:ScanType type, 3:i64 quantity, 4:i64 orderId, 5:i64 fulfilmentWarehouseId, 6:i64 billingWarehouseId) throws (1:WarehouseServiceException wex);
4496 mandeep.dh 274
 
275
    /**
276
     * Created item number to item id mapping
277
     */
278
    void createItemNumberMapping(1:string itemNumber, 2:i64 itemId);
4618 amit.gupta 279
 
280
    /**
281
     * Get itemNumber mappings for itemId 
282
     */
283
    list<string> getItemNumbers(1:i64 itemId);
5110 mandeep.dh 284
 
285
    /**
286
     * Gets item ids for a given item number
287
     */
288
    list<i64> getItemIds(1:string itemNumber);
5185 mandeep.dh 289
 
290
    /**
291
     * Retrieves all inventory items given a last scan type
292
     */
293
    list<InventoryItem> getInventoryItemsFromLastScanType(1:ScanType lastScanType) throws (1:WarehouseServiceException wex);
294
 
295
    /**
296
     * Retrieves inventory item given a inventoryItem id
297
     */
5372 mandeep.dh 298
    InventoryItem getInventoryItemFromId(1:i64 inventoryItemId) throws (1:WarehouseServiceException wex);
299
 
300
    /**
301
     * Returns the purchase scans grouped by items for Purchase register reconciliation
302
     */
303
    list<DetailedPurchaseScan> getPurchaseScans(1:i64 startDate, 2:i64 endDate);
5496 mandeep.dh 304
 
305
    /**
7210 amar.kumar 306
     * Returns the purchase scans between grn dates grouped by items for Purchase register reconciliation 
307
     */
308
    list<DetailedPurchaseScan> getPurchaseScansByGrnDate(1:i64 startDate, 2:i64 endDate);
10215 amar.kumar 309
 
310
    /**
311
     * Returns the empty grn-ids between grn dates 
312
     */
313
    list<i64> getEmptyGrnsByDate(1:i64 startDate, 2:i64 endDate);
7210 amar.kumar 314
 
315
    /**
5496 mandeep.dh 316
     * Returns the invoices and the count of scans against on a given day.
317
     */
318
     list<InvoiceScan> fetchScansPerInvoiceNumber(1:i64 date);
5620 mandeep.dh 319
 
320
     /**
321
      * Returns inventory item for a given order
322
      */
323
     InventoryItem getInventoryItemFromOrder(1:i64 orderId) throws (1:WarehouseServiceException we);
5711 mandeep.dh 324
 
325
     /**
326
      * Fetches the stock inventory age week-wise
327
      */
328
     list<InventoryAge> getInventoryAge();
6322 amar.kumar 329
 
330
	 /**
331
      * Fetches the scanRecords for a given item for a given time interval 
332
      */
333
     list<Scan> getInventoryScansForItem(1:i64 itemId, 2:i64 fromDate, 3:i64 toDate);
334
 
335
     /**
336
      * Fetches the scanRecords for a given serialNumber for a given time interval 
337
      */
7410 amar.kumar 338
     list<Scan> getScanRecordsForSerialNumber(1:string serialNumber);
6322 amar.kumar 339
 
6467 amar.kumar 340
     /**
6548 amar.kumar 341
      * Inserts outgoing scans for Returned Items and updates returnId in InventoryItems
6467 amar.kumar 342
      */
10864 manish.sha 343
     i64 scanForPurchaseReturn(1:list<InventoryItem> saleReturnItems, 2:i64 vendorId, 3:i64 billingWarehouseId) throws (1:WarehouseServiceException ex);
6322 amar.kumar 344
 
6548 amar.kumar 345
     /**
346
      * Inserts scans for lost Items and updates lastScanType in InventoryItems
347
      */
7718 amar.kumar 348
     void scanForLostItem(1:list<InventoryItem> lostItems, 2:i64 vendorId, 3:i64 billingWarehouseId) throws (1:WarehouseServiceException ex);
6548 amar.kumar 349
 
350
     /**
351
      * Get inventory count for available Serialized items in our warehouses using entries in ScanNew table
352
      */
7676 amar.kumar 353
     list<InventoryAvailability> getCurrentSerializedInventoryByScans(1:i64 physicalWarehouseId);
6630 amar.kumar 354
 
355
      /**
356
      * Get inventory count for available Serialized items in our warehouses using entries in ScanNew table
357
      */
7676 amar.kumar 358
     list<InventoryAvailability> getCurrentNonSerializedInventoryByScans(1:i64 physicalWarehouseId);
6630 amar.kumar 359
 
6762 amar.kumar 360
     /**
361
      * Get inventory for Serialized items in our warehouses at a given date using entries in ScanNew table
362
      */
363
     list<InventoryAvailability> getHistoricSerializedInventoryByScans(1:i64 date);
364
 
365
      /**
366
      * Get inventory for Non Serialized items in our warehouses at a given date using entries in ScanNew table
367
      */
368
     list<InventoryAvailability> getHistoricNonSerializedInventoryByScans(1:i64 date);
10308 amar.kumar 369
 
370
     /**
371
      * Get inventory for Serialized items in our warehouses at a given date using entries in ScanNew table
372
      */
373
     list<InventoryAvailability> getOurHistoricSerializedInventoryByScans(1:i64 date);
6762 amar.kumar 374
 
375
     /**
10308 amar.kumar 376
      * Get inventory for Non Serialized items in our warehouses at a given date using entries in ScanNew table
377
      */
378
     list<InventoryAvailability> getOurHistoricNonSerializedInventoryByScans(1:i64 date);
379
 
380
     /**
6880 amar.kumar 381
      * Insert Purchase/Sale Entries for product billed by Hotspot using OURS_EXTERNAL Billing
6762 amar.kumar 382
      */
7672 rajveer 383
     InventoryItem scanForOursExternalSale(1:i64 itemId, 2:string serialNumber, 3:string itemNumber, 4:string invoiceNumber, 5:i64 warehouseId, 6:double unitPrice, 7:double nlc, 8:i64 orderId)throws (1:WarehouseServiceException ex);
6762 amar.kumar 384
 
385
     /**
6880 amar.kumar 386
      * Insert Purchase_Ret/Sale_Ret Entries for product billed by Hotspot using OURS_EXTERNAL Billing
6762 amar.kumar 387
      */
7410 amar.kumar 388
     void scanForOursExternalSaleReturn(1:i64 orderId, 2:double unitPrice) throws (1:WarehouseServiceException ex);
6762 amar.kumar 389
 
10308 amar.kumar 390
     /**
391
      * This returns movement for each non serialized item in the specified window.(Doesn't include Hotspot and Amazon w/h)	
392
      */
6880 amar.kumar 393
     list<InventoryMovement> getMovementNonSerializedInventoryByScans(1:i64 startDate, 2:i64 endDate);
6762 amar.kumar 394
 
10308 amar.kumar 395
     /**
396
      * This returns movement for each serialized item in the specified window.(Doesn't include Hotspot and Amazon w/h)	
397
      */
6880 amar.kumar 398
     list<InventoryMovement> getMovementSerializedInventoryByScans(1:i64 startDate, 2:i64 endDate);
6762 amar.kumar 399
 
10308 amar.kumar 400
     /**
401
      * This returns movement for each serialized item in the specified window.(Doesn't include Amazon w/h)	
402
      */
7216 amar.kumar 403
     list<InventoryMovement> getCompleteMovementSerializedInventoryByScans(1:i64 startDate, 2:i64 endDate);
404
 
10308 amar.kumar 405
     /**
406
      * This returns movement for each non serialized item in the specified window.(Doesn't include Amazon w/h)	
407
      */
7216 amar.kumar 408
     list<InventoryMovement> getCompleteMovementNonSerializedInventoryByScans(1:i64 startDate, 2:i64 endDate);
409
 
7190 amar.kumar 410
     InventoryItem scanfreebie(1:i64 orderId, 2:i64 freebieItemId, 3:i64 freebieWarehouseId, 4:ScanType scanType) throws (1:WarehouseServiceException wex);
411
 
7199 amar.kumar 412
     void reshipfreebie(1:i64 oldOrderId, 2:i64 newOrderId, 3:i64 freebieItemId, 4:ScanType scanType) throws (1:WarehouseServiceException wex);
413
 
7410 amar.kumar 414
     bool isItemTransferAllowed(1:i64 warehouseId, 2:i64 transferWarehouseId);
415
 
416
     i64 createTransferLot(1:i64 originWarehouseId, 2:i64 destWarehouseId) throws (1:WarehouseServiceException wex);
417
 
418
     TransferLot getTransferLot(1:i64 transferLotId) throws (1:WarehouseServiceException wex);
419
 
420
	 void markTransferLotAsReceived(1:i64 id, 2:string remoteTransferRefNumber) throws (1:WarehouseServiceException wex);
421
 
422
	 list<TransferLot> getTransferLotsByDate(1:i64 fromDate, 2:i64 toDate) throws (1:WarehouseServiceException wex);
423
 
424
	 list<i64> getAllowedDestinationWarehousesForTransfer(1:i64 warehouseId);
425
 
426
	 map<i64, i64> getItemsInTransferLot(1:i64 transferLotId);
427
 
428
	 void markItemsAsReceivedForTransferLot(1:i64 id) throws (1:WarehouseServiceException wex);
429
 
430
	 TransferLotStatus updateTransferLotAfterItemReceive(1:i64 id) throws (1:WarehouseServiceException wex);
431
 
7453 amar.kumar 432
	 void scanForTransferOut(1:list<InventoryItem> inventoryItems, 2:ScanType type, 3:i64 transferLotId) throws (1:WarehouseServiceException wex);
433
 
434
	 void scanForTransferIn(1:list<InventoryItem> inventoryItems, 2:ScanType type, 3:i64 transferLotId) throws (1:WarehouseServiceException wex);
435
 
7574 amar.kumar 436
	 void scanForOursThirdPartyReceive(1:list<InventoryItem>inventoryItems, 2:i64 id) throws (1:WarehouseServiceException wex);
437
 
7613 amar.kumar 438
	 i64 getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse(1:i64 itemId, 2:i64 physicalWarehouseId) throws (1:WarehouseServiceException wex);
439
 
440
	 list<InTransitInventory> getInTransitInventory(1:i64 originWarehouseId);
7957 amar.kumar 441
 
7968 amar.kumar 442
	 bool isItemAvailableForSale(1:i64 itemId, 2:string serialNumber, 3:i64 warehouseId) throws (1:WarehouseServiceException wex);
7957 amar.kumar 443
 
444
	 /**
445
	 * Get inventory for Non Serialized items in our warehouses at a given date using entries in ScanNew table
446
	 */
447
     list<InventoryAvailability> getHistoricBadInventoryByScans(1:i64 date) throws (1:WarehouseServiceException wex);
8565 amar.kumar 448
 
8717 amar.kumar 449
     InventoryItem scanForBadSale(1:string serialNumber, 2:string itemNumber, 3:i64 itemId, 4:i64 orderId, 5:i64 fulfilmentWarehouseId, 6:i64 quantity, 7:i64 billingWarehouseId) throws (1:WarehouseServiceException wex);
10120 manish.sha 450
 
451
	 list<InventoryItem> getTransferLotItemsForMarkReceive(1:i64 transferLotId, 2:ScanType scanType) throws (1:WarehouseServiceException wex);
452
 
453
	 void markItemsAsReceivedForTransferLotPartial(1:list<InventoryItem> inventoryItems, 2:i64 transferLotId) throws (1:WarehouseServiceException wex);
454
 
455
	 void markTransferLotAsReceivedPartial(1:i64 id, 2:string remoteTransferRefNumber) throws (1:WarehouseServiceException wex);
456
 
10689 manish.sha 457
	 list<InventoryItem> getInventoryItemScannedInForPO(1:i64 itemId, 2:list<i64> purchaseIds) throws (1:WarehouseServiceException wex);
458
 
459
	 list<AmazonTransferredSkuDetail> getAmazonTransferredSkuDetails(1:list<i64> itemIds) throws (1:WarehouseServiceException wex);
460
 
461
	 list<Scan> getScansforPurchase(1:i64 purchaseId, 2:ScanType scanType) throws (1:WarehouseServiceException wex);
10864 manish.sha 462
 
463
	 i64 getCurrentBadQuantityForItem(1:i64 itemId, 2:i64 currentWarehouseId, 3:i64 physicalWarehouseId) throws (1:WarehouseServiceException wex);
464
 
465
	 i64 scanForBadPurchaseReturn(1:list<InventoryItem> saleReturnItems, 2:i64 vendorId, 3:i64 billingWarehouseId) throws (1:WarehouseServiceException ex);
466
 
13529 manish.sha 467
	 map<i64, i64> getItemsInPurchaseReturn(1:i64 purchaseReturnId, 2:ScanType type, 3:string returnTime) throws (1:WarehouseServiceException ex);
11219 manish.sha 468
 
469
	 list<Scan> getScansForInventoryItem(1:i64 inventoryItemId, 2:ScanType type) throws (1:WarehouseServiceException ex);
470
 
11751 manish.sha 471
	 //string scanWithResponse(1:InventoryItem inventoryItem, 2:ScanType type, 3:i64 quantity, 4:i64 billingWarehouseId, 5:i64 transferLotId) throws (1:WarehouseServiceException wex);
472
 
12532 manish.sha 473
	 list<string> checkGrnImeiStatus(1:list<string> imeiNos) throws (1:WarehouseServiceException ex);
474
 
12800 manish.sha 475
	 list<InvAgeConsiderItems> getInventoryAgeConsideredItems(1:i64 itemId) throws (1:WarehouseServiceException ex);
476
 
13529 manish.sha 477
	 list<InventoryMovement> getCompleteMovementForThirdPartyWarehouse(1:i64 startDate, 2:i64 endDate);
14491 manish.sha 478
	 /* 
479
	 list<InventoryItem> getDoaOutInventoryItems(1:i64 offset,2:i64 limit) throws (1:WarehouseServiceException ex);
480
 
481
	 list<InventoryItem> getDoaOutSearchedItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit) throws (1:WarehouseServiceException ex);
482
 
483
	 i64 getCountForDoaOutInventoryItems() throws (1:WarehouseServiceException ex);
484
 
485
	 i64 getDoaOutInventoryItemsResultCount(1:list<string> searchTerm) throws (1:WarehouseServiceException ex); */
486
 
487
	 list<DoaOutInventoryItem> getAllDoaOutInventoryItems() throws (1:WarehouseServiceException ex);
15045 manish.sha 488
 
489
	 list<RemovalStockShipmentReference> getAllUnCompletedStockShipments(1:string source) throws (1:WarehouseServiceException ex);
490
 
491
	 RemovalStockShipmentReference getRemovalStockShipmentReferenceById(1:i64 id) throws (1:WarehouseServiceException ex);
492
 
493
	 i64 createRemovalStockShipmentReference(1:RemovalStockShipmentReference removalStockShipmentReference) throws (1:WarehouseServiceException ex);
494
 
495
	 void updateShipmentReferenceTransferLot(1:i64 transferLotId, 2:i64 shipmentReferenceId) throws (1:WarehouseServiceException ex); 
16264 manish.sha 496
 
497
	 /**
498
     * Returns the shipment references and the count of scans against on a given day.
499
     */
500
     list<TransferInvoiceScan> fetchScansPerTransferInvoiceNumber(1:i64 date);
7574 amar.kumar 501
}
502