Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA Pipeline Operations for Liquids

EditCompletedTicket Business Logic Tier (BLT)

  • Last UpdatedApr 24, 2025
  • 2 minute read

The EditCompletedTicket is a Business Logic Tier (BLT) that can be used to update a completed ticket, along with the associated devices, depending on what has been set for the RecalculateVolumeCorrections parameter value. Internally, it performs validation for the BatchId, ScheduledGSV, and ProductType fields. It also performs volume corrections to accumulator records, which are associated with a completed ticket and rolls up the total volume of all the child accumulators into the overall ticket.

The following table details the input parameters for the EditCompletedTicket Business Logic Tier (BLT).

Argument

Type

Description

BatchTransferName 

String 

The name of the batch transfer that is linked to the completed ticket.

TicketNumber 

String 

The number of the ticket that is being updated.

RevisionNumber 

Int 

The revision number of the ticket that is being updated.

BatchId 

String 

The batch ID to include in the new revision of the ticket.

ProductType 

String 

The product type to include in the new revision of the ticket.

RecalculateVolumeCorrections 

Boolean 

Indicates to the BLT whether to perform a more extensive update. If set to true, this BLT updates the completed ticket information for all child accumulators using the Volume Correction library and rolls up the total volume of all the child accumulators into the overall ticket.

ScheduleGsv 

Float 

The scheduled Gross Standard Volume (GSV) to include in the new revision of the ticket.

OperatorComment 

String 

The Controller comment to include in the new revision of the ticket.

IsContaminated 

Boolean 

Sets the flag on the new revision of the ticket to indicate that the batch was contaminated.

IsRevised 

Boolean 

Sets the flag on the new revision of the ticket to indicate that it was revised.

GsvAdjustment  

Float 

The GSV adjustment value to include in the new revision of the ticket.

User  

String 

The name of the user that is logged as initiating the ticket recalculation.

The following table details the output parameters for the EditCompletedTicket BLT.

Argument

Argument 

Description

Success 

Boolean 

Indicates if the request has been successfully processed or not.

Message 

String 

If the request could not be successfully processed, this field will contain a message indicating the reason for the processing failure.