Table of Contents

CreateReturnOrder Procedure

Codeunit WS Sales Document API

Creates a Sales Return Order.

Signature

CreateReturnOrder(SystemId: Text; SystemReferenceId: Text; SalesReturnOrder: XmlPort "QWESR WS S. Ret. Order Import") : Text

Parameters

SystemId Text

The code of the External System. This External System must be configured in BC.

SystemReferenceId Text

A unique external Id that identifies this return order in the External System.

SalesReturnOrder XmlPort "QWESR WS S. Ret. Order Import"

The data that is needed to create the Sales Return Order.

Returns

Text

The Document No. of the created document.

This documentation is generated from Spider v27.2