Share via


InventAvailabilityByUnit::newFromParms Method [AX 2012]

Creates a new instance of the InventAvailabilityByUnit class based on the specified InventIAvailability and PdsCWInventIAvailability instances.

Syntax

client server public static InventAvailabilityByUnit newFromParms(InventIAvailability _inventAvailability, [PdsCWInventIAvailability _pdsCWInventAvailability])

Run On

Called

Parameters

  • _inventAvailability
    Type: InventIAvailability Interface
    A class exposing availability information using the unified InventIAvailability interface.
  • _pdsCWInventAvailability
    Type: PdsCWInventIAvailability Interface
    A class exposing availability information for catch weight items using the unified PdsCWInventIAvailability interface; optional.

Return Value

Type: InventAvailabilityByUnit Class
A new instance of the InventAvailabilityByUnit class.

See Also

Reference

InventAvailabilityByUnit Class