Pular para o conteúdo principal

Amplia Reg command: fill-video-identification-transactions

Name​

fill-video-identification-transactions - Fills in the completion event and transaction of older video identification orders

Syntax​

dotnet Lacuna.AmpliaRegNg.Site.dll [settings] -- fill-video-identification-transactions [options]

Or, on Docker:

docker run -i lacunasoftware/ampliareg:x.y.z [settings] -- fill-video-identification-transactions [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 fill-video-identification-transactions command finds video identification orders that were completed before the OrderVideoIdentificationCompleted event and its transaction in the per-order cost control report were introduced (version 8.0.0), identifying them by the date they entered the video identification validation queue.

For each order found, the command creates the OrderVideoIdentificationCompleted event (if it doesn't exist yet) and the matching cost transaction, dated when the order actually entered the validation queue.

info

This command is optional: video identification orders completed from version 8.0.0 on already have this event and transaction recorded automatically. Run this command only if you want the cost report to also reflect video identification orders completed before that version.

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