EDI creates invoice line items for closed orders
- Article Type: General
- Product: Aleph
- Product Version: 18.01
Description:
In testing EDI with SWETS, Aleph allowed a line item to be created for an order with a status of VC (vendor closed). We don't want any orders with a closed status (CLS=closed, VC=vendor closed or LC= library closed) to be posted. How can we prevent this?
Resolution:
There is no way to prevent the loading of line items where the order status is closed. However, all such line items are logged as the EDI invoice is processed. If the Z68-ORDER-STATUS is "CLS", "LC", "VC" OR "CNB", a Z74 record is created for it that indicates the situation. Here is an example record from Z74:
Z74_REC_KEY: 000000009000004
Z74_TYPE: W
Z74_REC_KEY_2: 00074077100201
Z74_REC_KEY_3: SWETSBLACK 5200041797 00000
Z74_ITEM_SEQUENCE: 0
Z74_COPY_SEQUENCE: 0
Z74_MESSAGE_NUMBER: 1
Z74_LOG_TEXT: Loaded invoice line in General-invoice-number SWETSBLACK 5200041797 for Order-number 000740771-00201 from Vendor-code SWETSBLACK but Order-status is VC.
- Article last edited: 10/8/2013