📚 SAP Business One SDK Help

DistributionRuleLine 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 CenterCodeThe profit center to which to assign part of any cost or expense that is tied to a distribution rule.

Field name: PrcCode.

This is a foreign key to the ProfitCenter object.

Public Property EffectivefromThe date from which the distribution rule is in effect.

Field name: ValidFrom.

Public Property EffectiveToThe date until which the distribution rule is in effect.

Field name: ValidTo.

Public Property TotalInCenterRepresents the percentage of the cost or expense to assign to this profit center. The actual percentage is calculated by taking this property and dividing by the TotalFactor property in the parent object, and multiplying by 100. 

Field name: PrcAmount.

See Also