project QadFinancials > class BJournalEntry > method CheckIfThereIsSomethingInInstance

Description

check if there is any posting information in instance


Parameters


olPostingFoundoutputlogicalis there a posting ?
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BBankEntry.StopExternalInstances


program code (program7/bjournalentry.p)

assign olPostingFound = if can-find(first tPosting where
                                              tPosting.tc_Status <> "D":U)
                            then true
                            else false.