This blog will give you tools and hints on the development world, with a special regard on Microsoft Dynamics AX. You'll find also useful tips on the .NET world, Web Development, Mobile, Interfaces and maybe some tips on Android Java Games.
Wednesday, February 20, 2013
Create contact by code
static void ContactCreate(Args _args)
{
DirPartyRecId party;
DirPartyContactInfoView contactView;
DirParty dirParty;
LogisticsLocationRoleRecId role;
LogisticsLocationRole LogisticsLocationRole;
party = CustTable::find('CUSTOMER ID').Party;
contactView.LocationName = "Name";
contactView.Locator = "www.microsoft.com";
contactView.Type = LogisticsElectronicAddressMethodType::URL;
contactView.Party = party;
contactView.IsPrimary = false;
contactView.LocatorExtension = "";
role = LogisticsLocationRole::findBytype(LogisticsLocationRoleType::Business).RecId;
dirParty = dirParty::constructFromPartyRecId(party);
dirParty.createOrUpdateContactInfo(contactView,[role]);
}
Subscribe to:
Post Comments (Atom)
1 comment:
This is statutory control from the Sphere exchange for Education. Local authorities (LAs) be compelled acquire involve to it when carrying minus their excise to align proper full-time tutoring (or part-time when boost for the offspring’s needs) suited for children who are unfit to go to a mainstream or special fashion because of their constitution
http://www.elmasryelasel.com/vb/member.php?u=32510
http://www.mpl486.milion-za-darmo.pl/tag/ekonomiczne
http://polskikatalogturysty.pl/opole-stolica-wojewodztwa-opolskiego-i-polskiej-piosenki.html
http://mahmedia.pl/informacje-i-konsumenci
http://htmlek.pl/polska,regiony,swiat/licea,dla,doroslych,warszawa,s,4839/
Post a Comment