project QadFinancials > class BPosting > method GetPostingIDBasedOnPostingRowid
Description
Get the Posting_ID based on the posting-rowid. This convertion is done on the instance-data; this functionality will only work for loaded are newly added instances.
Parameters
icPostingRowid | input | character | Rowid of the posting |
oiPostingID | output | integer | PostingID |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program6/bposting.p)
/* =============== */
/* get the posting */
/* =============== */
find first tPosting where
tPosting.tc_Rowid = icPostingRowid
no-error.
if not available tPosting or
tPosting.tc_Status = "D":U
then return.
/* ======================= */
/* Return the ID */
/* ======================= */
assign oiPostingID = tPosting.Posting_ID.