[案例] Tesla X12 856 提前发货通知报文详解

在收到特斯拉(Tesla)的862 交付计划EDI报文后,供应商需按要求出货。出货时,需要将本次的出货信息,例如出货单号,装箱信息,装柜信息,物料信息等通过856发货通知EDI报文,发送给特斯拉,特斯拉会根据856报文内容进行收货。若是856报文内容和实际发货信息不符,就会影响特斯拉收货,以及后续的发票结算。

如果发出的856报文内容有误,特斯拉会通过824消息将错误及时反馈给供应商。从824报文中可以看出具体的错误信息,如果想要详细了解824报文,请点击“如何根据824报文查看错误信息”查看详情。供应商收到824消息后,需要修改856内容,重新发送给特斯拉。

856发货通知EDI报文中包含以下业务数据:

  • Purpose code,交易代码
  • Packing slip number,发货通知号码
  • Create date,发货日期及时间
  • Package code,包装类型编码
  • Lading quantity,提货数量
  • weight,重量
  • Measurement code,重量单位
  • Volume,体积
  • unit of Volume,体积单位
  • Standard Carrier Alpha Code (SCAC),SCAC code
  • Transportation Method,运输方式
  • Carrier’s Reference Number (PRO/Invoice),发票号
  • Bill of Lading Number,提单号
  • Shipped date,发货日期
  • Delivered date,交付日期
  • Ship to name,收货地名称
  • Ship to code ,the tesla plant code,收货地ID
  • Ship to city,收货地城市
  • Ship to state or Province,收货地省份/州
  • Ship to Postal code,收货地邮编
  • Ship from name,发货地名称
  • Ship from code ,the tesla plant code,发货地ID,特斯拉工厂Code
  • Ship From Addr,发货地地址
  • Ship From city,发货地城市
  • Ship From state or Province,发货地省份/州
  • Ship From Postal code,发货地邮编
  • Purchase order number,采购订单号
  • purchase order date,采购订单日期
  • Marks and Numbers,Mandatory if material is packed on a pallet,托盘号码,海运需要使用托盘
  • Marks and Numbers,Mandatory if material is packed in a box,包装箱号码
  • PO Line Item Number,PO明细行号
  • Tesla’s Part Number,特斯拉产品编号
  • U.P.C. Consumer Package Code,U.P.C Code
  • Numeric value of units shipped in manufacturer’s shipping units,出货数量
  • Unit or Basis for Measurement Code,包装单位
  • Lot Number,批次号

其中,交易代码(Purpose code)包含以下三种情况:
- 00 Original:原始发货通知,也就是表示一个新的发货通知,一般默认使用该值
- 01 Cancellation,表示取消,取消一个已发出的发货通知
- 05 Replace,表示替换,替换已有的发货通知,一般收到824错误通知后,重新发出修正后的856时使用该值

包装类型编码(Package code)包含以下三种类型:
- CTN Carton,表示纸箱包装
- LSE Loose,表示散装
- PLT Pallet,表示托盘包装

需要注意的是,PO明细行号(PO Line Item Number)的值是来源于特斯拉发送的862报文中的明细行号(Line item number),二者的值需要一致,否则,856可能会被特斯拉判定错误,要求重发。

要生成856 EDI报文,较为复杂的部分在于包装方式的区分,不同的包装方式需要对应不同的EDI报文结构。包装方式一般分为以下几种:
1. 整托包装:托盘上放有箱子,所有箱子中装的同种物料。例如:托盘A上装有16个相同规格的箱子,所有箱子中都装的物料1。
2. 混托包装:托盘上放有箱子,但不同的箱子装的是不同种物料。例如:托盘B上装有16个不同规格的箱子,其中,6个箱子中装的物料1,另外10个箱子中装的物料2。
3. 散箱包装:零散的箱子,没有放置在托盘上。例如:现在有18个箱子,16个箱子放置在托盘A上,剩余两个箱子无法装满一个托盘,此时,剩余的2箱就是散箱。

报文结构解析

在856发货通知EDI报文中,具体的包装类型,可以从HL节点的结构中看出。以以下一段报文为例:

从这段报文中我们可以看出,有多个HL节点,每行HL节点的最后一个值都不同,该值有以下几种情况:
- S:Shipment,表示一次发货
- O:Order,表示一个订单
- T:Tare,表示托盘
- P:Package,表示箱子
- I:Item,表示物料
一个S(Shipment)下会有多个O(Order),也就是一次发货可以发多个订单;
一个O(Order)下会有多个T(Tare),也就是一个订单可以装多个托盘;
一个T(Tare)下面会有多个P(Package),也就是一个托盘可以有多个箱子;
一个P(Package)下面会有多个I(Item),也就是一个箱子中可以包含多种物料

Shipment层和Order层我们不用多说,这两部分关系比较简单,重点在于,Tare,Package和Item的不同次序实际会体现出不同的包装,依然以以上一段报文为例,我们可以看到T/P/I的两种结构:

  1. T-P-I-P-I
  2. T-I

首先先说第一种,T-P-I-P-I,这表示托盘5J0001111111111110000000381中包含有两个箱子,箱子1J0001111111111110000000382中所装物料为1222222-00-G,箱子1J0001111111111110000000383所装物料为16666666-00-G。这种情况是混托时出现的结构。
对于第二种结构T-I:这表示托盘6J0001111111111110000000350上只装了一种物料13333333-01-B。这种情况是整托时出现的结构。

报文转换过程

由于原始EDI报文可读性较差,部分供应商客户要求将原始EDI报文和可读性较高的文件格式,例如XML,Excel等之间可以相互转换,也有一些供应商客户有自己的业务系统,期望EDI平台能够和自己的业务系统集成,使EDI的数据能够和业务系统相通,并展示在业务系统界面上,便于业务人员操作管理。知行EDI可以通过定制化开发来解决这类问题。

此处以集成ERP系统为例,向大家解释整体的业务工作流。

首先,业务人员在ERP系统界面上维护好发货数据以后,ERP系统需要将数据写入856发货通知中间表中。知行EDI平台数据库端口会从856发货通知中间表中获取待发送的发货通知数据,生成数据库XML文件,并将文件转发至XML Map端口中,再通过XML Map端口完成数据库XML与标准XML的关系映射,生成标准XML文件,并转发至X12端口。在X12端口中通过配置,将标准XML文件转换为856 EDI标准报文,最后通过AS2端口发送给特斯拉。

在特斯拉(Tesla)项目中,除了856(提前发货通知),还有830(长期交付预测),862(短期交付计划), 810(发票)和824(错误反馈通知)等EDI报文,如果想要了解其他EDI报文,可以点击以下链接直达:

了解更多EDI,请您电话 150-0298-3180 / 177-8250-8152 或邮件 edi@kasoftware.cn 联系我们,获取 30 天全功能 免费试用 版本EDI软件。
标签: , , , ,
文章分类 ansi x12, edi 电子数据交换, EDI实施案例, edi方案工作流, share 知识分享, 动态
20 条评论在 “[案例] Tesla X12 856 提前发货通知报文详解” 上
  1. Hello, i think that i saw you visited my website so i came to “return the favor”.I am attempting
    to find things to enhance my web site!I suppose its ok to use some of
    your ideas!!

  2. Remarkable things here. I am very happy to peer
    your post. Thank you so much and I am having a look ahead to touch you.
    Will you kindly drop me a mail?

  3. black mass说道:

    Very quickly this site will be famous among all blogging and site-building people, due to it’s nice articles or reviews

  4. black mass说道:

    Just desire to say your article is as astounding. The clarity on your submit is just great and that i can think you’re an expert on this subject.
    Fine along with your permission allow me to snatch your RSS feed to
    stay up to date with imminent post. Thank you a million and please continue
    the gratifying work.

  5. cheap flights说道:

    I was curious if you ever considered changing the structure of your website?
    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people
    could connect with it better. Youve got an awful lot of
    text for only having 1 or two pictures. Maybe you could space it out better?

  6. cheap flights说道:

    I’ll immediately take hold of your rss as I can’t in finding your e-mail subscription hyperlink or
    e-newsletter service. Do you’ve any? Kindly permit me
    recognize in order that I may subscribe. Thanks.

  7. cheap flights说道:

    Hi there, this weekend is nice designed for me, because this point in time i am reading this great informative
    post here at my home.

  8. cheap flights说道:

    Hi, i read your blog from time to time and i own a similar one and i was just curious if
    you get a lot of spam comments? If so how do
    you stop it, any plugin or anything you can advise?
    I get so much lately it’s driving me crazy so any assistance is very much
    appreciated. cheap flights 3gqLYTc

  9. cheap flights说道:

    Hello there! I could have sworn I’ve been to your blog before but after looking at a few
    of the posts I realized it’s new to me. Regardless, I’m definitely delighted
    I found it and I’ll be book-marking it and checking back frequently!
    2CSYEon cheap flights

  10. cheap flights说道:

    Good way of explaining, and fastidious article to
    obtain facts on the topic of my presentation subject,
    which i am going to present in academy. 32hvAj4 cheap flights

  11. Hi Dear, are you actually visiting this website daily, if so then you will definitely obtain pleasant know-how.

  12. cheap flights说道:

    Wonderful post but I was wondering if you could write a litte more on this subject?
    I’d be very thankful if you could elaborate a little bit more.
    Thanks! cheap flights 2CSYEon

  13. cheap flights说道:

    Thanks for sharing such a nice thinking, article is nice, thats why i
    have read it completely cheap flights 3aN8IMa

  14. cheap flights说道:

    Pretty nice post. I just stumbled upon your weblog and wished to say that I’ve really enjoyed surfing around your blog posts.
    After all I’ll be subscribing to your rss feed and I hope you write again very soon!

  15. cheap flights说道:

    hey there and thank you for your info – I have certainly picked up something new from right here.
    I did however expertise several technical issues using this
    site, since I experienced to reload the site lots of times previous to
    I could get it to load correctly. I had been wondering if your hosting is OK?
    Not that I am complaining, but slow loading instances times will very frequently affect your placement in google and could damage your high-quality score if
    ads and marketing with Adwords. Well I’m adding this
    RSS to my email and can look out for much more of your respective fascinating
    content. Ensure that you update this again very soon.

  16. Hello there! I could have sworn I’ve been to this blog before but after reading
    through some of the post I realized it’s new to me.
    Anyhow, I’m definitely delighted I found it and I’ll be book-marking and checking back frequently!

  17. content hosting说道:

    We stumbled over here coming from a different page and thought
    I might check things out. I like what I see so now i’m following you.
    Look forward to looking into your web page for a second time.

  18. I really love your blog.. Excellent colors & theme. Did
    you create this site yourself? Please reply back as I’m attempting to create
    my own personal blog and would love to find out where you got this from or just what the theme is called.
    Thanks!

  19. I like the valuable information you supply to your articles.
    I will bookmark your weblog and check again here regularly.
    I’m fairly sure I will be told many new stuff
    right right here! Best of luck for the next! adreamoftrains website host

  20. web hosting说道:

    Oh my goodness! Incredible article dude! Thank you so much, However I am going through troubles with your RSS.
    I don’t know why I can’t join it. Is there anybody having similar RSS issues?

    Anybody who knows the answer can you kindly respond? Thanks!!

1 Pings/Trackbacks 对 "[案例] Tesla X12 856 提前发货通知报文详解"
  1. buy viagra说道:

    buy viagra

    WALCOME

发表评论

电子邮件地址不会被公开。

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">