Pular para o conteúdo principal

Amplia Reg command: cancel-canceled-orders-enrollment-tcn

Name​

cancel-canceled-orders-enrollment-tcn - Cancels the PSBio enrollment TCN of canceled orders

Syntax​

dotnet Lacuna.AmpliaRegNg.Site.dll [settings] -- cancel-canceled-orders-enrollment-tcn [options]

Or, on Docker:

docker run -i lacunasoftware/ampliareg:x.y.z [settings] -- cancel-canceled-orders-enrollment-tcn [options]
info

Replace x.y.z above with the desired version

The settings arguments are additional settings to overwrite settings from configuration files and environment variables, for instance --Section1:Name1=value1 --Section2:Name2=value2.

Options:

  • --batchsize <batch-size>: number of orders to process per batch. Default: 100
  • --logfrequency <log-frequency>: how often, in number of processed orders, progress is written to the log. A value less than or equal to zero turns this log off. Default: 5

Description​

The cancel-canceled-orders-enrollment-tcn command finds canceled Brazilian orders that still have an open enrollment TCN on PSBio and cancels that TCN, so that the holder's biometric enrollment does not stay pending on the PSBio network for an order that has already been canceled.

This command is useful to fix orders that were canceled before the fix of ARNG-905, when the enrollment TCN was not canceled automatically. Orders canceled after that fix already have their TCN canceled automatically, so you don't need to run this command for them.

Before processing, the command shows the number of orders found and asks for confirmation (Y) before going ahead, since the action cannot be undone.

See also​

View as Markdown