Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0a0f5f6c

Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt

  • ID 0a0f5f6c969ba1edfec761992c28711ca6004567
  • Vorgänger eacebf8a
  • Nachfolger 246de3fc

Vorgangsbezeichnung in Dialogbuchungs-Vorlage: DB-Upgrade und Rose

Unterschiede anzeigen:

SL/DB/MetaSetup/RecordTemplate.pm
9 9
__PACKAGE__->meta->table('record_templates');
10 10

  
11 11
__PACKAGE__->meta->columns(
12
  ar_ap_chart_id => { type => 'integer' },
13
  cb_transaction => { type => 'boolean', default => 'false', not_null => 1 },
14
  currency_id    => { type => 'integer', not_null => 1 },
15
  customer_id    => { type => 'integer' },
16
  department_id  => { type => 'integer' },
17
  description    => { type => 'text' },
18
  direct_debit   => { type => 'boolean', default => 'false', not_null => 1 },
19
  employee_id    => { type => 'integer' },
20
  id             => { type => 'serial', not_null => 1 },
21
  itime          => { type => 'timestamp', default => 'now()', not_null => 1 },
22
  mtime          => { type => 'timestamp', default => 'now()', not_null => 1 },
23
  notes          => { type => 'text' },
24
  ob_transaction => { type => 'boolean', default => 'false', not_null => 1 },
25
  ordnumber      => { type => 'text' },
26
  payment_id     => { type => 'integer' },
27
  project_id     => { type => 'integer' },
28
  reference      => { type => 'text' },
29
  show_details   => { type => 'boolean', default => 'false', not_null => 1 },
30
  taxincluded    => { type => 'boolean', default => 'false', not_null => 1 },
31
  template_name  => { type => 'text', not_null => 1 },
32
  template_type  => { type => 'enum', check_in => [ 'ar_transaction', 'ap_transaction', 'gl_transaction' ], db_type => 'record_template_type', not_null => 1 },
33
  vendor_id      => { type => 'integer' },
12
  ar_ap_chart_id          => { type => 'integer' },
13
  cb_transaction          => { type => 'boolean', default => 'false', not_null => 1 },
14
  currency_id             => { type => 'integer', not_null => 1 },
15
  customer_id             => { type => 'integer' },
16
  department_id           => { type => 'integer' },
17
  description             => { type => 'text' },
18
  direct_debit            => { type => 'boolean', default => 'false', not_null => 1 },
19
  employee_id             => { type => 'integer' },
20
  id                      => { type => 'serial', not_null => 1 },
21
  itime                   => { type => 'timestamp', default => 'now()', not_null => 1 },
22
  mtime                   => { type => 'timestamp', default => 'now()', not_null => 1 },
23
  notes                   => { type => 'text' },
24
  ob_transaction          => { type => 'boolean', default => 'false', not_null => 1 },
25
  ordnumber               => { type => 'text' },
26
  payment_id              => { type => 'integer' },
27
  project_id              => { type => 'integer' },
28
  reference               => { type => 'text' },
29
  show_details            => { type => 'boolean', default => 'false', not_null => 1 },
30
  taxincluded             => { type => 'boolean', default => 'false', not_null => 1 },
31
  template_name           => { type => 'text', not_null => 1 },
32
  template_type           => { type => 'enum', check_in => [ 'ar_transaction', 'ap_transaction', 'gl_transaction' ], db_type => 'record_template_type', not_null => 1 },
33
  transaction_description => { type => 'text' },
34
  vendor_id               => { type => 'integer' },
34 35
);
35 36

  
36 37
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
sql/Pg-upgrade2/add_record_templates_transaction_description.sql
1
-- @tag: add_record_templates_transaction_description
2
-- @description: Vorgangsbezeichnung in Dialog-Vorlage ergänzen
3
-- @depends: release_3_5_8 create_record_template_tables
4

  
5
ALTER TABLE record_templates ADD COLUMN transaction_description TEXT;

Auch abrufbar als: Unified diff