venerdì 14 novembre 2014

HOWTO: Retrive list of locator of LogisticsElectronicAddress by DirParty and Role

The AX 2012 method findElectronicAddressByRole is deprecated on lasted version.
On the lasted version you can define custom roles and use these roles for define custom elettronic address. This mean you cannot more use standard method for retrive address

This methods retrive the list of locators and retrive a container:

LogisticsLocationRoleName logisticsLocationRoleName;
container results;
int i;
;
logisticsLocationRoleName = "CustomRole";

results = DirParty::electronicAddressLocatorsByRole(
                [PartyId],
                [LogisticsElectronicAddressMethodType],
                logisticsLocationRoleName);

for(i=1;i<=conLen(results);i++)
{
                info(conPeek(results, i));

}

Nessun commento:

Posta un commento

AX 2012: The request was aborted: Could not create SSL/TLS secure channel

The error you're encountering, "The request was aborted: Could not create SSL/TLS secure channel," can occur due to various re...