Table of Contents

CreateOrder Procedure

Codeunit WS Sales Document API

Creates a Sales Order.

Signature

CreateOrder(SystemId: Text; SystemReferenceId: Text; SalesOrder: XmlPort "QWESR WS Sales 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 order in the External System.

SalesOrder XmlPort "QWESR WS Sales Order Import"

The data that is needed to create the Sales Order.

Returns

Text

The Document No. of the created document.

This documentation is generated from Spider v27.2