Subversion Repositories SmartDukaan

Rev

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

Rev 10689 Rev 10864
Line 20... Line 20...
20
  	WAREHOUSE_TRANSFER_IN = 13;
20
  	WAREHOUSE_TRANSFER_IN = 13;
21
  	WAREHOUSE_TRANSFER_OUT = 14;
21
  	WAREHOUSE_TRANSFER_OUT = 14;
22
  	BAD_SALE = 15;
22
  	BAD_SALE = 15;
23
  	DOA_REJECTED = 16;
23
  	DOA_REJECTED = 16;
24
  	DOA_CLOSED_BY_CREDIT_NOTE = 17;
24
  	DOA_CLOSED_BY_CREDIT_NOTE = 17;
-
 
25
  	BAD_PURCHASE_RETURN = 18;
25
}
26
}
26
 
27
 
27
enum TransferLotStatus {
28
enum TransferLotStatus {
28
	IN_TRANSIT = 1,
29
	IN_TRANSIT = 1,
29
	PARTIAL_TRANSFER = 2,
30
	PARTIAL_TRANSFER = 2,
Line 95... Line 96...
95
    5:i64 scannedQuantity
96
    5:i64 scannedQuantity
96
}
97
}
97
 
98
 
98
struct InTransitInventory {
99
struct InTransitInventory {
99
	1:i64 itemId,
100
	1:i64 itemId,
-
 
101
	2:string brand,
-
 
102
	3:string modelName,
-
 
103
	4:string modelNumber,
-
 
104
	5:string color,
100
	2:i64 originWarehouseId,
105
	6:i64 originWarehouseId,
101
	3:i64 destinationWarehouseId,
106
	7:i64 destinationWarehouseId,
102
	4:i64 quantity,
107
	8:i64 quantity,
103
	5:i64 transferDate,
108
	9:i64 transferDate,
104
}
109
}
105
 
110
 
106
struct InventoryAvailability{
111
struct InventoryAvailability{
107
	1:i64 itemId,
112
	1:i64 itemId,
108
	2:string brand,
113
	2:string brand,
Line 276... Line 281...
276
     list<Scan> getScanRecordsForSerialNumber(1:string serialNumber);
281
     list<Scan> getScanRecordsForSerialNumber(1:string serialNumber);
277
     
282
     
278
     /**
283
     /**
279
      * Inserts outgoing scans for Returned Items and updates returnId in InventoryItems
284
      * Inserts outgoing scans for Returned Items and updates returnId in InventoryItems
280
      */
285
      */
281
     void scanForPurchaseReturn(1:list<InventoryItem> saleReturnItems, 2:i64 vendorId, 3:i64 billingWarehouseId) throws (1:WarehouseServiceException ex);
286
     i64 scanForPurchaseReturn(1:list<InventoryItem> saleReturnItems, 2:i64 vendorId, 3:i64 billingWarehouseId) throws (1:WarehouseServiceException ex);
282
     
287
     
283
     /**
288
     /**
284
      * Inserts scans for lost Items and updates lastScanType in InventoryItems
289
      * Inserts scans for lost Items and updates lastScanType in InventoryItems
285
      */
290
      */
286
     void scanForLostItem(1:list<InventoryItem> lostItems, 2:i64 vendorId, 3:i64 billingWarehouseId) throws (1:WarehouseServiceException ex);
291
     void scanForLostItem(1:list<InventoryItem> lostItems, 2:i64 vendorId, 3:i64 billingWarehouseId) throws (1:WarehouseServiceException ex);
Line 395... Line 400...
395
	 list<InventoryItem> getInventoryItemScannedInForPO(1:i64 itemId, 2:list<i64> purchaseIds) throws (1:WarehouseServiceException wex);
400
	 list<InventoryItem> getInventoryItemScannedInForPO(1:i64 itemId, 2:list<i64> purchaseIds) throws (1:WarehouseServiceException wex);
396
	 
401
	 
397
	 list<AmazonTransferredSkuDetail> getAmazonTransferredSkuDetails(1:list<i64> itemIds) throws (1:WarehouseServiceException wex);
402
	 list<AmazonTransferredSkuDetail> getAmazonTransferredSkuDetails(1:list<i64> itemIds) throws (1:WarehouseServiceException wex);
398
	 
403
	 
399
	 list<Scan> getScansforPurchase(1:i64 purchaseId, 2:ScanType scanType) throws (1:WarehouseServiceException wex);
404
	 list<Scan> getScansforPurchase(1:i64 purchaseId, 2:ScanType scanType) throws (1:WarehouseServiceException wex);
-
 
405
	 
-
 
406
	 i64 getCurrentBadQuantityForItem(1:i64 itemId, 2:i64 currentWarehouseId, 3:i64 physicalWarehouseId) throws (1:WarehouseServiceException wex);
-
 
407
	 
-
 
408
	 i64 scanForBadPurchaseReturn(1:list<InventoryItem> saleReturnItems, 2:i64 vendorId, 3:i64 billingWarehouseId) throws (1:WarehouseServiceException ex);
-
 
409
	 
400
	 //bool inventoryAdjustment()
410
	 map<i64, i64> getItemsInPurchaseReturn(1:i64 purchaseReturnId) throws (1:WarehouseServiceException ex);
401
}
411
}
402
	 
412
	 
403
413