Codeunit 18123711 EOS066 EX050 ECS
Codeunit 18123711 EOS066 EX050 ECS
Methods
RaiseOnAfterInsertLastLineOfShipment
procedure RaiseOnAfterInsertLastLineOfShipment(SalesInvHeader: Record "Sales Header"; SalesShptHeader: Record "Sales Shipment Header"; SalesShptLine: Record "Sales Shipment Line"; var SalesInvLine: Record "Sales Line"; var TempGroupFields: Record "Field")
Parameters / Return Value
SalesInvHeader
Record "Sales Header"
SalesShptHeader
Record "Sales Shipment Header"
SalesShptLine
Record "Sales Shipment Line"
SalesInvLine
Record "Sales Line"
TempGroupFields
Record "Field"
AddField
procedure AddField(var Buffer: Record "Field"; TableNo: Integer; FieldNo: Integer)
Use this procedure to add fields
Parameters / Return Value
Buffer
Record "Field"
TableNo
Integer
FieldNo
Integer
RaiseOnAfterFinalizeInvoiceHeader
procedure RaiseOnAfterFinalizeInvoiceHeader(var SalesHeader: Record "Sales Header"; var TempGroupFields: Record "Field")
Parameters / Return Value
SalesHeader
Record "Sales Header"
TempGroupFields
Record "Field"
RaiseOnAfterCreateInvoiceHeader
procedure RaiseOnAfterCreateInvoiceHeader(var SalesHeader: Record "Sales Header"; var TempGroupFields: Record "Field")
Parameters / Return Value
SalesHeader
Record "Sales Header"
TempGroupFields
Record "Field"
RaiseOnBeforeInsertInvLineFromShptLine
procedure RaiseOnBeforeInsertInvLineFromShptLine(SalesShipLine: Record "Sales Shipment Line"; var Skip: Boolean; var TempGroupFields: Record "Field")
Parameters / Return Value
SalesShipLine
Record "Sales Shipment Line"
Skip
Boolean
TempGroupFields
Record "Field"
RaiseOnAfterInsertInvLineFromShptLine
procedure RaiseOnAfterInsertInvLineFromShptLine(SalesShipLine: Record "Sales Shipment Line"; var SalesLine: Record "Sales Line"; var TempGroupFields: Record "Field")
Parameters / Return Value
SalesShipLine
Record "Sales Shipment Line"
SalesLine
Record "Sales Line"
TempGroupFields
Record "Field"
RaiseOnAfterInsertInvoice
procedure RaiseOnAfterInsertInvoice(var SalesHeader: Record "Sales Header"; ElectrDocType: Code[5]; var TempGroupFields: Record "Field")
Parameters / Return Value
SalesHeader
Record "Sales Header"
ElectrDocType
Code[5]
TempGroupFields
Record "Field"
RaiseonAfter_PopulateHeaderValuesBuffer
procedure RaiseonAfter_PopulateHeaderValuesBuffer(SalesShptHeader: Record "Sales Shipment Header"; var SalesOrderHeader: Record "Sales Header"; InvMethodCode: Code[10]; var TempGroupFields: Record "Field")
Parameters / Return Value
SalesShptHeader
Record "Sales Shipment Header"
SalesOrderHeader
Record "Sales Header"
InvMethodCode
Code[10]
TempGroupFields
Record "Field"
RaiseOnInsertSalesInvHeaderFields
procedure RaiseOnInsertSalesInvHeaderFields(var SalesInvHeader: Record "Sales Header"; SalesShptHeader: Record "Sales Shipment Header"; SalesOrderHeader: Record "Sales Header"; var TempGroupFields: Record "Field" temporary)
Parameters / Return Value
SalesInvHeader
Record "Sales Header"
SalesShptHeader
Record "Sales Shipment Header"
SalesOrderHeader
Record "Sales Header"
TempGroupFields
Record "Field"
RaiseOnBeforeGetFieldValueHash
procedure RaiseOnBeforeGetFieldValueHash(TempGroupFields: Record Field temporary; SalesShptLine: Record "Sales Shipment Line"; SalesShptHeader: Record "Sales Shipment Header"; SalesHeader: Record "Sales Header"; var FieldValue: Text; var IsHandled: Boolean)
Parameters / Return Value
TempGroupFields
Record "Field"
SalesShptLine
Record "Sales Shipment Line"
SalesShptHeader
Record "Sales Shipment Header"
SalesHeader
Record "Sales Header"
FieldValue
Text[]
IsHandled
Boolean
Events
OnBeforeFilterSalesShipmentHeader
procedure OnBeforeFilterSalesShipmentHeader(var SalesShipmentHeader: Record "Sales Shipment Header"; var AppName: List of [Text])
Event run when the Extended Combine Shipment report has been run and before the find of the set of Sales Shipment Header to process.
Parameters / Return Value
SalesShipmentHeader
Record "Sales Shipment Header"
AppName
List[Text]
The list of the Apps that applies a filter to the record. Please use AppName.Add() to add your app as a filter.
OnBeforeProcessSalesShipmentHeader
procedure OnBeforeProcessSalesShipmentHeader(var SalesShipmentHeader: Record "Sales Shipment Header"; var AppName: List of [Text]; var Skip: Boolean)
Event run when the Extended Combine Shipment report has been run and before each Sales Shipment Header to let subscribers avoid the execution on a single record.
Parameters / Return Value
SalesShipmentHeader
Record "Sales Shipment Header"
AppName
List[Text]
The list of the Apps that applies a filter to the record. Please use AppName.Add() to add your app as a filter.
Skip
Boolean
OnAfterInsertLastLineOfShipment2
local procedure OnAfterInsertLastLineOfShipment2(SalesInvHeader: Record "Sales Header"; SalesShptHeader: Record "Sales Shipment Header"; SalesShptLine: Record "Sales Shipment Line"; var SalesInvLine: Record "Sales Line"; var TempGroupFields: Record "Field")
Event raised on after the processing of all the lines of a Sales Shipment, in the current Invoice WARNING: if the invoicing method include a Document Line field as grouping option, this event will be called many times, as equal the number of invoices in which it has been split.
Parameters / Return Value
SalesInvHeader
Record "Sales Header"
The Sales Header created
SalesShptHeader
Record "Sales Shipment Header"
The Sales Shipment Header, got from the first Sales Shipment Line processed
SalesShptLine
Record "Sales Shipment Line"
The Sales Shipment Line that has been processed
SalesInvLine
Record "Sales Line"
The last Sales Line created
TempGroupFields
Record "Field"
The list of the group fields.
AddCustomFieldManagement
procedure AddCustomFieldManagement(var TmpField: Record "Field")
Event raised to add a custom field management in the combine shipment grouping functionality.
Parameters / Return Value
TmpField
Record "Field"
The field buffer to add
AddRequiredFieldManagement
procedure AddRequiredFieldManagement(var TmpField: Record "Field")
Event raised to add a custom field management in the combine shipment grouping functionality as mandatory.
Parameters / Return Value
TmpField
Record "Field"
The field buffer to add
OnAfterFinalizeInvoiceHeader2
local procedure OnAfterFinalizeInvoiceHeader2(var SalesHeader: Record "Sales Header"; var TempGroupFields: Record "Field")
Occurrs after the invoice has been completely prepared
Parameters / Return Value
SalesHeader
Record "Sales Header"
The Sales Header of the invoice prepared
TempGroupFields
Record "Field"
The list of the group fields.
OnAfterCreateInvoiceHeader2
local procedure OnAfterCreateInvoiceHeader2(var SalesHeader: Record "Sales Header"; var TempGroupFields: Record "Field")
Occurrs after the invoice header has been inserted but before any lines are added.
Parameters / Return Value
SalesHeader
Record "Sales Header"
The Sales Header of the invoice prepared
TempGroupFields
Record "Field"
The list of the group fields.
OnBeforeInsertInvLineFromShptLine2
local procedure OnBeforeInsertInvLineFromShptLine2(SalesShipLine: Record "Sales Shipment Line"; var Skip: Boolean; var TempGroupFields: Record "Field")
Event raised on before the processing of a single Sales Shipment Line
Parameters / Return Value
SalesShipLine
Record "Sales Shipment Line"
The Sales Shipment Line that will be processed
Skip
Boolean
Set to TRUE to skip the processing of the Sales Shipment Line
TempGroupFields
Record "Field"
The list of the group fields.
OnAfterInsertInvLineFromShptLine2
local procedure OnAfterInsertInvLineFromShptLine2(SalesShipLine: Record "Sales Shipment Line"; var SalesLine: Record "Sales Line"; var TempGroupFields: Record "Field")
Event raised on after the processing of a single Sales Shipment Line
Parameters / Return Value
SalesShipLine
Record "Sales Shipment Line"
The Sales Shipment Line that has been processed
SalesLine
Record "Sales Line"
The Sales Line created
TempGroupFields
Record "Field"
The list of the group fields.
OnAfterInsertInvoice2
local procedure OnAfterInsertInvoice2(var SalesHeader: Record "Sales Header"; ElectrDocType: Code[5]; var TempGroupFields: Record "Field")
Event raised on after the processing of all the lines of the entity of a group. In this event the sales header has been completely created and is possible to edit it. After this event a COMMIT will be executed.
Parameters / Return Value
SalesHeader
Record "Sales Header"
The Sales Header created
ElectrDocType
Code[5]
The ElectrDocType enable with app “Extended Combine Shipment for FTE for Italy”
TempGroupFields
Record "Field"
The list of the group fields.
onAfter_PopulateHeaderValuesBuffer2
local procedure onAfter_PopulateHeaderValuesBuffer2(SalesShptHeader: Record "Sales Shipment Header"; var SalesOrderHeader: Record "Sales Header"; InvMethodCode: Code[10]; var TempGroupFields: Record "Field")
Event raised before the invoice header is created. Used to move SalesShptHeader fields to SalesOrderHeader.
Parameters / Return Value
SalesShptHeader
Record "Sales Shipment Header"
The Sales Shipment Header, got from the first Sales Shipment Line processed
SalesOrderHeader
Record "Sales Header"
The Sales Order Header, got from the
InvMethodCode
Code[10]
TempGroupFields
Record "Field"
The list of the group fields.
OnInsertSalesInvHeaderFields2
local procedure OnInsertSalesInvHeaderFields2(var SalesInvHeader: Record "Sales Header"; SalesShptHeader: Record "Sales Shipment Header"; SalesOrderHeader: Record "Sales Header"; var TempGroupFields: Record "Field")
Event raised to modify the sales invoice header fields, and manage custom ones.
Parameters / Return Value
SalesInvHeader
Record "Sales Header"
The Sales Header created
SalesShptHeader
Record "Sales Shipment Header"
The Sales Shipment Header, got from the first Sales Shipment Line processed
SalesOrderHeader
Record "Sales Header"
The Sales Order Header created
TempGroupFields
Record "Field"
The list of the group fields.
OnBeforeGetFieldValueHash
local procedure OnBeforeGetFieldValueHash(TempGroupFields: Record Field temporary; SalesShptLine: Record "Sales Shipment Line"; SalesShptHeader: Record "Sales Shipment Header"; SalesHeader: Record "Sales Header"; var FieldValue: Text; var IsHandled: Boolean)
Event raised to manage custom value in the grouping procedure.
Parameters / Return Value
TempGroupFields
Record "Field"
The field to process.
SalesShptLine
Record "Sales Shipment Line"
The source sales shipment line.
SalesShptHeader
Record "Sales Shipment Header"
The source sales shipment header.
SalesHeader
Record "Sales Header"
The source sales order header.
FieldValue
Text[]
Return field value.
IsHandled
Boolean
Handled parameter to skip custom procedure
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.