📚 SAP Business One SDK Help

TaxCodeDetermination 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 BusinessAreaThe business area, for which the tax code determination rule is relevant, for example, sales, purchasing, or both.

Mandatory property.

Field name: BusArea.

Public Property Condition1The condition based upon which the tax code is determined.

If you select more than one condition, all conditions must be met for the tax code determination rule to be applied.

Mandatory property.

Field name: Cond1.

Public Property Condition2The second condition based upon which the tax code is determined.

Field name: Cond2.

Public Property Condition3The third condition based upon which the tax code is determined.

Field name: Cond3.

Public Property Condition4The fourth condition based upon which the tax code is determined.

Field name: Cond4.

Public Property Condition5The fifth condition based upon which the tax code is determined.

Field name: Cond5.

Public Property DescriptionThe additional explanation for the tax code determination rule.

Field name: Descr.

Length: 250 characters.

Public Property DocEntry

The internal key of the document. Field name: DocEntry.

Public Property DocumentTypeThe type of document, for which the tax code determination rule is relevant, for example, item, service, or both.

Mandatory property.

Field name: DocType.

Public Property FreightHeaderTaxThe tax code for freight charges in sales or purchasing document headers.

Field name: FrHdrTax.

Public Property FreightRowTaxThe tax code for freight charges in sales or purchasing document lines.

Field name: FrLnTax.

Public Property LineNumber

Sets or returns the row number within the hierarchy of tax code determination rules.

When determining the tax code proposal in a sales or purchasing document, the application works its way through the rules, starting at the highest position.

Field name: LineNum.

Public Property MoneyValue1The monetary value for condition 1.

Field name: MnyVal1.

Public Property MoneyValue2The monetary value for condition 2.

Field name: MnyVal2.

Public Property MoneyValue3The monetary value for condition 3.

Field name: MnyVal3.

Public Property MoneyValue4The monetary value for condition 4.

Field name: MnyVal4.

Public Property MoneyValue5The monetary value for condition 5.

Field name: MnyVal5.

Public Property NumberValue1The numeric value for condition 1.

Field name: NumVal1.

Public Property NumberValue2The numeric value for condition 2.

Field name: NumVal2.

Public Property NumberValue3The numeric value for condition 3.

Field name: NumVal3.

Public Property NumberValue4The numeric value for condition 4.

Field name: NumVal4.

Public Property NumberValue5The numeric value for condition 5.

Field name: NumVal5.

Public Property StringValue1The string value for condition 1.

Field name: StrVal1.

Public Property StringValue2The string value for condition 2.

Field name: StrVal2.

Public Property StringValue3The string value for condition 3.

Field name: StrVal3.

Public Property StringValue4The string value for condition 4.

Field name: StrVal4.

Public Property StringValue5The string value for condition 5.

Field name: StrVal5.

Public Property TaxCodeThe tax code that is proposed in sales or purchasing documents, if the tax code determination rule applies. You can use one of the tax codes defined in the application or create a new one.

Field name: LnTaxCode.

Length: 8 characters.

Public Property UDFAlias1The alias of the user-defined field for condition 1.

Field name: UDFAlias1.

Public Property UDFAlias2The alias of the user-defined field for condition 2.

Field name: UDFAlias2.

Public Property UDFAlias3The alias of the user-defined field for condition 3.

Field name: UDFAlias3.

Public Property UDFAlias4The alias of the user-defined field for condition 4.

Field name: UDFAlias4.

Public Property UDFAlias5The alias of the user-defined field for condition 5.

Field name: UDFAlias5.

Public Property UDFTable1The title of the user-defined field for condition 1.

Field name: UdfTable1.

Public Property UDFTable2The title of the user-defined field for condition 2.

Field name: UdfTable2.

Public Property UDFTable3The title of the user-defined field for condition 3.

Field name: UdfTable3.

Public Property UDFTable4The title of the user-defined field for condition 4.

Field name: UdfTable4.

Public Property UDFTable5The title of the user-defined field for condition 5.

Field name: UdfTable5.

See Also