Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1a95fe93

Von Tamino Steinert vor etwa 1 Monat hinzugefügt

  • ID 1a95fe934e81ad1f173641820697e9e54de069fd
  • Vorgänger 1f0fb5c0
  • Nachfolger bef56e29

S:D:File: Objekttype auf Type Enum setzen

Unterschiede anzeigen:

SL/DB/MetaSetup/File.pm
19 19
  mime_type     => { type => 'text', not_null => 1 },
20 20
  mtime         => { type => 'timestamp' },
21 21
  object_id     => { type => 'integer', not_null => 1 },
22
  object_type   => { type => 'text', not_null => 1 },
22
  object_type   => { type => 'enum', check_in => [ 'sales_quotation', 'sales_order', 'sales_order_intake', 'request_quotation', 'purchase_quotation_intake', 'purchase_order', 'purchase_order_confirmation', 'sales_delivery_order', 'supplier_delivery_order', 'purchase_delivery_order', 'rma_delivery_order', 'invoice', 'invoice_for_advance_payment', 'final_invoice', 'credit_note', 'purchase_invoice', 'sales_reclamation', 'purchase_reclamation', 'dunning', 'dunning1', 'dunning2', 'dunning3', 'dunning_orig_invoice', 'dunning_invoice', 'customer', 'vendor', 'gl_transaction', 'part', 'shop_image', 'draft', 'letter', 'project', 'statement' ], db_type => 'file_object_types', not_null => 1 },
23 23
  print_variant => { type => 'text' },
24 24
  source        => { type => 'text', not_null => 1 },
25 25
  title         => { type => 'varchar', length => 45 },

Auch abrufbar als: Unified diff