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

(-)a/installer/data/mysql/atomicupdate/bug_40383.pl (-3 / +3 lines)
Lines 15-21 return { Link Here
15
                'EdiBlockDuplicateInvoice',
15
                'EdiBlockDuplicateInvoice',
16
                '0',
16
                '0',
17
                NULL,
17
                NULL,
18
                'Block processing of EDIFACT invoices when a duplicate invoice number is detected for the same supplier. When enabled, duplicate invoices will be rejected and logged as errors.',
18
                'Block automatic processing of EDIFACT invoices when a duplicate invoice number is detected for the same supplier. Similar to AcqWarnOnDuplicateInvoice for manually created invoices, but applies to invoices received via EDI.',
19
                'YesNo'
19
                'YesNo'
20
            )
20
            )
21
        }
21
        }
Lines 30-36 return { Link Here
30
                'EdiBlockDuplicateInvoiceEmailNotice',
30
                'EdiBlockDuplicateInvoiceEmailNotice',
31
                '0',
31
                '0',
32
                NULL,
32
                NULL,
33
                'Send email notification when duplicate EDIFACT invoices are detected. Requires EdiBlockDuplicateInvoice to be enabled.',
33
                'Send email notifications when a duplicate EDIFACT invoice is blocked. Uses the EDI_DUP_INV_LIBRARY notice template to alert acquisitions staff, and the EDI_DUP_INV_VENDOR notice template to alert the vendor\'s EDI contacts. Requires EdiBlockDuplicateInvoice to be enabled.',
34
                'YesNo'
34
                'YesNo'
35
            )
35
            )
36
        }
36
        }
Lines 45-51 return { Link Here
45
                'EdiBlockDuplicateInvoiceEmailAddresses',
45
                'EdiBlockDuplicateInvoiceEmailAddresses',
46
                '',
46
                '',
47
                NULL,
47
                NULL,
48
                'Comma-separated list of email addresses to notify when duplicate EDIFACT invoices are detected (e.g., "purchasing@library.org,edi_support@library.org"). Requires EdiBlockDuplicateInvoiceEmailNotice to be enabled.',
48
                'Comma-separated list of acquisitions staff email addresses to notify using the EDI_DUP_INV_LIBRARY notice template when a duplicate EDIFACT invoice is blocked. Vendor contacts are notified separately via the EDI_DUP_INV_VENDOR notice using addresses configured in the vendor\'s EDI account. Requires EdiBlockDuplicateInvoiceEmailNotice to be enabled.',
49
                'Textarea'
49
                'Textarea'
50
            )
50
            )
51
        }
51
        }
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-3 / +3 lines)
Lines 242-250 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
242
('EdifactInvoiceImport', 'automatic', 'automatic|manual', 'If on, don\'t auto-import EDI invoices, just keep them in the database with the status \'new\'', 'Choice'),
242
('EdifactInvoiceImport', 'automatic', 'automatic|manual', 'If on, don\'t auto-import EDI invoices, just keep them in the database with the status \'new\'', 'Choice'),
243
('EdifactLSL', 'ccode', 'location|ccode|', 'Map EDI sub-location code (GIR+LSL) to Koha Item field, empty to ignore', 'Choice'),
243
('EdifactLSL', 'ccode', 'location|ccode|', 'Map EDI sub-location code (GIR+LSL) to Koha Item field, empty to ignore', 'Choice'),
244
('EdifactLSQ', 'location', 'location|ccode|', 'Map EDI sequence code (GIR+LSQ) to Koha Item field, empty to ignore', 'Choice'),
244
('EdifactLSQ', 'location', 'location|ccode|', 'Map EDI sequence code (GIR+LSQ) to Koha Item field, empty to ignore', 'Choice'),
245
('EdiBlockDuplicateInvoice', '0', NULL, 'Block processing of EDIFACT invoices when a duplicate invoice number is detected for the same supplier. When enabled, duplicate invoices will be rejected and logged as errors.', 'YesNo'),
245
('EdiBlockDuplicateInvoice', '0', NULL, 'Block automatic processing of EDIFACT invoices when a duplicate invoice number is detected for the same supplier. Similar to AcqWarnOnDuplicateInvoice for manually created invoices, but applies to invoices received via EDI.', 'YesNo'),
246
('EdiBlockDuplicateInvoiceEmailAddresses', '', NULL, 'Comma-separated list of email addresses to notify when duplicate EDIFACT invoices are detected (e.g., "purchasing@library.org,edi_support@library.org"). Requires EdiBlockDuplicateInvoiceEmailNotice to be enabled.', 'Textarea'),
246
('EdiBlockDuplicateInvoiceEmailAddresses', '', NULL, 'Comma-separated list of acquisitions staff email addresses to notify using the EDI_DUP_INV_LIBRARY notice template when a duplicate EDIFACT invoice is blocked. Vendor contacts are notified separately via the EDI_DUP_INV_VENDOR notice using addresses configured in the vendor\'s EDI account. Requires EdiBlockDuplicateInvoiceEmailNotice to be enabled.', 'Textarea'),
247
('EdiBlockDuplicateInvoiceEmailNotice', '0', NULL, 'Send email notification when duplicate EDIFACT invoices are detected. Requires EdiBlockDuplicateInvoice to be enabled.', 'YesNo'),
247
('EdiBlockDuplicateInvoiceEmailNotice', '0', NULL, 'Send email notifications when a duplicate EDIFACT invoice is blocked. Uses the EDI_DUP_INV_LIBRARY notice template to alert acquisitions staff, and the EDI_DUP_INV_VENDOR notice template to alert the vendor\'s EDI contacts. Requires EdiBlockDuplicateInvoice to be enabled.', 'YesNo'),
248
('ElasticsearchBoostFieldMatch', '0', NULL, 'Add a "match" query to es when searching, will follow indexes chosen in advanced search, or use title-cover for generic keyword or title index search', 'YesNo'),
248
('ElasticsearchBoostFieldMatch', '0', NULL, 'Add a "match" query to es when searching, will follow indexes chosen in advanced search, or use title-cover for generic keyword or title index search', 'YesNo'),
249
('ElasticsearchCrossFields', '1', NULL, 'Enable "cross_fields" option for searches using Elastic search.', 'YesNo'),
249
('ElasticsearchCrossFields', '1', NULL, 'Enable "cross_fields" option for searches using Elastic search.', 'YesNo'),
250
('ElasticsearchIndexStatus_authorities', '0', 'Authorities index status', NULL, NULL),
250
('ElasticsearchIndexStatus_authorities', '0', 'Authorities index status', NULL, NULL),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref (-4 / +3 lines)
Lines 201-215 Acquisitions: Link Here
201
              choices:
201
              choices:
202
                  1: Block
202
                  1: Block
203
                  0: "Don't block"
203
                  0: "Don't block"
204
            - processing of EDIFACT invoices when a duplicate invoice number is detected for the same supplier.
204
            - automatic processing of EDIFACT invoices when a duplicate invoice number is detected for the same supplier. Similar to AcqWarnOnDuplicateInvoice, which warns staff when manually creating a duplicate invoice, but applies to invoices received via EDI.
205
        -
205
        -
206
            - pref: EdiBlockDuplicateInvoiceEmailNotice
206
            - pref: EdiBlockDuplicateInvoiceEmailNotice
207
              choices:
207
              choices:
208
                  1: Send
208
                  1: Send
209
                  0: "Don't send"
209
                  0: "Don't send"
210
            - email notifications when duplicate EDIFACT invoices are detected.
210
            - email notifications when a duplicate EDIFACT invoice is blocked. Uses the EDI_DUP_INV_LIBRARY notice template to alert acquisitions staff, and the EDI_DUP_INV_VENDOR notice template to alert the vendor's EDI contacts.
211
        -
211
        -
212
            - "Send duplicate invoice notifications to these email addresses (comma-separated):"
212
            - "Send duplicate EDIFACT invoice notifications to these acquisitions staff email addresses using the EDI_DUP_INV_LIBRARY notice template (comma-separated). Vendor contacts are notified separately via EDI_DUP_INV_VENDOR using addresses configured in the vendor's EDI account:"
213
            - pref: EdiBlockDuplicateInvoiceEmailAddresses
213
            - pref: EdiBlockDuplicateInvoiceEmailAddresses
214
              type: textarea
214
              type: textarea
215
              class: code
215
              class: code
216
- 

Return to bug 41297