天天看點

“業務編碼”的全部有效片段必須有一個值

問題點:AR接口開票時報錯,英文報錯

All enabled segments of Transaction Flexfield must have a value

中文報錯:

“業務編碼”的全部有效片段必須有一個值

消息文本:AR_RAXTRX-1664

meatlink:

    All enabled segments of Transaction Flexfield must have a value.    This error is raised when you do not provide the complete set of segments associated with the context you specified in the interface lines table.

Review the interface table to identify with interface_line_id is raising such an error. Use the value in INTERFACE_LINE_CONTEXT to run a query in the form:

Responsibility: Receivables Manger

Navigation: Setup > Financials > Flexfields > Descriptive > Segments

Query on Title = Line Transaction Flexfield

Navigate to the Context Field Values of the form, and in the Context field, locate the record with the value that matches INTERFACE_LINE_CONTEXT above.

Then click on Segments, paying attention to which segments are enabled, then make sure these same segments are provided in the Interface table.    Note 1077555.1 Troubleshooting Transaction Flexfields in AutoInvoice (Step 1d)

意思就是INTERFACE_LINE_ATTRIBUTE1 - 15可能都需要有值 ,可找個現有的發票行彈性欄位看下,接口裡INTERFACE_LINE_ATTRIBUTE15空的,給了一個0 ,再跑接口請求就ok了