General X++ Development
How do I pass parameters to a SysOperation batch job?
How do I pass parameters to a SysOperation batch job?
1 answer
Write an answerPut the parameters on a data contract.
[DataContract]
class MyOperationContract
{
str value;
[DataMemberAttribute('Value')]
public str parmValue(str _value = value)
{
value = _value;
return value;
}
}When the operation runs in batch, the framework serializes the contract values and restores them when the batch task executes.
Know the solution?
Sign in to contribute an answer and build your community reputation.
Sign in to answer