Share via


AfResourceServiceClass.createResource Method [AX 2012]

Creates a resource in Microsoft Dynamics AX.

Syntax

public AfDataContainer createResource(
    AfDataContainer _compoundDataContainer, 
    SyncEntityId _syncEntityId, 
    SyncTransId _syncTransId, 
    SyncAppId _sourceAppId)

Run On

Server

Parameters

  • _sourceAppId
    Type: SyncAppId Extended Data Type
    The current application to which Microsoft Dynamics AX is synchronizing. Indicates the project server application ID by default.

Return Value

Type: AfDataContainer Class
The container that has the resource information. An empty container if the resource cannot be found.

See Also

Reference

AfResourceServiceClass Class