Codeunit 18090629 EOS038 Standard Param Calc.
Codeunit 18090629 EOS038 Standard Param Calc.
Methods
CalcHeaderValues
procedure CalcHeaderValues(SourceDoc: RecordRef; var TmpParamBuffer: Record "EOS Doc. Line Param. Buffer")
Parameters / Return Value
SourceDoc
RecordRef
TmpParamBuffer
Record "EOS Doc. Line Param. Buffer"
GetGeoParams
procedure GetGeoParams(var RecRef: RecordRef; var City: Text[30]; var PostCode: Code[20]; var County: Text[30]; var CountryCode: Code[10]; var TerritoryCode: Code[10]; var ISTATCityCode: Code[10]; var GeoErrorMessage: Text[250]): Boolean
Parameters / Return Value
RecRef
RecordRef
City
Text[30]
PostCode
Code[20]
County
Text[30]
CountryCode
Code[10]
TerritoryCode
Code[10]
ISTATCityCode
Code[10]
GeoErrorMessage
Text[250]
Returns
Boolean
GetDocParams
procedure GetDocParams(var RecRef: RecordRef; var CustNo: Code[20]; var ShipToCode: Code[20]; var ShippingAgentCode: Code[20]; var ShippingAgentServiceCode: Code[20]; var LocationCode: Code[10]; var ToLocationCode: Code[10]; var TourCode: Code[10]; var RefDate: Date; var DocAmount: Decimal; var DocParcelNumber: Decimal; var DocWeight: Decimal; var DocVolume: Decimal; var DocPalletNumber: Decimal; var DocKm: Decimal; var DocHours: Decimal; var DocTourAmount: Decimal; var DocGrossWeight: Decimal; SkipTourTotals: Boolean)
Parameters / Return Value
RecRef
RecordRef
CustNo
Code[20]
ShipToCode
Code[20]
ShippingAgentCode
Code[20]
ShippingAgentServiceCode
Code[20]
LocationCode
Code[10]
ToLocationCode
Code[10]
TourCode
Code[10]
RefDate
Date
DocAmount
Decimal
DocParcelNumber
Decimal
DocWeight
Decimal
DocVolume
Decimal
DocPalletNumber
Decimal
DocKm
Decimal
DocHours
Decimal
DocTourAmount
Decimal
DocGrossWeight
Decimal
SkipTourTotals
Boolean
Events
OnBeforeSetTotalValues
local procedure OnBeforeSetTotalValues(SourceDoc: RecordRef; var TmpParamBuffer: Record "EOS Doc. Line Param. Buffer"; var TotalNetWeight: Decimal; var TotalGrossWeight: Decimal; var TotalVolume: Decimal; var TotalPallets: Decimal; var TotalParcels: Decimal)
Raised in the procedure CalcHeaderValues(), before set the totals values on Doc. Line Param. Buffer.
Parameters / Return Value
SourceDoc
RecordRef
Source Document
TmpParamBuffer
Record "EOS Doc. Line Param. Buffer"
Record “EOS Doc. Line Param. Buffer”
TotalNetWeight
Decimal
Total net weight value of the source document lines
TotalGrossWeight
Decimal
Total gross weight value of the source document lines
TotalVolume
Decimal
Total volume value of the source document lines
TotalPallets
Decimal
Total pallets value of the source document lines
TotalParcels
Decimal
Total parcels value of the source document lines
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.