我有一个只返回AccountNo的函数CalcAvailableBalance(VAR AccountNo : Code[50])
。
我正在函数中执行计算,并且还希望在SOAP响应中返回这些值
当前
<Soap:Envelope>
<Soap:Body>
<CalcAvailableBalance_Result xmlns="urn:microsoft-dynamics-schemas/codeunit/MyCodeUnit">
<accountNo>002001411901</accountNo>
</CalcAvailableBalance_Result>
</Soap:Body>
</Soap:Envelope>
预期
<Soap:Envelope xmlns:Soap="http://schemas.xmlsoap.org/soap/envelope/">
<Soap:Body>
<CalcAvailableBalance_Result xmlns="urn:microsoft-dynamics-schemas/codeunit/MyCodeUnit">
<accountNo>002001411901</accountNo>
<accountBal>345555</accountBal>
<currency>UGX</currency>
</CalcAvailableBalance_Result>
</Soap:Body>
</Soap:Envelope>