Subversion Repositories SmartDukaan

Rev

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