Query the Prepaid with Drawdown objects through Data Query
Learn how to query Prepaid Balance, Prepaid Balance Fund, and Prepaid Balance Transaction objects using SQL examples through Data Query.
You can perform queries on the Prepaid Balance, Prepaid Balance Fund, Prepaid Balance Transaction objects through the Data Query.
SQL examples for querying the Prepaid with Drawdown objects
To query the Prepaid with Drawdown objects, you can use the following SQL examples:
-
Query the Prepaid Balance object by using the
OrigSubscriptionIdfield:select Id,Name,Balance,TotalFund,StartDate,EndDate,OrigSubscriptionId,UOM from prepaidbalance where OrigSubscriptionId='402881847e2d707b017e2d76c48a0016'
-
Query the Prepaid Balance object by using the
Namefield:select Id,Name,TotalFund,Balance,UOM from prepaidbalance where Name ='A-S00000037_Each'
-
Query the Prepaid Balance Fund object by using the
PrepaidBalanceIdfield:select id,PrepaidBalanceId,FundedBalance,Balance,StartDate,EndDate,FundSourceType from prepaidbalancefund where PrepaidBalanceId='402881847e2d707b017e2d76c8ae002f'
-
Query the Prepaid Balance Transaction object by using the
FundIdfield:select id,PrepaidBalanceId,FundId,Amount,Balance,TransactionDate,PrepaidBalanceTransactionType from PrepaidBalanceTransaction where FundId='402881847e2d707b017e2d76c8b80030'