Subversion Repositories SmartDukaan

Rev

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

Rev 6361 Rev 6467
Line 22... Line 22...
22
    3:string itemNumber,
22
    3:string itemNumber,
23
    4:string serialNumber,
23
    4:string serialNumber,
24
    5:i64 initialQuantity,
24
    5:i64 initialQuantity,
25
    6:i64 currentQuantity,
25
    6:i64 currentQuantity,
26
    7:i64 purchaseId,
26
    7:i64 purchaseId,
27
 
-
 
-
 
27
    8:i64 purchaseReturnId,
28
    // derived fields for  efficient lookups
28
    // derived fields for  efficient lookups
29
    8:i64 supplierId,
29
    9:i64 supplierId,
30
    9:double unitPrice,
30
    10:double unitPrice,
31
    10:i64 currentWarehouseId,
31
    11:i64 currentWarehouseId,
32
    11:ScanType lastScanType
32
    12:ScanType lastScanType
33
}
33
}
34
 
34
 
35
struct Scan {
35
struct Scan {
36
    1:i64 id,
36
    1:i64 id,
37
    2:i64 inventoryItemId,
37
    2:i64 inventoryItemId,
Line 168... Line 168...
168
     /**
168
     /**
169
      * Fetches the scanRecords for a given serialNumber for a given time interval 
169
      * Fetches the scanRecords for a given serialNumber for a given time interval 
170
      */
170
      */
171
     list<Scan> getScanRecordsForSerialNumber(1:i64 serialNumber);
171
     list<Scan> getScanRecordsForSerialNumber(1:i64 serialNumber);
172
     
172
     
-
 
173
     /**
-
 
174
      * Inserts outgoing scans for Returned Items and updates returnId in InventoryItem
-
 
175
      */
-
 
176
     void scanForPurchaseReturn(1:list<InventoryItem> saleReturnItems, 2:i64 vendorId) throws (1:WarehouseServiceException ex);
173
     
177
     
174
}
178
}