Subversion Repositories SmartDukaan

Rev

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

Rev 20025 Rev 21844
Line 18... Line 18...
18
    12:string contactFax,
18
    12:string contactFax,
19
    13:string contactEmail,
19
    13:string contactEmail,
20
    14:string registeredAddress,
20
    14:string registeredAddress,
21
    15:string communicationAddress,
21
    15:string communicationAddress,
22
    16:i64 stateId,
22
    16:i64 stateId,
23
    17:i64 poValidityLimit
23
    17:i64 poValidityLimit,
-
 
24
    18:string gstin
24
}
25
}
25
 
26
 
26
struct LineItem {
27
struct LineItem {
27
    1:i64 orderId,
28
    1:i64 orderId,
28
    2:i64 itemId,
29
    2:i64 itemId,
Line 49... Line 50...
49
    23:string lastXdaysSale,
50
    23:string lastXdaysSale,
50
    24:i64 previouslyOrderedQty,
51
    24:i64 previouslyOrderedQty,
51
    25:double nlc,
52
    25:double nlc,
52
    26:double mrp
53
    26:double mrp
53
    27:double nlcP,
54
    27:double nlcP,
54
    28:double vatDiff
55
    28:double vatDiff,
-
 
56
    29:double igstRate,
-
 
57
	30:double cgstRate,
-
 
58
	31:double sgstRate,
-
 
59
	32:string hsnCode
-
 
60
    
55
}
61
}
56
 
62
 
57
enum POStatus {
63
enum POStatus {
58
    INIT = 0,                   //Just created.
64
    INIT = 0,                   //Just created.
59
    READY = 1,                  //Posted for fulfillment.
65
    READY = 1,                  //Posted for fulfillment.
Line 78... Line 84...
78
}
84
}
79
 
85
 
80
enum TaxType {
86
enum TaxType {
81
	VAT = 0,
87
	VAT = 0,
82
	CST = 1,
88
	CST = 1,
83
	CFORM = 2
89
	CFORM = 2,
-
 
90
	IGST = 3,
-
 
91
	SGST = 4
84
}
92
}
85
 
93
 
86
enum PrReasonType {
94
enum PrReasonType {
87
	WRONG_GRN = 1,
95
	WRONG_GRN = 1,
88
	ACTUAL_PR = 2,
96
	ACTUAL_PR = 2,