project QadFinancials > class BCInvoice > method ApiStdMaintainTTDefaulting

Description

This method is called when creating an invoice through an API. It is used to default field values to the incoming dataset prior to validation and saving.


Parameters


oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BCInvoice.ApiStdMaintainTTWithExtPost
method BCInvoice.ApiStdMaintainTTWithIntPost


program code (program9/bcinvoice.p)

    
    /* ===================================================================== */
    /* Notes:                                                                */
    /*  No records are available at the moment this method is entered        */
    /*  The records that need to be extended are the t-tables (eg tCInvoice) */
    /* ===================================================================== */