📚 SAP Business One SDK Help

GetDistributionRule Method
See Also 
pIDistributionRuleParams

The key of the distribution rule to retrieve.

Description

Retrieves a distribution rule.

The distribution rule is specified by its key (OcrCode), which is contained in the DistributionRuleParams object passed to the method.

Syntax

Visual Basic
Public Function GetDistributionRule( _
   ByVal pIDistributionRuleParams As DistributionRuleParams _
) As DistributionRule

Parameters

pIDistributionRuleParams

The key of the distribution rule to retrieve.

Return Type

The distribution rule with the specified key.

Example

See Also