@aurahelper/xml-definitions
Version:
Powerfull Libraries to get the XML Definitions of ALL XML Salesforce Metadata Files. Support All API Versions up to API 53.0. You can get the definition of one or more XML files for a specific version of Salesforce. For Example: You can get the XML Defini
52 lines • 2.91 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ForecastingSourceDefinition = void 0;
var core_1 = require("@aurahelper/core");
exports.ForecastingSourceDefinition = {
categoryField: new core_1.EnumXMLField('categoryField', 'Category Field')
.setMinApi(52)
.setEditable()
.addEnumValue('Opportunity.ForecastCategoryName', 'Opportunity.ForecastCategoryName'),
dateField: new core_1.EnumXMLField('dateField', 'Date Field')
.setMinApi(52)
.setEditable()
.addEnumValue('Opportunity.CloseDate', 'Opportunity.CloseDate')
.addEnumValue('OpportunityLineItem.ServiceDate', 'OpportunityLineItem.ServiceDate')
.addEnumValue('OpportunityLineItemSchedule.ScheduleDate', 'OpportunityLineItemSchedule.ScheduleDate'),
familyField: new core_1.EnumXMLField('familyField', 'Family Field')
.setMinApi(52)
.setEditable()
.addEnumValue('Product2.Family', 'Product2.Family'),
masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label')
.setMinApi(52)
.setEditable()
.setRequired(),
measureField: new core_1.EnumXMLField('measureField', 'Measure Field')
.setMinApi(52)
.setEditable()
.addEnumValue('Opportunity.Amount', 'Opportunity.Amount')
.addEnumValue('Opportunity.TotalOpportunityQuantity', 'Opportunity.TotalOpportunityQuantity')
.addEnumValue('OpportunityLineItem.Quantity', 'OpportunityLineItem.Quantity')
.addEnumValue('OpportunityLineItem.TotalPrice', 'OpportunityLineItem.TotalPrice')
.addEnumValue('OpportunityLineItemSchedule.Quantity', 'OpportunityLineItemSchedule.Quantity')
.addEnumValue('OpportunityLineItemSchedule.Revenue', 'OpportunityLineItemSchedule.Revenue')
.addEnumValue('OpportunitySplit.SplitAmount', 'OpportunitySplit.SplitAmount'),
sourceObject: new core_1.EnumXMLField('sourceObject', 'Source Object')
.setMinApi(52)
.setEditable()
.addEnumValue('Opportunity', 'Opportunity')
.addEnumValue('OpportunityLineItem', 'OpportunityLineItem')
.addEnumValue('OpportunityLineItemSchedule', 'OpportunityLineItemSchedule')
.addEnumValue('OpportunitySplit', 'OpportunitySplit')
.addEnumValue('Product2', 'Product2'),
territory2Field: new core_1.EnumXMLField('territory2Field', 'Territory2 Field')
.setMinApi(52)
.setEditable()
.addEnumValue('Opportunity.Territory2Id', 'Opportunity.Territory2Id'),
userField: new core_1.EnumXMLField('userField', 'User Field')
.setMinApi(52)
.setEditable()
.addEnumValue('Opportunity.OwnerId', 'Opportunity.OwnerId')
.addEnumValue('OpportunitySplit.SplitOwnerId', 'OpportunitySplit.SplitOwnerId'),
};
//# sourceMappingURL=forecastingSourceDefinition.js.map