---
name: "LedgerSMB::File::Transaction"
section: "3pm"
platform: "linux"
package: "ledgersmb"
version: "1.3.40-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/LedgerSMB::File::Transaction"
---

# LedgerSMB::File::Transaction(3pm)

Manages attachments to financial transactions.

## NAME

LedgerSMB::File::Transaction - Manages attachments to financial transactions.

## SYNOPSIS

Manages attachments to financial transactions (in 1.3, AR, AP, and GL entries)

## INHERITS

- LedgerSMB::File

  Provides all properties and accessors.  This subclass provides additional  methods only

## METHODS

- attach(\[{no\_commit =\> bool}\])

  Attaches or links a specific file to the given transaction.

- attach\_all\_from\_order({id = int})

  Links all files to a specific transaction from a specific order.  Note this  only handles files that were attached to orders to start with.

## COPYRIGHT

Copyright (C) 2011 The LedgerSMB Core Team

This file is licensed under the Gnu General Public License version 2, or at your option any later version.  A copy of the license should have been included with your software.
