int CSaleOrder::CommentsOrder( int ID, string Val );
The method CommentsOrder sets a new value (text) of the order COMMENTS field.
Parameter | Description |
---|---|
ID | The order ID. |
Val | The new comment text. |
Returns the order ID on success, or false otherwise.
<? if (!CSaleOrder::CommentsOrder(12, "Do not pay until paid!")) echo "Error setting the order comment"; ?>
© 2001-2005 Bitrix | Bitrix Site Manager |