Hi All, I'm having the permission on create SO wit...
# general
s
Hi All, I'm having the permission on create SO with only specific items.
You do not have permissions to set a value for element item.rate
Copy code
Exception:
1: [0] add: webservice call failed - details:
array (
 0 => 
 array (
  'code' => 'INSUFFICIENT_PERMISSION',
  'message' => 'You do not have permissions to set a value for element item.rate due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases.',
  'afterSubmitFailed' => NULL,
  'type' => 'ERROR',
 ),
)
those specific items fields Pricing and Sales Price (Rate) are recently updated with csv import option. Anyone idea to resolve this permission issue with
item.rate
field?
b
what does your request xml look like
s
create-so-request.xml
b
same rules as the ui, you need to set the price level to custom to set the rate
s
you mean specific to that permission issue item?
p
He means unless price level is explicitly set to custom on the line you cannot even in UI input a rate
s
I don't have "price level" field but there is "Price group" which also empty is there any option to update price level to custom in UI?
there are some other items i can create SO with same item configuration
the problem only after change Pricing and Sales Price (Rate) with csv import option
those specific items fields Pricing and Sales Price (Rate) are recently updated with csv import option.
b
price level and rate are columns on the sales order line
again, learn how to create the sales order in the ui first to understand the process
s
ok thanks, let me give a try