Skip to content
Log in

Account Credit Ledger Object Reference

On this page

Overview

Acount Credit Ledger entries are a record of all the credit and debit entries against an Account Credit record.

Property Value
API Name s_c__Account_Credit_Ledger__c
Label Account Credit Ledger
Plural Label Account Credit Ledgers
Type Custom Object

Fields

Field Label API Name Type Required Description
Account Credit s_c__Account_Credit_Id__c MasterDetail (s_c__Account_Credit__c) No The Account Credit record that this Account Credit Ledger entry belongs to
Amount s_c__Amount__c Currency(18,2) Yes The value of this Account Credit Ledger entry
Contact s_c__Contact_Id__c Lookup (Contact) No The Contact that generated this Account Credit Ledger entry
Entry Type s_c__Entry_Type__c Picklist Yes Indicates what type of entry this is, either: Credit or Debit
Payment s_c__Payment_Id__c Lookup (s_c__Payment__c) No The Payment record that generated this Account Credit Ledger entry
StoreConnect External ID s_c__sC_Id__c Text(36) No StoreConnect External ID, do not modify in Salesforce

Relationships

Field Type Related Object Relationship Name
s_c__Account_Credit_Id__c MasterDetail s_c__Account_Credit__c Account_Credit_Ledgers
s_c__Contact_Id__c Lookup Contact Account_Credit_Ledgers
s_c__Payment_Id__c Lookup s_c__Payment__c Account_Credit_Ledgers

On the storefront

Storefront templates read this object through the AccountCreditTransaction Liquid object, written as account_credit_transaction in a theme.

Salesforce field Liquid attribute
s_c__Amount__c account_credit_transaction.amount
s_c__Entry_Type__c account_credit_transaction.type

Fields you add yourself are not listed above. Expose one with a Custom Data Mapping record, then read it from account_credit_transaction.data. See custom data fields in Liquid.

Was this article helpful?

Was this article helpful?