Skip to content

Codeunit WSB_HASHazardousSubstancesMgt

Codeunit to manage Hazardous Substances

Properties

Name Value
Access Public

Methods

wlEvpOnBeforeCalcHazardPointsPerTransportCategory

Event to modify the calculation of Hazard Points per Transport Category.

Parameters

Type Name Description
Variant pRecRelatedVariant RecordRef of the related document line.
Record "Item" pRecItem The item record of the document line.
Record "WSB_HazardSubstLineBufferHAS" temporary vRecTempHazardSubstLineBufferHAS The temporary table buffer to fill.
Decimal vTotalNetWeight The total net weight of all hazardous items in the document line.
Boolean pShowHazardPoints Indicates if hazard points should be calculated.
Boolean vIsHandled Set to true to skip the default code.