InventStdCostConv::checkItemPostingDate Method
Validates whether an item is part of an uncompleted standard cost conversion, and posts an item transaction on a date before the conversion date.
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 boolean checkItemPostingDate(
ItemId _itemId,
TransDate _transDate,
[InventTransCurrency_RU _inventTransCurrency])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static boolean checkItemPostingDate(
ItemId _itemId,
TransDate _transDate,
[InventTransCurrency_RU _inventTransCurrency])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static boolean checkItemPostingDate(ItemId _itemId, TransDate _transDate)
Microsoft Dynamics AX 2012 (FPK)
server public static boolean checkItemPostingDate(ItemId _itemId, TransDate _transDate)
Microsoft Dynamics AX 2012 (SYS)
server public static boolean checkItemPostingDate(ItemId _itemId, TransDate _transDate)
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The ID of the item that should be validated.
- _transDate
Type: TransDate Extended Data Type
The transaction date that should be validated for the item.
- _inventTransCurrency
Type: InventTransCurrency_RU Enumeration
The inventory accounting currency, primary or secondary, that should be validated for the item.
Return Value
Type: boolean
true if the item is not part of an uncompleted standard cost conversion or if the date is before the conversion date for an uncompleted standard cost conversion; otherwise, false.