Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

How to Write the code to get the telephone number and fax in the fetch method in ax reprots

$
0
0

i want to display the telephone number and fax in the report, take the details from the logistics electronic address table.

i am writing the below code and test with debuugger but i am unable to get the data.

select Name from dirPartyTable where dirPartyTable.Name == 'CPIL'
    && dirPartyTable.PrimaryContactPhone == logisticsElectronicAddress.RecId;
    if(logisticsElectronicAddress.Type == LogisticsElectronicAddressMethodType::Phone)
    {
    Telephone       = logisticsElectronicAddress.Locator;
    }
    else
    {
    Fax             = logisticsElectronicAddress.Locator;
    }

can any one know about this please help me.


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>