Subversion Repositories SmartDukaan

Rev

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

Rev 5361 Rev 5372
Line 40... Line 40...
40
    5:i64 warehouseId,
40
    5:i64 warehouseId,
41
    6:ScanType type,
41
    6:ScanType type,
42
    7:i64 scannedAt
42
    7:i64 scannedAt
43
}
43
}
44
 
44
 
-
 
45
struct DetailedPurchaseScan {
-
 
46
    1:i64 purchaseOrderId,
-
 
47
    2:i64 poCreatedAt,
-
 
48
    3:string supplierName,
-
 
49
    4:string invoiceNumbers,
-
 
50
    5:i64 itemId,
-
 
51
    6:string itemName,
-
 
52
    7:double unitPrice,
-
 
53
    8:i64 quantity
-
 
54
}
-
 
55
 
45
exception WarehouseServiceException {
56
exception WarehouseServiceException {
46
    1:GenericService.ExceptionType exceptionType,
57
    1:GenericService.ExceptionType exceptionType,
47
    2:string message
58
    2:string message
48
}
59
}
49
 
60
 
Line 114... Line 125...
114
    list<InventoryItem> getInventoryItemsFromLastScanType(1:ScanType lastScanType) throws (1:WarehouseServiceException wex);
125
    list<InventoryItem> getInventoryItemsFromLastScanType(1:ScanType lastScanType) throws (1:WarehouseServiceException wex);
115
    
126
    
116
    /**
127
    /**
117
     * Retrieves inventory item given a inventoryItem id
128
     * Retrieves inventory item given a inventoryItem id
118
     */
129
     */
119
    InventoryItem getInventoryItemFromId(1:i64 inventoryItemId) throws (1:WarehouseServiceException wex);    
130
    InventoryItem getInventoryItemFromId(1:i64 inventoryItemId) throws (1:WarehouseServiceException wex);
-
 
131
 
-
 
132
    /**
-
 
133
     * Returns the purchase scans grouped by items for Purchase register reconciliation
-
 
134
     */
-
 
135
    list<DetailedPurchaseScan> getPurchaseScans(1:i64 startDate, 2:i64 endDate);
120
}
136
}