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

MES Stateless API

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

AddConsDirect(Int32,String,String,String,String,String,Double,Int32,String,String,String,String,String,Nullable<Int32>,Nullable<DateTime>,String,String,Nullable<Int32>,String,String,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 name and entity site name to identify the entity where this item is being consumed.

In This Topic
TitleResults for “How to create a CRG?”Also Available in