ReqTransFormPO::validateFromInventLocationId Method [AX 2012]

Validates the from warehouse that is related to a planned transfer order.

server public static boolean validateFromInventLocationId(
    InventLocationId _fromInventLocationId, 
    InventLocationId _toInventLocationId, 
    ReqPO _reqPO)

Run On

Server

Parameters

_fromInventLocationId
Type: InventLocationId Extended Data Type
A string that holds the from warehouse ID.
_toInventLocationId
Type: InventLocationId Extended Data Type
A string that holds the to warehouse ID.
_reqPO
Type: ReqPO Table

Return Value

Type: boolean
true if the from warehouse is valid; otherwise false.

ExceptionCondition
Error

The to warehouse cannot be determined.

Show: