Permitted Restricted Product Object Reference

Overview

Provides authorization to a customer to purchase a restricted product.

Property Value
API Name s_c__Permitted_Restricted_Product__c
Label Permitted Restricted Product
Plural Label Permitted Restricted Products
Type Custom Object

Fields

Field Label API Name Type Required Description
Account s_c__Account_Id__c Lookup (Account) No
Approved From s_c__Approved_From__c DateTime No
Approved Quantity s_c__Approved_Quantity__c Number(7,0) No How many items of the product a buyer is allowed to purchase. If a number has not been set or set to 0, 'Unlimited' should be checked.
Approved Until s_c__Approved_Until__c DateTime No
Is Valid Approval? s_c__Is_Valid_Approval__c Formula (Checkbox) No Indicates whether restricted product is approved to be purchased for customer. To be permitted, current date/time must be within specified date range and purchased quantity must not exceed approved quantity unless unlimited is checked. Primarily for system/internal use.
Product Category s_c__Product_Category_Id__c Lookup (s_c__Product_Category__c) No
Product s_c__Product_Id__c Lookup (Product2) No
Purchased Quantity s_c__Purchased_Quantity__c Number(7,0) No The number of items of this product purchased by this buyer (Account). Based on the quantity sum of all non-voided permitted restricted items.
Store s_c__Store_Id__c Lookup (s_c__Store__c) No
Total Item Quantity s_c__Total_Item_Quantity__c Summary No Aggregate sum of all non-void permitted restricted items quantity For system internal use only.
Unlimited s_c__Unlimited__c Checkbox No If checked, a buyer is allowed to purchase an unlimited number of items of the product.

Relationships

Field Type Related Object Relationship Name
s_c__Account_Id__c Lookup Account Account_Permitted_Restricted_Products
s_c__Product_Category_Id__c Lookup s_c__Product_Category__c Permitted_Restricted_Products
s_c__Product_Id__c Lookup Product2 Permitted_Restricted_Accounts
s_c__Store_Id__c Lookup s_c__Store__c Permitted_Restricted_Products