Share via


InventItemPrice::stdCostFindPrevLocked Method

Selects the previous standard cost price with a pessimistic lock.

Syntax

client server public static InventItemPrice stdCostFindPrevLocked(
    ItemId _itemId, 
    InventDimId _inventDimId, 
    CreatedDateTime _createdDateTime)

Run On

Called

Parameters

Return Value

Type: InventItemPrice Table
The previous standard cost price.

Remarks

This function uses the pessimistic lock hint value to make sure that the previous price is locked. This is required to prevent price changes when another transaction is still running.

See Also

Reference

InventItemPrice Table