CopyOldValuesWhenReInterpret

Description

This setting applies when you change the supplier of an invoice in Verify, and there is an invoice definition associated with that supplier. Invoices Help states that the invoice is reinterpreted at that point (if Reinterpret is selected in the Control settings of the Verify job description, or, if you are using an inbox, in the Edit folders dialog). Reinterpretation is also performed if the supplier is changed in the invoice definition (most commonly during optimization) after one or more invoices were interpreted. (This can happen if you interpret several invoices of the same type without verifying them.)

However, up until and including Invoices 5-5 SP3, values that were found on the invoice before reinterpretation were copied back to the invoice data after reinterpretation.

Starting with Invoices 5-5 SP4, old values are no longer copied back to the invoice data by default. Use CopyOldValuesWhenReInterpret if you want to continue doing so.

Setting CopyOldValuesWhenReInterpret to 1 is useful if you want to be able to choose whether to keep or discard the values captured before reinterpretation. The fields that are not green after reinterpretation get the value captured before reinterpretation (regardless of status). So this is good in a system with many unlearned or poor definitions.

Otherwise, in a "well tuned" system, the newly selected supplier (invoice definition) should generate the best field interpretation. Field interpretation done by the "wrong" invoice definition is less reliable than field interpretation done by the new definition, even if the selected (correct) invoice definition cannot interpret a certain field.

Valid values

  • 1 (on – values that were found on the invoice before reinterpretation are copied back to the invoice data after reinterpretation)
  • 0 (off – values that were found on the invoice before reinterpretation are discarded – default)