ReleaseUpdateDB60_Basic::dirPartyLocation Method [AX 2012]
Finds or creates primary tax registration Party location for specified party and region
Syntax
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
Remarks
If has different region this method creates new regional location and makes it primary.