Topic by John Waller
Content
I've basically been beating my head against a wall, trying to learn how to do this w/ batching code that was adopted by my group.
Effectively we have a contact with stock and intermixed custom fields that get updated in mass by a delimited file that has a processor that interfaces with the Oracle RNT API. This uses the Contact object and obviously has to use the GenericField and GenericObject objects to assign custom fields and update their associated values.
There are also inserts that get determined by an ROQL query against the Contact structure (select Contact from ... ) with a statement where on Login (aka MemberId in our word) and/or email. I have to build some logic around this - but I'm really stuck on how to actually develop a method for doing it. I have all my file I/o in place to pull / poll for the file and the lookup code for what has ContactId for UPDATES, but the actually update syntax and insert syntax are rather diluted in the documentations on "How do I ..." stuff.
Can anyone provide me a straight forward C# block of code that takes a CSV delimited line .. breaks it up, and does an update / insert of the Contact object + custom fields? I'm sooooo lost right now.
RDBMS is my second language to English and I am an Oracle 9i certified developer. The Object based updates are just killing me.
Help!?
Ref Documentation: