DirDunsNumber::findOrCreate Method
Finds or creates a record in DirDunsNumber table.
Syntax
client server public static DirDunsNumber findOrCreate(Name _dunsNumber, [LogisticsDunsNumberRecId _oldDunsRecId])
Run On
ClientOrServer
Parameters
- _dunsNumber
Type: Name Extended Data Type
The DUNS number that is entered in either the Party form or the Address form.
- _oldDunsRecId
Type: LogisticsDunsNumberRecId Extended Data Type
The record ID of the DirDunsNumber record if there is already one for the particular party or address.
Return Value
Type: DirDunsNumber Table
A record in the DirDunsNumber table.