transactions.transactionNumberToTransactionID
Description
Get a transaction ID from a transaction number.

Parameters
transactionNumber number

Return value
transactionID number (< 1 if not found)

Example
local transactionID = transactions.transactionNumberToTransactionID(2000)
if(invoiceID < 1) then
    print("Transaction not found")
else
    print("Transaction ID: " .. transactionID)
end

Comments

See also
transactionIDToTransactionNumber

Back
Generated on the 26 June 2024 at 22:01:29 (UK Time)