📚 SAP Business One SDK Help

DistributionRule Property
See Also 

Description

If required, specify the distribution rule for the landed costs row.

Field name: OcrCode.

Length: 8 characters.

Property type

Read-write property

Syntax

Visual Basic
Public Property DistributionRule() As String

Remarks

The default value comes from row information of the source documents (goods receipt POs or landed costs documents).
  • For perpetual inventory companies:

    • If you define the distribution rule here, it appears in the Distr. Rule field for the customs allocation account or customs expense account row in the journal entry.

    • If you leave this field empty, the default distribution rule for the customs allocation account or customs expense account appears in the Distr. Rule field for the corresponding journal entry row.

  • For non-perpetual inventory companies, a change in this field does not apply to journal entries because posting a landed costs document does not create a journal entry.

See Also