Subversion Repositories SmartDukaan

Rev

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

Rev 5443 Rev 5530
Line 64... Line 64...
64
struct Purchase {
64
struct Purchase {
65
    1:i64 id,
65
    1:i64 id,
66
    2:i64 poId,
66
    2:i64 poId,
67
    3:string invoiceNumber,
67
    3:string invoiceNumber,
68
    4:i64 receivedOn,
68
    4:i64 receivedOn,
69
    5:double freightCharges,
69
    5:double freightCharges
70
}
70
}
71
 
71
 
72
struct Invoice {
72
struct Invoice {
73
    1:i64 id,
73
    1:i64 id,
74
    2:string invoiceNumber,
74
    2:string invoiceNumber,
Line 151... Line 151...
151
     * Fulfills a given purchase id with an item and its quantity.
151
     * Fulfills a given purchase id with an item and its quantity.
152
     */
152
     */
153
    void unFulfillPO(1:i64 purchaseId, 2:i64 itemId, 3:i64 quantity) throws (1:PurchaseServiceException e);
153
    void unFulfillPO(1:i64 purchaseId, 2:i64 itemId, 3:i64 quantity) throws (1:PurchaseServiceException e);
154
    
154
    
155
    /**
155
    /**
156
     * Fetches all invoices for a given date
156
     * Fetches all invoices after a given date
157
     */
157
     */
158
    list<Invoice> getInvoices(1:i64 date);
158
    list<Invoice> getInvoices(1:i64 date);
159
 
159
 
160
    /**
160
    /**
161
     * Creates an invoice object
161
     * Creates an invoice object