Subversion Repositories SmartDukaan

Rev

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