ReqDemPlanDataSource::registerDataSource Method
Registers a data source.
Syntax
client server private static ReqDemPlanDataSourceRecId registerDataSource(
ReqDemPlanDataSourceType _type,
ReqDemPlanDataSourceDescription _description,
ReqDemPlanDataSourceOrigin _origin,
[boolean _throwOnFailure])
Run On
Called
Parameters
- _type
Type: ReqDemPlanDataSourceType Enumeration
The type of the data source.
- _description
Type: ReqDemPlanDataSourceDescription Extended Data Type
The description of the data source.
- _origin
Type: ReqDemPlanDataSourceOrigin Extended Data Type
The origin of the data source.
- _throwOnFailure
Type: boolean
A boolan value indicating whether to throw an exception in case the data source cannot be registered; optional, default value is false.
Return Value
Type: ReqDemPlanDataSourceRecId Extended Data Type
The RecId of the registered data source, or 0 if the data source could not be registered.