Skip to Content
avatar image
Former Member

Error creating a customer invoice with sdk....

Good afternoon,

I need your help, I have a C # application that saves customer invoices in SAP using xml (the application runs normal with the SDK), but when I want to burn a sales document with some articles I skip this error:

"It is not possible to add a line without the complete selection of serial / lot numbers".

these articles have configured series and lots, but I do not get that add to my xml so that it creates the invoice.

I have tried it with others, and the sale runs. attached my xml.

Greetings.

untitled2.png (25.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 03, 2017 at 03:30 PM

    Hi Jesus,

    You need to include the details about Serial Numbers in below format:

    <SerialNumbers>
          <row>
            <ManufacturerSerialNumber></ManufacturerSerialNumber>
            <InternalSerialNumber>A6-000283</InternalSerialNumber>
            <ReceptionDate>20070206</ReceptionDate>
            <Location></Location>
            <Notes></Notes>
            <BatchID></BatchID>
            <SystemSerialNumber>283</SystemSerialNumber>
            <BaseLineNumber>0</BaseLineNumber>
            <Quantity>1.000000</Quantity>
          </row>
        </SerialNumbers>
    

    Kind regards,

    ANKIT CHAUHAN

    SAP SME Support

    Add comment
    10|10000 characters needed characters exceeded