LedgerAccounts
Overview
In CloudBilling, if a Pricing Rule result contributes to the ledger entry, the rule is tagged with a Billing Output Tag (BOT). This BOT contains the ledger code, whether it is a credit or debit entry, and any other relevant information. For example, a pricing rule with a BOT “GL_Entry:12345;credit” indicates that the rule result is a credit entry in the ledger and the associated code is ‘12345’. All the ledger codes and ledger names in these BOTs are stored in the LedgerAccounts table in the dataset. Joining this table with the LineItems table can provide information on the ledger code and the ledger name associated with a LineItem.
Fields
| Name | Type | Description |
|---|---|---|
Key | Integer | The primary key - LedgerAccounts Table. |
Code | String | General Ledger Code. |
Name | String | General Ledger Code Name. |