RetailTransactionService::getReturnLocationByReasonCode Method [AX 2012]
Finds return policy and new location for print labels
Syntax
client server public static container getReturnLocationByReasonCode(
RetailStoreId _storeId,
ItemId _itemId,
ReturnReasonCodeId _reasonCodeId)
Run On
Called
Parameters
- _storeId
Type: RetailStoreId Extended Data Type
Transaction store id
- _itemId
Type: ItemId Extended Data Type
Product id
- _reasonCodeId
Type: ReturnReasonCodeId Extended Data Type
Return reason code id
Return Value
Type: container
Container with "Status", "ErrorMsg", "print return label" flag and "return location text"