ReleaseUpdateDB60_Basic::dirPartyLocation Method [AX 2012]

Finds or creates primary tax registration Party location for specified party and region

server public static DirPartyLocationRecId dirPartyLocation(RefRecId _party, LogisticsAddressCountryRegionId _countryRegionId)

Run On

Server

Parameters

_party
Type: RefRecId Extended Data Type
Record
_countryRegionId
Type: LogisticsAddressCountryRegionId Extended Data Type
Country/region id of target party location.

Return Value

Type: DirPartyLocationRecId Extended Data Type
Record of

If has different region this method creates new regional location and makes it primary.

Show: