|
|
|
|
|
Forum
|
|
|
Problems using dsAdd and dsUpdate (1 viewing) (1) Guests
Favoured: 0
|
|
|
TOPIC: Problems using dsAdd and dsUpdate
|
|
|
|
Problems using dsAdd and dsUpdate 1 Month, 1 Week ago
|
Karma: 0  
|
|
First, Hi folks. I'm new to the forum and look forward to using this resource and contributing to it. I'm using the iSDK front end to the xmlrpc calls to programmatically add elements to my isoft. So far I'm getting most things to work - including the blank order and adding items to it with the addOrderItem call.
By the way, I had to fix a variable typo for $Notes which was lowercase in my version in the iSDK.php file to get that to work. I am guessing that is old news with this group - right?
Anyway, now the problem I'm having is I'm trying to use dsAdd and dsUpdate to access custom fields in my newly created orders, since the blankOrder call doesn't have the flexible array like the addCon call does. I thought I could do this by using dsAdd and setting the table name to Invoice which I think is the right table for Orders. However, the API barfs when I do this with a message that I don't have permissions. I checked and my user has all the permissions on that should be on. Any idea what I'm missing? Is there some other way to access custom fields of an Order through the API without using dsAdd or dsUpdate?
I thought about making the xmlrpc calls myself directly without the iSDK front end, but in looking at the code the layer looked quite thin so I suspect that isn't the problem.
Ken
|
|
|
|
|
|
|
The administrator has disabled public write access. |
nonickch (User)
Senior Boarder
Posts: 36
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Problems using dsAdd and dsUpdate 1 Month, 1 Week ago
|
Karma: 0  
|
|
Thanks, this explains why it failed. The blankOrder call works fine but it won't give me access to custom fields so I think I might be stuck. Anyone know any workarounds?
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
|
|