📚 SAP Business One SDK Help

DistributionRulesService Object Members
See Also  Overview 

Public Methods

Public Method AddDistributionRuleAdds a distribution rule.
Public Method DeleteDistributionRuleDeletes an existing distribution rule.

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

Public Method GetDataInterfaceCreates an empty data structure for use with the DistributionRulesService.
Public Method GetDataInterfaceFromXMLFileCreates an object from an XML file.
Public Method GetDataInterfaceFromXMLStringCreates an object from XML.
Public Method GetDistributionRuleRetrieves a distribution rule.

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

Public Method GetDistributionRuleListRetrieves the keys and names of all the distribution rules.
Public Method UpdateDistributionRuleUpdates an existing distribution rule.

The data for the distribution rule, including the key of the distribution rule to be updated, is contained in the DistributionRule object passed to the method. To update a distribution rule, you must first retrieve it using the GetDistributionRule method.

See Also