点击此处---> 群内免费提供SAP练习系统(在群公告中)
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
你好
有时候我想使用ORTT表中的汇率。
当我在DocumentLines发送美元汇率时,出现错误。
(发送欧元汇率时我没有收到错误。)
您有解决方案吗?
请求:
https://ip:50000/b1s/v1/发票
{" CardCode":" C000000162"," CardName":"客户名称"," DocCurrency":" TRY"," DocRate":" 1"," BPLId":" 165"," DocDate":" 2019-11-15"," DocDueDate":" 2019-12-30"," TaxDate":" 2019-11-15"," Comments":""," DiscPrcnt":" 0"," DocStatus": " O"," GroupNum":" 45"," DocumentLines":[{" ItemCode":" HZM10000"," Quantity":" 1"," Price":" 100"," Currency":" USD", " Rate":" 6"," DiscPrcnt":" 0"," VatGroup":" S01"," TotalSumSy":" 100"," UomCode":" piece"}]}
响应:
{"错误":{"代码":-10,"消息":{" lang":" zh-cn","值":"行中的费率应与文档费率匹配。"}}}
最好的问候
Ahmet Pehlivan
您的业务伙伴有欧元货币。 因此,当您以美元传递货币时,会给它错误。您的业务伙伴货币自动出现在交易凭证上,并且根据交易凭证货币,您可以在行级别传递货币。
业务伙伴拥有货币 =所有货币
嗨Ahmet,
请将BP的货币设置为所有货币。
Johan
嗨Ahmet,
再次,我建议在B1客户端中手动测试该原理。 这将告诉您在B1系统中是否可行。 如果可以的话,您可以在您的应用程序中对其进行测试。
致谢
Johan
一周热门 更多>