Subversion Repositories SmartDukaan

Rev

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

Rev 6385 Rev 6467
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 PurchaseReturn {
-
 
73
    1:i64 id,
-
 
74
    2:i64 vendorId,
-
 
75
    3:i64 amount,
-
 
76
    4:i64 returnTimestamp,
-
 
77
    5:bool isSettled
-
 
78
}
-
 
79
 
72
struct Invoice {
80
struct Invoice {
73
    1:i64 id,
81
    1:i64 id,
74
    2:string invoiceNumber,
82
    2:string invoiceNumber,
75
    3:i64 date,
83
    3:i64 date,
76
    4:i64 numItems,
84
    4:i64 numItems,
Line 174... Line 182...
174
 
182
 
175
    /**
183
    /**
176
     * Updates a supplier 
184
     * Updates a supplier 
177
     */
185
     */
178
    void updateSupplier(1:Supplier supplier);
186
    void updateSupplier(1:Supplier supplier);
-
 
187
    
-
 
188
    /**
-
 
189
     * Create a new Purchase Return
-
 
190
    */
-
 
191
   	i64 createPurchaseReturn(1:PurchaseReturn purchaseReturn);
-
 
192
    
-
 
193
    /**
-
 
194
     * Create a new Purchase Return
-
 
195
    */
-
 
196
    void settlePurchaseReturn(1:i64 id);
-
 
197
    
-
 
198
    /**
-
 
199
     * Create a new Purchase Return
-
 
200
    */
-
 
201
    list<PurchaseReturn> getUnsettledPurchaseReturns();
179
}
202
}