Subversion Repositories SmartDukaan

Rev

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

Rev 10295 Rev 10864
Line 67... Line 67...
67
enum PurchaseReturnType {
67
enum PurchaseReturnType {
68
    REAL = 1,                   //Purchase Returns where stock is returned to Vendor
68
    REAL = 1,                   //Purchase Returns where stock is returned to Vendor
69
    VIRTUAL = 2		            //Virtual Purchase Return associated with Sale Returns for OursExternal Billing
69
    VIRTUAL = 2		            //Virtual Purchase Return associated with Sale Returns for OursExternal Billing
70
}
70
}
71
 
71
 
-
 
72
enum PurchaseReturnInventoryType {
-
 
73
	GOOD = 1,
-
 
74
	BAD = 2
-
 
75
}
-
 
76
 
72
enum TaxType {
77
enum TaxType {
73
	VAT = 0,
78
	VAT = 0,
74
	CST = 1,
79
	CST = 1,
75
	CFORM = 2
80
	CFORM = 2
76
}
81
}
Line 105... Line 110...
105
    1:i64 id,
110
    1:i64 id,
106
    2:i64 vendorId,
111
    2:i64 vendorId,
107
    3:i64 amount,
112
    3:i64 amount,
108
    4:i64 returnTimestamp,
113
    4:i64 returnTimestamp,
109
    5:bool isSettled,
114
    5:bool isSettled,
110
    6:PurchaseReturnType type
115
    6:PurchaseReturnType type,
-
 
116
    7:PurchaseReturnInventoryType returnInventoryType
111
}
117
}
112
 
118
 
113
struct Invoice {
119
struct Invoice {
114
    1:i64 id,
120
    1:i64 id,
115
    2:string invoiceNumber,
121
    2:string invoiceNumber,