Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update a record through vtlib within app
#2
You can do what is said in the wiki, the page you found is more or less correct, but it is much easier to use the webservice interface. Exactly as I recommended with the create:

https://github.com/tsolucio/corebos/blob/master/build/HelperScripts/importcsv.php#L62

you can use vtws_update or vtws_revise to update a record.
update requires ALL fields to be passed in, at least all mandatory fields while revise will only update the fields you give it with no validations.

it is easier than having to retrieve, sanatize and save

let me know how it goes
Joe
TSolucio
Reply


Messages In This Thread
RE: Update a record through vtlinb within app - joebordes - 07-28-2016, 09:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)