<<

NAME

Koha::Schema::Result::AqinvoiceAdjustment

TABLE: aqinvoice_adjustments

ACCESSORS

adjustment_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

primary key for adjustments

invoiceid

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

foreign key to link an adjustment to an invoice

adjustment

  data_type: 'decimal'
  is_nullable: 1
  size: [28,6]

amount of adjustment

reason

  data_type: 'varchar'
  is_nullable: 1
  size: 80

reason for adjustment defined by authorised values in ADJ_REASON category

note

  data_type: 'mediumtext'
  is_nullable: 1

text to explain adjustment

budget_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

optional link to budget to apply adjustment to

encumber_open

  data_type: 'smallint'
  default_value: 1
  is_nullable: 0

whether or not to encumber the funds when invoice is still open, 1 = yes, 0 = no

timestamp

  data_type: 'timestamp'
  datetime_undef_if_invalid: 1
  default_value: current_timestamp
  is_nullable: 0

timestamp of last adjustment to adjustment

PRIMARY KEY

RELATIONS

budget

Type: belongs_to

Related object: Koha::Schema::Result::Aqbudget

invoiceid

Type: belongs_to

Related object: Koha::Schema::Result::Aqinvoice

<<