Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

MES Stateless API

AddConsDirect(Int32,Int32,String,String,String,Double,Int32,Int32,Int32,String,String,String,Nullable<Int32>,Nullable<DateTime>,String,String,Nullable<Int32>,Nullable<Int32>,Nullable<Int32>,Nullable<Double>,String,Nullable<ConsumptionTransType>,String,String,String,String,String,DBString,DBString,DBString,DBString,Int32) Method

AddConsDirect(Int32,Int32,String,String,String,Double,Int32,Int32,Int32,String,String,String,Nullable<Int32>,Nullable<DateTime>,String,String,Nullable<Int32>,Nullable<Int32>,Nullable<Int32>,Nullable<Double>,String,Nullable<ConsumptionTransType>,String,String,String,String,String,DBString,DBString,DBString,DBString,Int32) Method

The AddConsDirect() method adds direct consumption and reduces the quantity from the inventory. It can also be used to scrap all inventory for an entity by passing a null for the itemId parameter.

This overload of the method uses the entity ID to identify the entity where this item is being consumed.

In This Topic