OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / MarkInvoiceTransferred Method
The unique identifier of the Invoice as a Guid.
Indicates if the given Invoice has been exported or transferred.



In This Topic
    MarkInvoiceTransferred Method
    In This Topic
    Updates the export or transfer status of an existing Invoice record relative to this extension.
    Syntax
    'Declaration
     
    
    Public Function MarkInvoiceTransferred( _
       ByVal invoiceID As Guid, _
       ByVal transferred As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As DataAccess
    Dim invoiceID As Guid
    Dim transferred As Boolean
    Dim value As Boolean
     
    value = instance.MarkInvoiceTransferred(invoiceID, transferred)
    public bool MarkInvoiceTransferred( 
       Guid invoiceID,
       bool transferred
    )
    public:
    bool MarkInvoiceTransferred( 
       Guid invoiceID,
       bool transferred
    ) 

    Parameters

    invoiceID
    The unique identifier of the Invoice as a Guid.
    transferred
    Indicates if the given Invoice has been exported or transferred.

    Return Value

    Returns true if the Invoice record was successfully updated. Otherwise, returns false.
    Remarks
    If shown, the given transferred value is reflected visually in the export grid column assigned to this extension.
    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