(cls, case, xform)
return cls._from_form(
            case,
            xform,
            transaction_type=CaseTransaction.TYPE_LEDGER | CaseTransaction.TYPE_FORM
        )
Get or create a ledger transaction for a the given form and case.
Get or create a ledger transaction for a the given form and case.
Get or create a ledger transaction for a the given form and case .
def ledger_transaction(cls, case, xform):
        """Get or create a ledger transaction for a the given form and case.
        """
        return cls._from_form(
            case,
            xform,
            transaction_type=CaseTransaction.TYPE_LEDGER | CaseTransaction.TYPE_FORM
        )
def ledger_transaction ( cls , case , xform ) : return cls . _from_form ( case , xform , transaction_type = CaseTransaction . TYPE_LEDGER | CaseTransaction . TYPE_FORM )