Share via


SalesLine.initFromItemOrCategory Method

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 initFromItemOrCategory(
            ItemId _itemId, 
            SalesCategory _salesCategory, 
            ItemFreeTxt _name, 
           [boolean _searchPriceDisc])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void initFromItemOrCategory(
            ItemId _itemId, 
            SalesCategory _salesCategory, 
            ItemFreeTxt _name)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void initFromItemOrCategory(
            ItemId _itemId, 
            SalesCategory _salesCategory, 
            ItemFreeTxt _name)

  Microsoft Dynamics AX 2012 (FPK)
          public void initFromItemOrCategory(
            ItemId _itemId, 
            SalesCategory _salesCategory, 
            ItemFreeTxt _name)

  Microsoft Dynamics AX 2012 (SYS)
          public void initFromItemOrCategory(
            ItemId _itemId, 
            SalesCategory _salesCategory, 
            ItemFreeTxt _name)

Run On

Called

Parameters

See Also

Reference

SalesLine Table