Subversion Repositories SmartDukaan

Rev

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

Rev 5185 Rev 5443
Line 67... Line 67...
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 {
-
 
73
    1:i64 id,
-
 
74
    2:string invoiceNumber,
-
 
75
    3:i64 date,
-
 
76
    4:i64 numItems,
-
 
77
    5:string receivedFrom,
-
 
78
    6:i64 supplierId
-
 
79
}
-
 
80
 
72
exception PurchaseServiceException {
81
exception PurchaseServiceException {
73
    1:GenericService.ExceptionType exceptionType,
82
    1:GenericService.ExceptionType exceptionType,
74
    2:string message
83
    2:string message
75
}
84
}
76
 
85
 
Line 140... Line 149...
140
 
149
 
141
    /**
150
    /**
142
     * Fulfills a given purchase id with an item and its quantity.
151
     * Fulfills a given purchase id with an item and its quantity.
143
     */
152
     */
144
    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
    
-
 
155
    /**
-
 
156
     * Fetches all invoices for a given date
-
 
157
     */
-
 
158
    list<Invoice> getInvoices(1:i64 date);
-
 
159
 
-
 
160
    /**
-
 
161
     * Creates an invoice object
-
 
162
     */
-
 
163
    void createInvoice(1:Invoice invoice) throws (1:PurchaseServiceException e);
145
}
164
}