1、下推事件及顺序
//初始化变量
OnInitVariable(InitVariableEventArgs e)
//解析字段映射关系,并构建查询参数。这里可以加入你想要的额外的字段
OnQueryBuilderParemeter(QueryBuilderParemeterEventArgs e)
//构建列表中选择数据行的In语句
OnInSelectedRow(InSelectedRowEventArgs e)
//解析选单条件策略
OnParseFilter(ParseFilterEventArgs e)
//获取源单数据
OnGetSourceData(GetSourceDataEventArgs e) (下推执行)
//执行分组前
OnBeforeGroupBy(BeforeGroupByEventArgs e)
//创建目标单
OnCreateTarget(CreateTargetEventArgs e) (下推执行)
//字段映射开始
OnBeforeFieldMapping(BeforeFieldMappingEventArgs e)
//单个字段映射
OnFieldMapping(FieldMappingEventArgs e)
//计算公式映射
OnFieldCalculate(FieldCalculateEventArgs e)
//所有字段映射完成
OnAfterFieldMapping(AfterFieldMappingEventArgs e)
//关联关系(Link表)创建前
OnCreateLink(CreateLinkEventArgs e)
//关联关系(Link表)创建完成
OnAfterCreateLink(CreateLinkEventArgs e)
//单据转换后事件
AfterConvert(AfterConvertEventArgs e)
2、选单前事件及顺序(弹出选单列表前)
OnInitVariable(InitVariableEventArgs e)
//解析映射关系中的过滤选项
OnParseFilterOptions(ParseFilterOptionsEventArgs e)(选单执行)
OnParseFilter(ParseFilterEventArgs e)
3、选单事件及顺序
OnInitVariable(InitVariableEventArgs e)
OnQueryBuilderParemeter(QueryBuilderParemeterEventArgs e)
OnInSelectedRow(InSelectedRowEventArgs e)
//获取源单数据
OnGetDrawSourceData(GetDrawSourceDataEventArgs e)(选单执行)
OnBeforeGroupBy(BeforeGroupByEventArgs e)
//目标单创建后
OnCreateDrawTarget(CreateDrawTargetEventArgs e)(选单执行)
OnBeforeFieldMapping(BeforeFieldMappingEventArgs e)
OnFieldMapping(FieldMappingEventArgs e)
OnFieldCalculate(FieldCalculateEventArgs e)
OnAfterFieldMapping(AfterFieldMappingEventArgs e)
OnCreateLink(CreateLinkEventArgs e)
OnAfterCreateLink(CreateLinkEventArgs e)
//单据转换后事件
AfterConvert(AfterConvertEventArgs e)
推荐阅读