project QadFinancials > class BPosting > method GetPostingLineRowidBasedOnPostingLineID
Description
Add method to retrieve the PostingLineRowid based on the ID
Parameters
iiPostingLineID | input | integer | |
ocPostingLineRowid | output | character | |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
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.