project QadFinancials > class BPosting > method GetPostingLineRowidBasedOnPostingLineID

Description

Add method to retrieve the PostingLineRowid based on the ID


Parameters


iiPostingLineIDinputinteger
ocPostingLineRowidoutputcharacter
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BConsolid.AdditionalUpdatesPostingTaxAccount
method BYearClosing.AdditionalUpdatesPostingTaxAccount


program code (program6/bposting.p)

/* Get the posting */
find first tPostingLine where
           tPostingLine.PostingLine_ID = iiPostingLineID
           no-error.
if not available tPostingLine or
   tPostingLine.tc_Status = "D":U
then return.

/* Return the RowId */
assign ocPostingLineRowid = tPostingLine.tc_Rowid.