Skip to Content
author's profile photo Former Member
Former Member

Crating a invoice via SDK (linking delivery document)

Hello boys.

I have a due. I'm not sure if i can create an invoice with SDK relating one or more delivery in the invoice. In SBO you can do it, but i'd like to replicate it via SDK.

Thanks

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 03, 2004 at 12:10 PM

    You can create Invoices based on one or more delivery note lines.

    To do it you need to set the following properties on the invoice lines:-

    sboInvoice.Lines.BaseType = "15"

    sboInvoice.Lines.BaseEntry = <DocEntry from Delivery>

    sboInvoice.Lines.BaseLine = <LineNum from Delivery>

    Regards,

    John

    Add comment
    10|10000 characters needed characters exceeded