RetailTransactionServiceInventory::getReturnLocationByReasonCode Method [AX 2012]

Finds return policy and new location for print labels

client server public static container getReturnLocationByReasonCode(
    RetailStoreId _storeId, 
    ItemId _itemId, 
    ReturnReasonCodeId _reasonCodeId)

Run On



Type: RetailStoreId Extended Data Type
Transaction store id
Type: ItemId Extended Data Type
Product id
Type: ReturnReasonCodeId Extended Data Type
Return reason code id

Return Value

Type: container
Container with "Status", "ErrorMsg", "print return label" flag, "return warehouse text", "return location text", "return pallete text"