hello,
I add new field in table the I want to initialize this field using chain of command in class extension,
I add code like this :
[ExtensionOf(classStr(OutLogisticOrderOut))]
final class OutLogisticOrderOut_Extension
{
public void createDetLOLine(Envelope _envelope, EnvLOOut _envLOOut, Warehouse _warehouse, ExchangeLineInfo _lineInfo)
{
Common sourceLine;
DetLOLineOut detLOLineOut;
SalesLine salesLine;
sourceLine = this.retrieveSourceLine(_lineInfo);
salesLine = sourceLine;
detLOLineOut.PrepackGroupId = salesLine.Code;
next createDetLOLine( _envelope, _envLOOut, _warehouse, _lineInfo);
}
}
the method createDetLOLine() : insert data in the table DetOLLine :
how can I use the chain of command : i initialize the field after or befor the next()?