OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / SaveInvoice Method
A comprehensive Invoice object.



In This Topic
    SaveInvoice Method
    In This Topic
    Creates a new Invoice record, or updates an existing Invoice record.
    Syntax
    'Declaration
     
    
    Public Function SaveInvoice( _
       ByVal invoice As Invoice _
    ) As Invoice
    'Usage
     
    
    Dim instance As DataAccess
    Dim invoice As Invoice
    Dim value As Invoice
     
    value = instance.SaveInvoice(invoice)
    public Invoice SaveInvoice( 
       Invoice invoice
    )
    public:
    Invoice^ SaveInvoice( 
       Invoice^ invoice
    ) 

    Parameters

    invoice
    A comprehensive Invoice object.

    Return Value

    The exact comprehensive Invoice object that was persisted to the database.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also