Description
This method provides copy of data used by instance
Parameters
Internal usage
QadFinancials
program code (program4/bposting.p)
/* ====================================================================================== *
* Method : GetInstanceData *
* Description : This method returns data of the component *
* -------------------------------------------------------------------------------------- *
* Parameters : *
* ====================================================================================== */
assign oiReturnStatus = -98
viLocalReturn = 0.
MAIN_BLOCK:
do on error undo, return:
/* Copy instance data into REF tables */
empty temp-table tApiPosting.
empty temp-table tApiPostingLine.
temp-table tApiPosting:handle:copy-temp-table(temp-table tPosting:handle).
temp-table tApiPostingLine:handle:copy-temp-table(temp-table tPostingLine:handle).
end. /* MAIN_BLOCK */
assign oiReturnStatus = viLocalReturn.