on 11-08-2005 2:07 PM
Hi,
I have a field start_date(Literal Date) in my MDM table.
Could any one give me a clue how to send value from java program to this type of columns.
Here's a code sample that should help you out.
A2iFields fields = new A2iFields
A2iField dateField = new A2iField("literal date field name");
SystemTime time = new SystemTime(2005, 11, 8, 0, 0, 0, 0);
Value dateValue = new Value(time);
dateField.SetValue(dateValue);
a2iFields.Add(dateField);
The paramaters for the SystemTime constructor are:
year, month, day, hour, minutes, second, milliseconds.
Then pass the fields object to the addRecord or updateRecord methods.
Hope this helps,
Richard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.