Creating Delivery via web services, based on a Order

I am trying to create a Delivery via web services, and have it attached to an existing Order.  The order has been allocated, and ready for Delivery creation.

I created a simple object web service using the SDH object.

I am sending the order # in the header level (SDH0_1) and line level (SDH1_4), but the resulting Delivery has no order attached to it.  Even if I send a bad Order #, it still worked the same.

The Delivery gets created with no problem, but it never attaches itself to the Order.

Request...

<PARAM>

                <GRP ID="SDH0_1">

                                …

                                <FLD NAME="SDHNUM" TYPE="Char"></FLD>

                                <FLD NAME="SOHNUM" TYPE="Char">SONNA012/0058</FLD>

                </GRP>

                <TAB DIM="300" ID="SDH1_4" SIZE="1">

                                <LIN NUM="1">

                                                <FLD NAME="ITMREF" TYPE="Char">FIN901</FLD>

                                                <FLD NAME="QTY" TYPE="Decimal">2</FLD>

                                                …

                                                <FLD NAME="XSOHNUM" TYPE="Char">SONNA012/0058</FLD>

                                                <FLD NAME="VCRNUMORI" TYPE="Char">SONNA012/0058</FLD>

                                                <FLD MENULAB="Normal" MENULOCAL="423" NAME="LINTYP" TYPE="Integer">1</FLD>

                                </LIN>

                </TAB>

</PARAM>

 

But the resulting Delivery created does not show the Order #…

<RESULT>

                <GRP ID="SDH0_1">

                                …

                                <FLD NAME="SDHNUM" TYPE="Char">SHPNA0120064</FLD>

                                <FLD NAME="SOHNUM" TYPE="Char"></FLD>

                </GRP>

                <TAB DIM="300" ID="SDH1_4" SIZE="1">

                                <LIN NUM="1">

                                                <FLD NAME="ITMREF" TYPE="Char">FIN901</FLD>

                                                <FLD NAME="QTY" TYPE="Decimal">2</FLD>

                                                …

                                                <FLD NAME="XSOHNUM" TYPE="Char"></FLD>

                                                <FLD NAME="VCRNUMORI" TYPE="Char"></FLD>

                                                <FLD MENULAB="Normal" MENULOCAL="423" NAME="LINTYP" TYPE="Integer">1</FLD>

                                                <FLD NAME="SDDLIN" TYPE="Integer">1000</FLD>

                                </LIN>

                </TAB>

</RESULT>


Anyone have a clue on what I am missing?