View | Details | Raw Unified | Return to bug 41020
Collapse All | Expand All

(-)a/Koha/Schema/Result/FileTransport.pm (-2 / +17 lines)
Lines 167-172 __PACKAGE__->set_primary_key("file_transport_id"); Link Here
167
167
168
=head1 RELATIONS
168
=head1 RELATIONS
169
169
170
=head2 marc_order_accounts
171
172
Type: has_many
173
174
Related object: L<Koha::Schema::Result::MarcOrderAccount>
175
176
=cut
177
178
__PACKAGE__->has_many(
179
  "marc_order_accounts",
180
  "Koha::Schema::Result::MarcOrderAccount",
181
  { "foreign.file_transport_id" => "self.file_transport_id" },
182
  { cascade_copy => 0, cascade_delete => 0 },
183
);
184
170
=head2 vendor_edi_accounts
185
=head2 vendor_edi_accounts
171
186
172
Type: has_many
187
Type: has_many
Lines 183-190 __PACKAGE__->has_many( Link Here
183
);
198
);
184
199
185
200
186
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-09-23 18:55:50
201
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-15 16:28:38
187
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PhzRy63/hkdrU9fyelSOug
202
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HXBQ2MbEc+ZVHx163d5JEg
188
203
189
__PACKAGE__->add_columns(
204
__PACKAGE__->add_columns(
190
    '+passive' => { is_boolean => 1 },
205
    '+passive' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/MarcOrderAccount.pm (-3 / +30 lines)
Lines 140-145 the value to be matched against the marc record Link Here
140
140
141
the field that a vendor can use to include a basket name that will be used to create the basket for the file
141
the field that a vendor can use to include a basket name that will be used to create the basket for the file
142
142
143
=head2 file_transport_id
144
145
  data_type: 'integer'
146
  is_foreign_key: 1
147
  is_nullable: 1
148
143
=cut
149
=cut
144
150
145
__PACKAGE__->add_columns(
151
__PACKAGE__->add_columns(
Lines 173-178 __PACKAGE__->add_columns( Link Here
173
  { data_type => "varchar", is_nullable => 1, size => 50 },
179
  { data_type => "varchar", is_nullable => 1, size => 50 },
174
  "basket_name_field",
180
  "basket_name_field",
175
  { data_type => "varchar", is_nullable => 1, size => 10 },
181
  { data_type => "varchar", is_nullable => 1, size => 10 },
182
  "file_transport_id",
183
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
176
);
184
);
177
185
178
=head1 PRIMARY KEY
186
=head1 PRIMARY KEY
Lines 209-214 __PACKAGE__->belongs_to( Link Here
209
  },
217
  },
210
);
218
);
211
219
220
=head2 file_transport
221
222
Type: belongs_to
223
224
Related object: L<Koha::Schema::Result::FileTransport>
225
226
=cut
227
228
__PACKAGE__->belongs_to(
229
  "file_transport",
230
  "Koha::Schema::Result::FileTransport",
231
  { file_transport_id => "file_transport_id" },
232
  {
233
    is_deferrable => 1,
234
    join_type     => "LEFT",
235
    on_delete     => "SET NULL",
236
    on_update     => "CASCADE",
237
  },
238
);
239
212
=head2 vendor
240
=head2 vendor
213
241
214
Type: belongs_to
242
Type: belongs_to
Lines 230-237 __PACKAGE__->belongs_to( Link Here
230
);
258
);
231
259
232
260
233
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-04-24 19:44:04
261
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-15 16:28:38
234
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LvRybSXMjycTWsAp2Bd4Dw
262
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l1SI891PnNLIasuS6Zzg9A
235
263
236
__PACKAGE__->add_columns(
264
__PACKAGE__->add_columns(
237
    '+parse_items' => { is_boolean => 1 },
265
    '+parse_items' => { is_boolean => 1 },
238
- 

Return to bug 41020