我正在尝试使用tradacoms标准理解EDI发票,我已经找到一些信息以阅读发票,但这还不够.是否有人有使用.NET将tradacom发票导入业务对象的示例或想法?我已经尝试阅读Tradacom语法手册,它只是定义了细分,这很好,但是我想更详细地了解任何示例,将对您有很大的帮助.
I am trying to understand EDI invoices using tradacoms standards, I have found some information in order to read an invoice but it is not sufficient. Does anybody has any sample or idea for importing tradacom invoice to business objects using .NET? I have tried reading Tradacom Syntax manual, it just defines the segments which is fine but I wanted to know in more detail with any sample will be of great help.
我非常喜欢数据元素,例如下面的行:
I am quite stuck with data elements for example the line below:
ILD = 1 + 1 +:8408 ++:31266 + 0 + 2:2500:KG + 54300 + 135800 + Z + 0 +++ SILVERSIDE 1-5KG'
ILD=1+1+:8408++:31266+0+2:2500:KG+54300+135800+Z+0+++SILVERSIDE 1-5 KG'
现在,ILD是发票详细信息,"="定义了分段中的数据元素值,"+"将一个数据元素的值分隔为另一数据元素,但是我不知道是什么,例如"1+"1+:8408,我的意思是行号,客户号,产品代码等,等等.
Now, ILD is invoice details, "=" defines data element value in segment, "+" separates the value for one data element to another but what I don't understand is what is what, like what is "1+1+:8408", I mean line number, customer number, product code etc etc and so on.
有人可以说明一下吗?我将非常感激.
Can someone please shed some light to it? I will be really grateful.
推荐答案在 Edi.Net lib.它是用C#编写的.
There is a Tradacoms "UtilityBill" example with sample EDI file and some POCO classes in the Edi.Net lib. It is written in C#.
尽管如果您获得了EDI事务类型的引用(对于您的情况为UTLHDR),这可以极大地帮助您,但如果您没有做的话,您将无能为力.因此,请查看Tradacoms语法手册并寻求参考
While this can help out extremely if you got the reference for the EDI transaction type (UTLHDR in your case), you can't do much if you don't. So check the Tradacoms syntax manual and ask for the reference
免责声明,我写了这个库.
更多推荐
TRADACOMS发票帮助(EDI发票)
发布评论