Subversion Repositories SmartDukaan

Rev

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