API Distribution Rule Lines


A collection of DistributionRuleLine objects.

Object Model

See Also

SAP® B1 DI-API C# definition

public class DistributionRuleLinesClass : IDistributionRuleLines, DistributionRuleLines, IEnumerable { public virtual int Count { get; } public extern DistributionRuleLinesClass(); public virtual extern DistributionRuleLine Add(); public virtual extern IEnumerator GetEnumerator(); public virtual extern string GetXMLSchema(); public virtual extern DistributionRuleLine Item( object vtIndex); public virtual extern void ToXMLFile( string bstrFileName); public virtual extern string ToXMLString(); }

API Distribution Rule Lines


The set of profit centers to which to assign costs and revenues that have been tied to this distribution rule.

Property type

Read-only property


Visual Basic
Public Property DistributionRuleLines() As DistributionRuleLines


There cannot be more than one DistributionRuleLine objects with the same profit center assigned to the same distribution rule.

All profit centers assigned to a distribution rule must have the same dimension as the distribution rule (InWhichDimension property).

See Also

Related information

Distribution Rule Line DistributionRuleLine Object· Table: OCR1
Specifies a profit center to which to assign part of any cost or expense that is tied to a distribution rule. Source table: OCR1 All properties are mandatory.
   Parent: Distribution Rule Lines DistributionRuleLines Collection

SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates