Skip to content

Commit

Permalink
Merge pull request #7719 from ehuelsmann/fix/1.11/arap-failing-reversed
Browse files Browse the repository at this point in the history
Fix transaction reversal failing REVERSED state
  • Loading branch information
ehuelsmann authored Nov 16, 2023
2 parents b29510a + a2ecc09 commit 91a76e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions old/bin/aa.pl
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ sub reverse {
$form->{title} = $locale->text('Add');
$form->{reversing_reference} = $form->{invnumber};
$form->{invnumber} .= '-VOID';
my $wf = $form->{_wire}->get( 'workflows' )
->fetch_workflow( 'AR/AP', $form->{workflow_id} );
$wf->execute_action( 'reverse' );

&create_links;

Expand Down

0 comments on commit 91a76e3

Please sign in to comment.