|
Lines 576-582
sub BatchCommitRecords {
Link Here
|
| 576 |
my $num_items_errored = 0; |
576 |
my $num_items_errored = 0; |
| 577 |
my $num_ignored = 0; |
577 |
my $num_ignored = 0; |
| 578 |
# commit (i.e., save, all records in the batch) |
578 |
# commit (i.e., save, all records in the batch) |
| 579 |
SetImportBatchStatus('importing'); |
579 |
SetImportBatchStatus($batch_id, 'importing'); |
| 580 |
my $overlay_action = GetImportBatchOverlayAction($batch_id); |
580 |
my $overlay_action = GetImportBatchOverlayAction($batch_id); |
| 581 |
my $nomatch_action = GetImportBatchNoMatchAction($batch_id); |
581 |
my $nomatch_action = GetImportBatchNoMatchAction($batch_id); |
| 582 |
my $item_action = GetImportBatchItemAction($batch_id); |
582 |
my $item_action = GetImportBatchItemAction($batch_id); |
|
Lines 813-819
sub BatchRevertRecords {
Link Here
|
| 813 |
my $num_ignored = 0; |
813 |
my $num_ignored = 0; |
| 814 |
my $num_items_deleted = 0; |
814 |
my $num_items_deleted = 0; |
| 815 |
# commit (i.e., save, all records in the batch) |
815 |
# commit (i.e., save, all records in the batch) |
| 816 |
SetImportBatchStatus('reverting'); |
816 |
SetImportBatchStatus($batch_id, 'reverting'); |
| 817 |
my $overlay_action = GetImportBatchOverlayAction($batch_id); |
817 |
my $overlay_action = GetImportBatchOverlayAction($batch_id); |
| 818 |
my $nomatch_action = GetImportBatchNoMatchAction($batch_id); |
818 |
my $nomatch_action = GetImportBatchNoMatchAction($batch_id); |
| 819 |
my $dbh = C4::Context->dbh; |
819 |
my $dbh = C4::Context->dbh; |
| 820 |
- |
|
|