on ‎2014 May 09 6:45 AM
Greetings,
Just doing some development and I am aware of how to create quotations and orders as well but this time, it seems that I keep running into a strange error, error from which I cannot go forward.
I do call the right parameters and the order is saved but it is rolled back after the creation of the SD order.
The error that I'm still getting is this:
[3] => Array
(
[TYPE] => W
[ID] => V1
[NUMBER] => 555
[MESSAGE] => The sales document is not yet complete: Edit data
[LOG_NO] =>
[LOG_MSG_NO] => 0
[MESSAGE_V1] => VBAPKOM
[MESSAGE_V2] => 000010
[MESSAGE_V3] =>
[MESSAGE_V4] =>
[PARAMETER] => VBUVKOM
[ROW] => 0
[FIELD] =>
[SYSTEM] => DEVCLNT200
)
You can see my request and my response in the attached screenshots.
Request clarification before answering.
Got it solved, I did call in the Header INX two lines.
$ORDER_HEADER_INX['UPDATEFLAG'] = 'I';
$ORDER_HEADER_INX['PURCH_NO_C'] = (string) $oferta;
Took out these two lines and everything started to work without problems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 24 | |
| 12 | |
| 11 | |
| 10 | |
| 6 | |
| 5 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.