MixERP.Net.Core.Modules.BackOffice.Services.TaxData Class Reference
Inheritance diagram for MixERP.Net.Core.Modules.BackOffice.Services.TaxData:

Public Member Functions

decimal GetSalesTax (string tranBook, int storeId, string partyCode, string shippingAddressCode, int priceTypeId, string itemCode, decimal price, int quantity, decimal discount, decimal shippingCharge, int salesTaxId)
 Gets sales tax rate. More...
 
Collection< ListItem > GetSalesTaxes (string tranBook)
 Gets a collection sales taxes of the current office. More...
 
int GetSalesTaxId (string tranBook, int storeId, string partyCode, string shippingAddressCode, int priceTypeId, string itemCode, int unitId, decimal price)
 Gets the preferred SalesTaxId depending upon the supplied parameters. More...
 

Member Function Documentation

decimal MixERP.Net.Core.Modules.BackOffice.Services.TaxData.GetSalesTax ( string  tranBook,
int  storeId,
string  partyCode,
string  shippingAddressCode,
int  priceTypeId,
string  itemCode,
decimal  price,
int  quantity,
decimal  discount,
decimal  shippingCharge,
int  salesTaxId 
)

Gets sales tax rate.

Parameters
tranBookThe transaction book.
storeIdThe store id.
partyCodeThe party code.
shippingAddressCodeThe shipping address code.
priceTypeIdThe price type id.
itemCodeThe item code.
priceThe price.
quantityThe quantity.
discountThe discount.
shippingChargeThe shipping charge amount.
salesTaxIdSales tax id.
Returns
The sales tax.
Collection<ListItem> MixERP.Net.Core.Modules.BackOffice.Services.TaxData.GetSalesTaxes ( string  tranBook)

Gets a collection sales taxes of the current office.

Parameters
tranBookName of the transaction book to filter the result by.
Returns
The sales taxes.
int MixERP.Net.Core.Modules.BackOffice.Services.TaxData.GetSalesTaxId ( string  tranBook,
int  storeId,
string  partyCode,
string  shippingAddressCode,
int  priceTypeId,
string  itemCode,
int  unitId,
decimal  price 
)

Gets the preferred SalesTaxId depending upon the supplied parameters.

Parameters
tranBookName of the transaction book.
storeIdId of the store to search the result for.
partyCodeThe party code.
shippingAddressCodeThe shipping address code.
priceTypeIdId of the price type.
itemCodeThe item code.
unitIdId of the unit.
priceThe price.
Returns
The sales tax identifier.

The documentation for this class was generated from the following file: