电子数据交换(EDI)

可译的

本页面介绍如何配置和管理与供应商的EDI通信。For the overall purchasing workflow including the steps required for creating orders (whether using EOD, ordering manually, etc.), see Purchasing Workflow.For a general overview see also Best Practice Toolkit: EDI.

要配置与供应商的EDI通讯,您必须具有以下角色:
  • 供应商经理

电子数据交换(EDI)是机构和供应商之间自动联系的方法。

文件数据应为EDI格式If it is not, the file will fail to load, but it will still be attached to the vendor record.In addition, it is strongly recommended to use the "Standard" naming convention as this has the PO number and Milliseconds in the file name to assure uniqueness.

EDI需要将文档放在特定目录中。文档会被发送给有EDI平台的书商,它是通过Alma自动输出到FTP,书商系统可以在FTP上抓取信息。供应商将文档保存在FTP上,Alma自动加载并分析。For more information, see Configuring S/FTP Connections

以下采访活动也是由已启用EDI的供应商完成:

  • 由Alma发送至供应商:
    • 订单(PO)
    • Claims – Claims sent to the vendor regarding missing items.如果供应商支持该功能,则催缺会通过EDI发送而不是电子邮件。EDI催缺可以处理单次和连续订单。不同于订单,每个EDI催缺消息都会包含单独的订单行催缺。
    • Order cancellations – For vendors that support this feature, cancellations are sent using EDI instead of by email.不同于订单,每个EDI取消消息包含单独的订单行取消。
  • 由供应商发送至Alma:
    • 发票
    • Order Responses: Shelf-Ready – These responses contain barcodes and other item information for delivered items.在收到订单响应后,Alma更新相关订单行。
      For more details about shelf-ready processing and Order Response EDI files, refer to the Shelf-Ready Processing using EDI video (1:49 mins).
    • 订单响应:订单报告 – 这些响应包含了订单的状态信息:是否发送、延期交货或取消,任何完成订单的问题,发送日期是否更改,等等。显然, 书商每日已发送订单报告.供应商和机构也可设置其他发送频率,例如每周,或者只有当订单出现问题才发送。
      当接收到EDI订单报告,报告概要会被作为备注添加至相关的采购订单行中。报告中的单册状态可说明某个订单行需要用户的额外关注。
    • Order Responses: Claim Responses – These responses are sent in response to claims sent from Alma.They appear in the Order Response Journal Claim section of the job report and the Notes tab of the relevant PO line.

管理EDI 任务页面包含包含 订购响应 的任务列表 ,这需要关注.See Managing EDI Order Responses.

为EDI通信创建的EDI文档基于EDI传输的国际标准,在录入Alma之前应与各个供应商协商一致。For a description of the EDI standards with which Alma operates, refer to https://developers.exlibrisgroup.com/alma/integrations/edi.

出于EDI通信的目的,Alma检索订单和订单行编号时区分大小写。Since normally PO line numbers are case-sensitive in Alma, multiple matches may be found during this search (for example,pol111 and POL111), in which case Alma will be unable to attach a PO line to the invoice.因此,请确保在使用EDI时这不会发生。
For a complete list of vendors that have successfully tested the EDI communication, see the Developer Network.EDI communication should work with any vendor that uses the EDI message types used by Alma, but the list only includes those that have been tested.

Configuring EDI for a Vendor

When configuring EDI communication with a vendor, in addition to the vendor EDI code and EDI type, you must also enter the EDI code and EDI type that the vendor uses for communication with your institution.当EDI加载后收到EOD时,你可以再次加载EDI。

It is also possible to add multiple distinct organizational units (the institution and/or individual libraries within it) to the EDI configuration of a single vendor.In order to do this, you specify distinct EDI codes for each organizational unit in the institution, that interacts directly with the vendor through EDI.这样做时,相同的供应商可用于链接到不同图书馆的EDI交易。The same FTP folders and connection settings are used, but different EDI codes are used for the various libraries (see Per Organization Unit EDI below).

EDI代码

If a vendor is defined as an EDI vendor for outgoing messages, all POs for all of that vendor's accounts are sent via EDI.POLs should have acquisition method "purchase" in order to be sent via EDI.If you want to use the same vendor to send non-EDI messages, you must define another, non-EDI vendor for them, and add the relevant accounts to the additional vendor.

要配置与供应商的EDI通信:
  1. On the Search Vendors page (Acquisitions > Acquisitions Infrastructure > Vendors) select a vendor.显示供应商详情页面。
  2. Select the EDI Information tab.
  3. 按需输入EDI信息。下表提供了字段描述。
    EDI信息选项卡字段
    部分字段描述
    供应商EDI属性EDI代码供应商对机构的唯一代码。
    输入EDI代码后,该选项卡的必填字段由红色星号标出且必须要保存页面之前完成。
    EDI类型Ex Libris预定义的列表。可以从以下选择:
    • 014 - EAN-13
    • 091 - 供应商分配的 ID
    • 092 - 客户分配的 ID
    • 31B - US-SAN
    EDI命名约定
    Ex Libris预定义的列表。You can choose Alma's standard file naming convention (Standard, which is the default), or one of the following vendor naming conventions:Ebsco,Ingram,Harrassowitz,Brodart.
    该选项定义输出文件名。
    • Standard creates the file name as edi.aaaaaa.YYYYMMDD.HHMMSS.MS.N.XXXXXX where aaaaaa is the normalized PO Number ("/" removed), N is a counter and XXXXXX is taken from the first six characters of the vendor account code.
      • 供应商帐户代码的前六位不应含有任何斜杠或点,否则会产生问题。
      • Proquest and YBP use the standard naming convention.
    • EBSCO creates the file name as CLAIMS.FIL.
    • Ingram creates the file name as HHmmSSSSXXX where the first 8 digits are taken from the computer's clock.剩余三个字符指消息类型:
      • epo - 订单
      • epc - OSTENQ(订单状态查询)
      • eph - ORDCHG(订单更改)
    • Harrassowitz creates the file name as YYYYMMDDHHMMSS.EDI_VENDOR_CODE_edi.XXXXXX.EDI_VENDOR_CODE 为EDI供应商代码,Z70-EDI-VENDOR_CODE,XXXXXX为消息类型:
      • ORDERS
      • OSTENQ - 订单状态查询
      • ORDCHG - 订单更改
    • Brodart creates the file name as YYYYMMDDHHMMSS.XXX.edi.orders with the date and time being taken from the computer's clock.例如,如果您在2011年9月13号15:31:33从供应商账户SWT_EDI发送文件,文件名为20110913153133.SWT.edi.orders - SWT为供应商EDI代码的前三位字符。
    EDI供应商格式选择:
    • Harrassowitz – Removes line feeds so that all information is provided on a single line.也可为类似Harrassowitz的供应商选择。
    • Baker & Taylor enriched – Includes enriched data that is customized for Baker & Taylor.GIR部分由两个单独字段包含图书馆和位置信息,即使订单行可能没有包含这些信息。
    • Baker & Taylor数据未完善 – 不包括GIR段。
    • ProQuest
    • Chinese Japanese Korean (CJK)- The CJK format of an EDI will create a "one line" EDI file (the regular EDI file has an EOL character at the end of each segment in addition to the "'" sign).
    • Yankee Book Peddler
    • EBSCO – If the PO Line is of type Physical Standing order, the location ID is fetched from the PO Line and the quantity is set per location.In all other cases, the location and quantity are not sent for Standing Order (SO) POL.
    如果您没有和其中一家供应商合作,选择其他。
     即将到来书商是否提交EDI文档,例如发票或者订购响应:Both invoice and Order Response files are processed by Alma after being placed in the directory specified in the Input directory field.两种文件类型由Alma的同一种服务抓取。
    上架就绪参数如果供应商提交订单响应,您可以设置额外参数来控制订单响应的处理流程。When this check box is selected, the fields Receive Items, Keep in Department, and Next Step appear.如果更改单册信息,例如条码或政策,这些也会在Alma中更新。
    接收单册将订单响应指定的单册设置为已接收。单册到达日期会随之更新为当前日期。
    部门内部保留If you selected Receive Item, select to indicate that further work is required before the material can be made available in a library.The step specified in Next Step is then applied to the item.For more information, see Receiving Physical Material.
    下一步该步骤应用于部门内部保留的单册(见上文)。For the available options, see Receiving Physical Material.
    发出
    订单是否启用供应商EDI订单。
    催缺是否启用供应商EDI催缺。设置后Alma不通过电子邮件发送催缺。
    订单取消是否启用供应商EDI取消。设置后Alma不通过电子邮件发送取消。
     EDI供应商备注字段

    When POs is selected in the Outgoing section, this list offers the following options that can be added to the Note To Vendor field of the ORDERS and CLAIMS EDI file:

    • 访问模型
    • 经费描述
    • 订单行类型
    • 接收备注
    • 紧急
    • 报告代码
    • 次级报告代码
    • 三级报告代码

    See Configuring EDI Vendor Note Fields.

    输入作业参数 – 作业计划中状态EDI通信是否 选择 有效 或 无效。By default, Active is selected.
    计划运行EDI作业的时间。
    仅与发票相关,与订单无关。
    To run the EDI job immediately (as soon as the Alma system can accommodate it), select Run Now to the right of the Schedule box.
    立即运行点击立即运行EDI。
    电子邮件通知配置EDI作业后由谁接收通知。打开已计划作业页面的电子邮件通知。For more information, see Configuring Email Notifications for Scheduled Jobs.
    输入作业参数 – 作业参数上传EDI要上传的EDI文档。To upload the file, select Add and Execute.
    从经费支出的增值税增值税是否会在已从经费支出的EDI发票中指定。The field Expended from Fund on the Invoice Details page remains selected.该字段默认选中。
    Clear to leave Expended from Fund on the Invoice Details page unselected.增值税按比例添加至每个单册发票。
    使用增值税代码选择此选项以在使用EDI时导入增值税代码。If your institution does not have the VAT Codes table populated (see Configuring VAT Codes), the field is disabled (see ).请注意,此复选框也用于Excel中的发票创建过程。
    Default VAT (New for February 2026)当使用增值税代码设置为true时出现。当输入文件中没有增值税代码的值,或者值与增值税代码表不匹配时,将使用增值税默认值(并设置为发票值)。Note that Default VAT  only applies to the invoice level.即使发票行级别中的增值税字段设置为true,也忽略默认增值税。
    增值税类型选择包含,不包含,行不包含。
    • Exclusive- The total price of the invoice excludes the VAT.增值税计算为总行数额 = 总额+增值税。所以,例如如果总发票额为100USD,且增值税为10%不包含,价格为100USD且VAT为10USD。总行数额为110USD。
    • Line Exclusive- The Total price of the invoice includes the VAT while the total line amount does not.Alma对每个发票行计算增值税并添加数额到行。
    • Inclusive- The total price of the invoice includes the VAT.增值税计算为总额 - (总额/(1+增值税百分比))。所以,例如,如果总额为100USD,且增值税为10%,增值税 = 100 - (100/(1.1))=9.9价格为90.1且增值税额为9.9。
    不分摊是否,当发票从EDI文件加载时,开销和折扣金额计入自己的发票行,而不是所有发票按比例分配。
    经费开销和折扣金额收取的经费。This field appears only when Do not prorate is selected.
    Internal copy (New for February 2026)如果为true,则为此供应商创建的发票将选中内部副本字段(意味着不会发送到ERP系统)。
    S/FTP连接
    这些设置应该与FTP服务器中的设置相匹配。
    S/FTP连接需姚对供应商FTP服务器的完整阅读和写入权限,否则测试(以及进程)会失败。
    描述EDI提交资料的一个可选说明。
    最大文件数未使用。接受默认值。
    最大文件尺寸未使用。接受默认值。
    服务器发送或接收文件的FTP服务器的IP地址。
    用户名FTP服务器用户名。
    端口如果连接不安全,使用FTP服务器的端口。通用 端口: 21.
    密码FTP服务器的密码。
    输入目录存储EDI文件的子目录名称。If you enter / (a forward slash), Alma searches for incoming files in the root directory.The default is /.
    供应商需要为每个机构定义一个输入目录。The input directory must be different to the output directory.Alma不会对此进行验证。In addition, "/" is not a supported character for this field.
    文档的最长路径信息,包括FTP根目录路径+文件名,为100个字符。 
    输出目录存储输出EDI文件的子目录名称。By default, Alma displays orders in this field. 

    输出目录必须和输入目录不同。

    When using a non-secure FTP, if you enter the “/” character, Alma places the EDI files in the root directory.When using a non-secure FTP, a directory name must be used, and it cannot start with “/”.For example, use directory_name/sub_directory_name  rather than /directory_name/sub_directory_name.

    文档的最长路径信息,包括FTP根目录路径+文件名,为100个字符。
    最大文件尺寸未使用。接受默认值。
    允许导航是否启用对FTP站点其他区域的访问。默认为允许导航(复选框选中)。
    FTP服务器安全如果FTP服务器安全则选择。The Authentication Method option appears when this option is selected.
    认证方式
    Appears if FTP Server Secured is enabled.选择以下内容:
    • Username/password authentication- Use a user name and password.
    • Key authentication(public key encryption) - When you select this, a public key appears.公钥用于验证从Alma收到的文件。选择此选项后,将删除密码字段。
    FTP模式用于发送输出EDI文件的模式,来自Ex Libris预定义的列表。
    • ASCII – Each EDI file includes many lines, one for each segment (default).
    • Binary – Each EDI file includes one long line.
    发送指令发送指令
    • Append – Does not overwrite a file on the FTP server if the existing file has the same name as the new file (default).
    • Put – Overwrites a file on the FTP server if the existing file has the same name as the new file.
    FTP被动模式客户端IP是否处于被动模式。
    测试FTP点击确认输入的S/FTP参数有效。如果数据无效,则在页面顶部显示错误消息。
    Per Organization Unit EDI 该部分中,您必须指定供应商用于机构EDI交易的的EDI代码。可选地,您可以对机构中的单个图书馆指定不同的用于EDI交易的EDI代码。
    Select Add Organization Unit, fill in the fields as explained below, and select Add to add the EDI details for the institution and/or each library.
    组织单位机构或其中的一个图书馆。
    EDI代码供应商对组织单元使用的代码。
    EDI类型EDI类型:
    • 014 - EAN-13
    • 091 - 供应商分配的 ID
    • 092 - 客户分配的 ID
    • 31B - US-SAN
    每个账户代码的EAN 这部分将EAN(信封地址的节点)代码映射到供应商帐户。Select Add EAN and fill in the fields.This affects outgoing purchase orders sent to the vendor and are populated in Alma's incoming invoices for the vendor account, if the input field in the incoming EDI invoice, RFF+API, is not empty. 
    帐户代码供应商帐户代码。
    EAN代码映射到先前选定的帐户代码的EAN代码。Select Add EAN to add the code.
    重试前FTP进程尝试连接到外部系统一分钟。失败前,此操作会尝试5次,每分钟递增。文档仍保留并在下次计划中处理。
  4. Select Save to store the information you entered.
对于使用定义的S/FTP连接的Alma,您必须允许FTP服务器访问Alma。For details, see Configuring Allowed S/FTP Connections During Testing.

See the Acquisitions customer parameter invoice_split_additional_charges for information on how additional charges are handled in EDI invoices.

监控EDI作业

The following role can monitor a vendor's EDI jobs:
  • 供应商经理
要监控EDI作业:

On the Search Vendors page, locate the vendor whose EDI jobs you want to monitor and select View history in the row actions list (available only for EDI-enabled vendors).显示监控作业页面。

For more information, see EDI Job Reports.

处理EDI文件

要处理EDI文件:
  1. On the Search Vendors page, locate the vendor whose EDI incoming files you want to edit, delete, download, or reload, or for which you want to view a report, and select View EDI files in the row actions list (available only for EDI-enabled vendors).
  2. 在附件页面,选择下列操作:
    • Edit – Add a file with a URL as an attachment to the EDI file.
    • Delete – Delete the EDI file from the list of files.
    • Download – Download the EDI file.
    • Reload – Reload the EDI file after confirming that the EOD was loaded.你必须确保EDI文件在EOD处理且EDI文档未找到任何输入匹配之前接收。When reloading an invoice EDI file, you receive a message that the invoice will be deleted.Select Yes to delete, or No to continue without deleting.
    • Report – View a report for the EDI file.

Managing EDI Order Responses

要管理EDI订单响应,你必须具有以下角色之一:
  • 采购经理
  • 采访操作员

You can manage EDI order responses of types Claim Responses or Order Report on the Manage EDI Tasks page (Acquisitions > Purchase Order Lines > Manage EDI Tasks).For Shelf-Ready order responses, see EDI Job Reports.

管理EDI报告页面

该页包含在最后一天收到订单响应的清单订单行。有两个选项卡:

  • Review – PO lines which require attention.For a list of the response types in this tab, see Response Types for Review.
  • All – All PO lines for which order responses were received.

你可以通过以下方式过滤订单行列表:

  • Response type – The status of the order at the vendor.
  • Response date – The message date from the response.通常,这是响应创建的日期,但可能是将来或过去的日期。

每个订单行显示的字段有:

  • Owner- This column, which is sortable, displays the owning library for each PO line.See also the note regarding owners for EDI.
  • Order Number – The PO line number; select to view the PO Line page.
  • Order Description – The PO line description; select to view the MARC Record Simple View page
  • 供应商 - (可排序的栏)选择查看供应商详情页面。
  • Response Summary – A free text summary of the order status
  • Response Type – The status of the order at the vendor
  • Ordered Items – The number of ordered items
  • Discrete Items – The number of ordered items, excluding multiple copies of the same items
  • Split Delivery Items – The number of items that were split into multiple deliveries
  • Dispatched Items – The number of dispatched items
  • Backordered Items – The number of backordered items
  • Pieces Delivered – The number of physical objects sent; for example, an encyclopedia might contain 30 physical books.
  • Expected Delivery – The expected delivery date

In the Review tab, you can perform the following tasks.

编辑订单行:

Select Edit PO Line in the row actions list.

显示采购订单行概要页面。

更改订单行预计日期:
  1. Select Update Expected Receipt Date in the row actions list.

    这是一条捷径,可以不用编辑整个订单行。显示对话框。

    更改预计发布日期对话框

     
  2. 输入新的预计发布日期,输入可选备注,然后选择保存并解除以解除任务,或选择保存以更改日期但保留任务。订单行和单册的预计收到日期更改。
取消订单行:

Select Cancel PO Line in the row actions list.

延期订单行:

Select Defer PO Line in the row actions list.

解除一个或更多通知:
  • To dismiss a single line, select Dismiss in the row actions list.
  • To dismiss several notifications at once, select the items, select Dismiss Selected from the drop-down list near the Execute button, and select Execute.
  • To dismiss all alerts, select Dismiss All from the drop-down list near the Execute button, and select Execute.
编辑单册:

Select Edit Resource in the row actions list.

这将把您带到相关编辑器页面。例如,对于纸本单册,将转到纸本单册编辑器页面。

复核的响应类型

The following table describes the response types in the Review tab.

响应类型
代码 描述
04 过早催缺,之后再催缺
07 从未出版
08 无此期号
09 停止出版
10 出版暂停,恢复时间未知
11 不可用,订阅已延期
16 部分满足
17 已发货,请重新检查
18 无现货,延期交货
19 超过可接受的催缺时限,该期可以订购
20 超过可接受的催缺时限,可作为卷的一部分订购
200 订单行未接受
201 定价查询:订单行未接受
202 折扣查询:订单行未接受
203 最小订单数额未达到:订单行未接受
21 由于频率更改,该期从未出版
22 单册不包含在订阅包中
220 取消的未结订单行:原因不明 - 报告未结订单行
221 未结订单行已取消:订单到期日期已过
222 由客户请求取消的未结订单行 - 响应订单取消,报告未结订单行
223 未结订单行取消,无法提供
23 该期不包含在订阅期限内
26 无付款记录,提供订单号和付款证明
27 无订单记录,提供订单信息
28 不是我们的出版物
29 不再是我们的出版物
30 催缺的数量超过了订购的数量
31 停止发货,需要额外的付款
32 催缺复核中,之后会手动响应
406 我们的供应商发货数量不足,已重订
407 我们的供应商发送了受损的单册,已重订
408 我们的供应商发送了缺损单册,已重订
409 我们的供应商无法追踪订单,已重订
900 无法追踪订单行
AB 出版物已废弃(被出版商取消)
AD 直接应用:单册无法交易
AU 出版商地址未知
CS 状态不确定:请咨询客服
HK 平装本已绝版:有精装本
NN 我们不提供该单册
NP 尚未出版 - DTM segment 44中有预计的可用日期
NQ 无货
NS 不单独出售
OB 暂时无现货(批发商或书商处) - DTM segment 44中有预计的可用日期
OP 绝版
PK 精装本已绝版:有平装本
PN 出版商不再运营
RE 等待补发 - DTM segment 44中有预计的可用日期
RP 重印 - DTM segment 44中有预计的可用日期
RR 版权受限(无法在该市场中供货)
SD 已售(二手或古玩项目的单一复本)
SN 我们的供应商无法追踪
SO 成套不可用:只能作为单一单册
ST 盘点:暂时不可用
TU 暂时不可用,原因不明 - DTM segment 44中有预计的可用日期
UB 单册无法从供应商处获得
UC 不可用;可能或者不可能再次可用(“重印考虑中”)