单据转换插件执行顺序
3人赞赏了该文章
1.2万次浏览
编辑于2014年05月29日 08:53:56
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)
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)
推荐阅读