Parameters
| oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program1/bmfgcustomer.p)
/* ====================================================================================== *
* Method : CloseExternalInstances *
* Description : This method is used to close opened instances of the related components *
* -------------------------------------------------------------------------------------- *
* Parameters : *
* ====================================================================================== */
MAIN_BLOCK:
do on error undo, return:
assign oiReturnStatus = -98
viLocalReturnStatus = 0.
/* ================================================================= *
* BMfgAddress component *
* ================================================================= */
if vlIsBMfgAddrOpHrBMfgCu and
valid-handle(vhBMfgAddressInst)
then do:
<I-57 {bFcCloseInstance
&CLASS = "BMfgAddress"}>
assign vlIsBMfgAddrOpHrBMfgCu = false.
end.
/* ================================================================= *
* BMfgAddress component *
* ================================================================= */
if vlIsBMfgAddrLstOpHrBMfgCu and
valid-handle(vhBMfgAddressListDetailInst)
then do:
<I-13 {bFcCloseInstance
&CLASS = "BMfgAddressListDetail"}>
assign vlIsBMfgAddrLstOpHrBMfgCu = false.
end.
end. /* MAIN_BLOCK */
assign oiReturnStatus = viLocalReturnStatus.