Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
LogisticsLocation ___location;
RecId LocationRecId;
DirPartyRecId partyRecId = 5637174415;
LogisticsElectronicAddress electronicAddress;
___location = LogisticsLocation::create(DirPartyTable::findRec(partyRecId).name, false);
DirParty::addLocation(partyRecId, ___location.RecId, false, true);
electronicAddress.Location = ___location.RecId;
electronicAddress.Type = LogisticsElectronicAddressMethodType::Fax;
electronicAddress.Locator = '09012345';
electronicAddress.ValidFrom = DirUtility::getCurrentDateTime();
electronicAddress.ValidTo = DateTimeUtil::maxValue();
electronicAddress.insert();
Comments
- Anonymous
November 24, 2011
Many thanks dude. I was trying to generate ___location all day but in vain. This really helped :)