biuan SAP® BUSINESS ONE SDK
DTW Administration / Setup / Financials / Tax / Sales Tax Codes
API Sales Tax Codes

Description

SalesTaxCodes is a business object that represents the inclusive sales tax codes. Each sales tax code consists of one or more sales taxes as defined in SalesTaxAuthorities object.

This object enables you to:

  • Add a sales tax code.
  • Retrieve a sales tax code by its key.
  • Update a sales tax code data.
  • Save the object in XML format.

Source table: OSTC.

Object Model

Remarks

Mandatory fields in SAP Business One: ValidForAP and /or ValidForAR must be tYES.

To display the form in the application (US and Canada localizations):

  • Select Administration --> Setup --> Financials --> Tax --> Sales Tax Codes.

To display the form in the application (Latin America localization):

  • Select Administration --> Setup --> Financials --> Tax --> Tax Codes.

See Also

SAP® B1 DI-API C# definition

public class SalesTaxCodesClass : ISalesTaxCodes, SalesTaxCodes { public virtual DataBrowser Browser { get; } public virtual string CFOPIn { get; set; } public virtual string CFOPOut { get; set; } public virtual string Code { get; set; } public virtual BoYesNoEnum FADebit { get; set; } public virtual BoYesNoEnum Freight { get; set; } public virtual BoYesNoEnum Inactive { get; set; } public virtual BoYesNoEnum IsItemLevel { get; set; } public virtual SalesTaxCodes_Lines Lines { get; } public virtual string Name { get; set; } public virtual double Rate { get; } public virtual int TypeFormulaCombId { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public virtual int UserSignature { get; } public virtual BoYesNoEnum ValidForAP { get; set; } public virtual BoYesNoEnum ValidForAR { get; set; } public extern SalesTaxCodesClass(); public virtual extern int Add(); public virtual extern string GetAsXML(); public virtual extern bool GetByKey( string Key); public virtual extern void SaveToFile( string FileName); public virtual extern void SaveXML( ref string FileName); public virtual extern int Update(); }

Related information


Sales Tax Codes Lines SalesTaxCodes_Lines Object· Table: STC1
TaxCodes_Lines is a child object of the SalesTaxCodes object and represents the tax authorities/types from which the tax code is combined. Source table: STC1.
   Parent: Sales Tax Codes SalesTaxCodes Object· Table: OSTC


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