DMFParty::createNew Method [AX 2012]
Creates a new record in the DirPartyTable table.
client server public static DirPartyTable createNew(
DirPartyType _partyType,
Name _name,
[DirPartyNumber _partyNumber,
FirstName _firstName,
MiddleName _middleName,
LastName _lastName,
DirNameSequenceRecId _nameSequence])
Run On
CalledParameters
- _partyType
- Type: DirPartyType Enumeration
A DirPartyType value for the new DirPartyTable record.
- _name
- Type: Name Extended Data Type
A Name value for the new DirPartyTable record.
- _partyNumber
- Type: DirPartyNumber Extended Data Type
A DirpartyNumber value for the new DirPartyTable record; optional.
- _firstName
- Type: FirstName Extended Data Type
A FirstName value for the new DirPartyTable record; optional.
- _middleName
- Type: MiddleName Extended Data Type
A MiddleName value for the new DirPartyTable record; optional.
- _lastName
- Type: LastName Extended Data Type
A LastName value for the new DirPartyTable record; optional.
- _nameSequence
- Type: DirNameSequenceRecId Extended Data Type
A DirNameSequenceRecId value for the new DirPartyTable record; optional.
Show: