Share via


AgreementHeader.intercompanyErrorAgreementClassification Method

Throws an error.

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
          public void intercompanyErrorAgreementClassification(
            CompanyId _fromDataAreaId, 
            ExtCodeId _fromExtCodeId, 
            ExtCodeId _toExtCodeId)

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void intercompanyErrorAgreementClassification(
            CompanyId _fromDataAreaId, 
            ExtCodeId _fromExtCodeId, 
            ExtCodeId _toExtCodeId)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void intercompanyErrorAgreementClassification(
            DataAreaId _fromDataAreaId, 
            ExtCodeId _fromExtCodeId, 
            ExtCodeId _toExtCodeId)

  Microsoft Dynamics AX 2012 (FPK)
          public void intercompanyErrorAgreementClassification(
            DataAreaId _fromDataAreaId, 
            ExtCodeId _fromExtCodeId, 
            ExtCodeId _toExtCodeId)

  Microsoft Dynamics AX 2012 (SYS)
          public void intercompanyErrorAgreementClassification(
            DataAreaId _fromDataAreaId, 
            ExtCodeId _fromExtCodeId, 
            ExtCodeId _toExtCodeId)

Run On

Called

Parameters

  • _fromExtCodeId
    Type: ExtCodeId Extended Data Type
    The external code that is used in the from data area for converting agreement classification.
  • _toExtCodeId
    Type: ExtCodeId Extended Data Type
    The external code that is used in the to data area for converting agreement classification.

Exceptions

Exception Condition
Error

This error is always thrown.

Remarks

This method is used when the validation of an agreement classification fails in intercompany scenarios.

See Also

Reference

AgreementHeader Table