Set Permissions for Apex Classes and Custom Objects and Fields
Specify Apex executable classes for the POS Integration Kit profile. Set field-level security for custom fields in the Loyalty Program Member object.
-
From Setup, in the Quick Find box, enter
Profiles
, and then select Profiles. -
Select the POS Integration Kit User profile.
-
Click Enabled Apex Class Access, and then click Edit.
-
From the Available Apex Classes list, add these Apex classes to the Enabled Apex Classes list.
- CancelOrder
- CancelOrderHelper
- CancelOrderItem
- CancelOrderRequest
- Configurations
- DMLManager
- EnrollMember
- MemberProfile
- MemberVouchers
- OrderCancelResWrapper
- PlaceOrderReqWrapper
- PlaceOrderRESTResource
- PlaceOrderResWrapper
- RedeemResponse
- RESTUtility
-
Save your changes.
-
From the Profiles page, select the POS Integration Kit User profile.
-
Click Enabled Custom Setting Definitions Access, and then click Edit.
-
Enable access to the POS custom setting definitions.
-
Save your changes.
-
For the POS-related custom fields in the Loyalty Program Member object, provide Read and Edit field-level security.
-
Edit the Transaction Journal Voucher Redemptions object, and provide Create and ModifyAll permissions for the object
-
For the Transaction Journal Voucher Redemptions object, provide Read and Edit access to the Voucher Changed Amount and Activity Type fields.
-
For the Loyalty Order Placement Error object, provide Create access.
-
Save your changes.
See Also