-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCSV_A.cs
50 lines (46 loc) · 1.71 KB
/
CSV_A.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//
// CSV Format "A" (If I knew more about the source of this data I would use a better name, such as CSV_Walmart)
//
public class CSVA : IPORecord
{
public string id { get; set; }
public string claimnumber { get; set; }
public string customerrefnumber { get; set; }
public string vendornumber { get; set; }
public string claimdate { get; set; }
public float openamount { get; set; }
public float originalamount { get; set; }
public string status { get; set; }
public string customername { get; set; }
public string arreasoncode { get; set; }
public string customerreasoncode { get; set; }
public string attachmentlist { get; set; }
public string checknumber { get; set; }
public string checkdate { get; set; }
public string comments { get; set; }
public string daysoutstanding { get; set; }
public string division { get; set; }
public string ponumber { get; set; }
public string brand { get; set; }
public string mergestatus { get; set; }
public float unresolvedamount { get; set; }
public string documenttype { get; set; }
public string documentdate { get; set; }
public string originalcustomer { get; set; }
public string location { get; set; }
public string customerlocation { get; set; }
public string createdate { get; set; }
public string loadid { get; set; }
public string carriername { get; set; }
public string invoicestorenumber { get; set; }
// IPORecord Interface
public string GetPO()
{
return this.ponumber;
}
public string[] GetPDFFiles()
{
// attachmentList might have comma-sep files, always return array
return this.attachmentlist.Split(',');
}
}