Notifications
Announcements
No record found.
any body, can write sample of method for for getting Field Fax,Telex Fax,Phone no. from LogisticsElectronicsAddress , Thank you very munch
*This post is locked for comments
static void Job189(Args _args){ DirParty dirParty; LogisticsLocationEntity lle; CustTable customer; customer = CustTable::find("‪‪‪1707303"); dirParty = dirParty::constructFromCommon(customer); lle = dirParty.getPrimaryElectronicAddressLocation(); info(lle.getEmail()); info(lle.getTeleFax()); info(lle.getPhone()); info(lle.getTelex());}
static void Job189(Args _args){ DirParty dirParty; LogisticsLocationEntity lle; CustTable customer;
customer = CustTable::find("‪‪‪1707303"); dirParty = dirParty::constructFromCommon(customer); lle = dirParty.getPrimaryElectronicAddressLocation(); info(lle.getEmail()); info(lle.getTeleFax()); info(lle.getPhone()); info(lle.getTelex());}
Dear Jacob
Thank you , and. I would like display method for display Sepperate column in form , on vendTable
On Vendtable there are already three display methods called phone, telefax and telex. (This is in an AX 2012 R2). Use those.
thank you very munch
You are welcome.
Dear Jacop
i would like to get description value of ( Phone,Telefax and telex) field, how i can do it,
Consider duplicating the display methods mentioned above.
Change the return type of the method to Description.
Change the last line of code so that it returns the description field instead of the locator:
E.g. change
return electronicAddress ? electronicAddress.Locator : '';
to
return electronicAddress ? electronicAddress.Description : '';
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2