📚 SAP Business One SDK Help

ProfitCenter Object Members
See Also  Overview 

Public Methods

Public Method FromXMLFileSets the object's properties using data from an XML file.

The XML file can be created using the object's ToXMLFile method.

Public Method FromXMLStringSets the object's properties using data from an XML string.

The XML string can be created using the object's ToXMLString method.

Public Method GetXMLSchemaReturns the XML schema for the XML generated by the ToXMLFile and ToXMLString methods.
Public Method ToXMLFileCreates an XML file that represents the object.
Public Method ToXMLStringCreates and returns an XML string that represents the object.

Public Properties

Public Property ActiveSpecify whether the cost center is active.

Field name: Active.

Public Property CenterCode

The key of the cost center. Field name: PrcCode.

Length: 8 characters.

Public Property CenterName

The display name of the cost center. Field name: PrcName.

Length: 30 characters.

Public Property CenterOwnerproperty CenterOwner
Public Property CostCenterTypeThe cost center type, for selection by future reports and analyses.

Field name: CCTypeCode.

Length: 8 characters.

Public Property EffectivefromThe start date of the effective period of the cost center.

Field name: ValidFrom.

Public Property EffectiveToThe end date of the effective period of the cost center.

Field name: ValidTo.

Public Property GroupCode

The code of the cost center's group. You can assign cost centers the same group code in order to group them within reports. Field name: GrpCode.

Public Property InWhichDimensionThe dimension in which this profit is located.

Field name: DimCode.

Public Property UserFieldsReturns the UserFields object.

See Also