CreateAxaptaRecord Method (String)
The CreateAxaptaRecord method creates an AxaptaRecord object using the specified table name.
Namespace: Microsoft.Dynamics.BusinessConnectorNet
Assembly: Microsoft.Dynamics.BusinessConnectorNet (in Microsoft.Dynamics.BusinessConnectorNet.dll)
Syntax
'Declaration
Public Function CreateAxaptaRecord ( _
recordName As String _
) As AxaptaRecord
'Usage
Dim instance As Axapta
Dim recordName As String
Dim returnValue As AxaptaRecord
returnValue = instance.CreateAxaptaRecord(recordName)
public AxaptaRecord CreateAxaptaRecord(
string recordName
)
public:
AxaptaRecord^ CreateAxaptaRecord(
String^ recordName
)
Parameters
- recordName
Type: System.String
Return Value
Type: Microsoft.Dynamics.BusinessConnectorNet.AxaptaRecord
The return value is the created AxaptaRecord object.
Exceptions
Exception | Condition |
---|---|
AxaptaException | An unexpected error has occurred with Axapta. |
BusinessConnectorException | An unexpected error has occurred with the Business Connector. |
NotLoggedOnException | The requested operation cannot be performed because the user is not logged on to Axapta. |
UnknownRecordException | recordName is an unknown Axapta record. |
ArgumentException | An argument passed to the method is invalid. |
ArgumentNullException | A null reference was passed to a method that does not accept it as a valid argument. |