Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.
The TAXUNITCONVERSION function returns a Real value that represents the quantity result of converting the specified unit from transaction to the specified unit in tax configuration. And it should be noticed that this function requires context that from an original sourcing system. The method ConverUnit in interface IExternalAPIProvider must be implemented in a sourcing Enterprise resource planning (ERP) environment.
Syntax
TAXUNITCONVERSION(itemId, quantity, base unit, tax unit, invent dimension ID, packaging)
Arguments
itemId: String
The Item ID defined in Finance and Operations Apps.
quantity: Real
The quantity of the original unit.
base unit: String
The unit of the original transaction.
tax unit: String
The unit is defined in the tax configuration.
invent dimension Id: String
The invent dimension is defined in the finance and operations apps transaction.
packaging: Bool
The packaging parameter is from the tax configuration.
Return values
Real
The converted quantity of the tax unit.
Example
TAXUNITCONVERSION ("D001", 12, "ea", "dz", "", false) returns the quantity converted from "ea" to "dz" which is 1.