RetailTransactionServiceOrders::getTaxGroup_W Method [AX 2012]
Gets retail order line tax group.
Syntax
client server private static TaxGroup getTaxGroup_W(
SalesQty _qty,
CustAccount _custAccount,
RetailStoreId _storeId,
TaxGroup _defaultTaxGroup)
Run On
Called
Parameters
- _qty
Type: SalesQty Extended Data Type
Sales line quantity.
- _custAccount
Type: CustAccount Extended Data Type
Sales order customer account ID.
- _storeId
Type: RetailStoreId Extended Data Type
Retail store ID.
- _defaultTaxGroup
Type: TaxGroup Extended Data Type
Default sales line tax group.
Return Value
Type: TaxGroup Extended Data Type
Retail order line tax group.
Remarks
Default tax group is returned in case quantity is positive or return tax group is undefined.