在orchestreation中处理两个文件。 [英] Process two files in orchestreation.

查看:61
本文介绍了在orchestreation中处理两个文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



Senario:我从我的终端系统中得到两个文件
标题和详细文件。

所需的输出是加入标题基于PO编号生成单个文件。

例子:

头文件格式:
H< StoreNo> < PO No> <日期>
即。,H 1001 45796654 20090908
H 1001 45296651 20090908
H 1001 45712154 20090908

值得注意的是:一个标题具有多个采购订单编号的每个商店的文件。

和详细文件:
D< StoreNo> < PO No> <项目编号> <日期>
即。,D 1001 45796654 123 20090908
D 1001 45796654 124 20090908
D 1001 45796654 125 20090908
D 1001 45796654 126 20090908 > D 1001 45296651 123 20090908
D 1001 45296651 124 20090908
D 1001 45712154 125 20090908
D 1001 45712154 127 20090908
D 1001 45712154 128 20090908

详细文件将是每个商店一个,其中包含采购订单编号和采购订单编号中的项目。

我的输出文件将是每个采购订单编号的单个文件和下面列出的项目


商店1001的输出文件1和货号:45796654

H 1001 45796654 20090908
D 1001 45796654 123 20090908
D 1001 45796654 124 20090908
D 1001 45796654 125 20090908
D 1001 45796654 126 20090908

用于商店1001和po no的输出文件2:45296651

H 1001 45296651 20090908
D 1001 45296651 123 20090908 < br 100> D 1001 45296651 124 20090908

用于商店1001和po no的输出文件3:45712154

H 1001 45712154 20090908
D 100 1 45712154 125 20090908
D 1001 45712154 127 20090908

D 1001 45712154 128 20090908

想知道这可以在单个应用程序中使用编排或如何实现?

发票人:irfan

Hi,

Senario:
i get two files from my end system
header and detail file.

output required is by joining header and detail and produce single file based on PO number.

Example:

Header file format:
H <StoreNo> <PO No> <Date>
ie.,
H 1001 45796654 20090908
H 1001 45296651 20090908
H 1001 45712154 20090908

point to be noticed: one header file per store with multiple PO number.

and Detail file:
D <StoreNo> <PO No> <Item No> <Date>
ie.,
D 1001 45796654 123 20090908
D 1001 45796654 124 20090908
D 1001 45796654 125 20090908
D 1001 45796654 126 20090908
D 1001 45296651 123 20090908
D 1001 45296651 124 20090908
D 1001 45712154 125 20090908
D 1001 45712154 127 20090908
D 1001 45712154 128 20090908

Detail file will be one per store with PO number and Items in the PO Number.

my Out put file will be individual file per PO number and item in cluded as below

output file 1 for store 1001 and po no: 45796654

H 1001 45796654 20090908
D 1001 45796654 123 20090908
D 1001 45796654 124 20090908
D 1001 45796654 125 20090908
D 1001 45796654 126 20090908

output file 2 for store 1001 and po no: 45296651

H 1001 45296651 20090908
D 1001 45296651 123 20090908
D 1001 45296651 124 20090908

output file 3 for store 1001 and po no: 45712154

H 1001 45712154 20090908
D 1001 45712154 125 20090908
D 1001 45712154 127 20090908
D 1001 45712154 128 20090908


wanted to know can this be achived in single application using orchestration or how??


regards
irfan

推荐答案

嗨Irfan,

使用带有Header,Details文件的自定义管道的并行车队。
应该提升采购订单编号。

谢谢,

Hi Irfan,

Use Parallel convoys with custom pipelines for Header,Details files.
PO number should be promoted.

Thanks,


这篇关于在orchestreation中处理两个文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆