Share via


ProjFundingSource::createFundingSource Method

Creates a funding source for the given project contract and customer if there is not any already.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          server public static RecId createFundingSource(
            ProjInvoiceProjId _contractId, 
            CustAccount _custAccount, 
           [NoYes createDefaultFundingRule])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static RecId createFundingSource(
            ProjInvoiceProjId _contractId, 
            CustAccount _custAccount, 
           [NoYes createDefaultFundingRule])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static RecId createFundingSource(
            ProjInvoiceProjId _contractId, 
            CustAccount _custAccount, 
           [NoYes createDefaultFundingRule])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static RecId createFundingSource(
            ProjInvoiceProjId _contractId, 
            CustAccount _custAccount, 
           [NoYes createDefaultFundingRule])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static RecId createFundingSource(
            ProjInvoiceProjId _contractId, 
            CustAccount _custAccount, 
           [NoYes createDefaultFundingRule])

Run On

Server

Parameters

Return Value

Type: RecId Extended Data Type
The RecID of the newly created funding source if it is created; otherwise the RecID of the existing record found.

See Also

Reference

ProjFundingSource Table