Subversion Repositories SmartDukaan

Rev

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

Rev 5620 Rev 5711
Line 62... Line 62...
62
    3:string supplierName,
62
    3:string supplierName,
63
    4:i64 date,
63
    4:i64 date,
64
    5:i64 scannedQuantity
64
    5:i64 scannedQuantity
65
}
65
}
66
 
66
 
-
 
67
struct InventoryAge {
-
 
68
    1:i64 itemId,
-
 
69
    2:string brand,
-
 
70
    3:string modelName,
-
 
71
    4:string modelNumber,
-
 
72
    5:string color,
-
 
73
    6:i64 freshCount,
-
 
74
    7:i64 oneToTwoCount,
-
 
75
    8:i64 TwoToThreeCount,
-
 
76
    9:i64 ThreeToFourCount,
-
 
77
   10:i64 FourPlusCount
-
 
78
}
-
 
79
 
67
exception WarehouseServiceException {
80
exception WarehouseServiceException {
68
    1:GenericService.ExceptionType exceptionType,
81
    1:GenericService.ExceptionType exceptionType,
69
    2:string message
82
    2:string message
70
}
83
}
71
 
84
 
Line 132... Line 145...
132
     
145
     
133
     /**
146
     /**
134
      * Returns inventory item for a given order
147
      * Returns inventory item for a given order
135
      */
148
      */
136
     InventoryItem getInventoryItemFromOrder(1:i64 orderId) throws (1:WarehouseServiceException we);
149
     InventoryItem getInventoryItemFromOrder(1:i64 orderId) throws (1:WarehouseServiceException we);
-
 
150
 
-
 
151
     /**
-
 
152
      * Fetches the stock inventory age week-wise
-
 
153
      */
-
 
154
     list<InventoryAge> getInventoryAge();
137
}
155
}