KVSMTCEquipmentInboundHeader#
Fields#
Name | Type | Note |
---|---|---|
No | Code[20] | |
ItemNo | Code[20] | |
VariantCode | Code[10] | |
CustomerNo | Code[20] | |
LocationCode | Code[10] | |
BinCode | Code[20] | |
Quantity | Decimal | |
UnitofMeasureCode | Code[10] | |
AssignedUserID | Code[50] | |
NoSeries | Code[20] | |
PostingDate | Date | |
VendorShipmentNo | Code[35] | |
LastReceivingNo | Code[20] | |
ReceivingNoSeries | Code[20] | |
SearchSerialNo | Code[50] | |
SearchLotNo | Code[50] | |
YourReference | Text[35] | |
ReceivingNo | Code[20] | |
PostingCode | Code[10] | |
CallNo | Code[20] | |
CallLineNo | Integer | |
UseVariante | Boolean | |
ShiptoCode | Code[10] | |
SnInfoRequired | Boolean | |
LotInfoRequired | Boolean | |
ExpirationDate | Date | |
ProductionDate | Date | |
ExtLotNo | Code[50] | |
SerialInfocardexist | Boolean | |
LotInfocardexist | Boolean | |
UseExpirationDates | Boolean | |
ManProdDateEntryReqd | Boolean | |
ManExtLotEntryReqd | Boolean | |
OperationHoursMandatory | Boolean | Warning: Obsolete |
ManWarrantyDateEntryReqd | Boolean | |
SNRequired | Boolean | |
LotRequired | Boolean | |
ServiceOrderNo | Code[20] | |
ReturnOrderNo | Code[20] | |
DocumentProcessID | Code[20] | |
ExpectedInbound | Boolean | |
CustomerName | Text[100] | FlowField |
Procedures#
InsertEquipmentLine() :#
Summary: Inserts a new equipment line with the given parameters from the equipment header wizzard. Creates a mew call if call no is filled.
procedure InsertEquipmentLine():
Events#
OnBeforeInsertEquipmentInboundLine(Record KVSMTCEquipmentInboundLine, Record KVSMTCEquipmentInboundHeader, Boolean) :#
Summary: This Event allows to modified the EquipmentInboundLine and the EquipmentInboundHeader and before inserted.
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertEquipmentInboundLine(var KVSMTCEquipmentInboundLine: Record "KVSMTCEquipmentInboundLine"; var KVSMTCEquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMTCEquipmentInboundHeader", 'OnBeforeInsertEquipmentInboundLine', '', false, false)]
local procedure DoSomethingOnBeforeInsertEquipmentInboundLine(var KVSMTCEquipmentInboundLine: Record "KVSMTCEquipmentInboundLine"; var KVSMTCEquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"; var IsHandled: Boolean)
begin
end;
Parameters:
KVSMTCEquipmentInboundLine
:KVSMTCEquipmentInboundHeader
:IsHandled
:
OnBeforeInsertEquipmentInboundLine_MTC(Record KVSMTCEquipmentInboundLine, Record KVSMTCEquipmentInboundHeader, Boolean) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
Summary: This Event allows to modified the EquipmentInboundLine before inserted
[Obsolete('Use OnBeforeInsertEquipmentInboundLine instead. Parameter KVSMTCEquipmentInboundHeader is not passed by reference', '24.1')]
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertEquipmentInboundLine_MTC(var KVSMTCEquipmentInboundLine: Record "KVSMTCEquipmentInboundLine"; KVSMTCEquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMTCEquipmentInboundHeader", 'OnBeforeInsertEquipmentInboundLine_MTC', '', false, false)]
local procedure DoSomethingOnBeforeInsertEquipmentInboundLine_MTC(var KVSMTCEquipmentInboundLine: Record "KVSMTCEquipmentInboundLine"; KVSMTCEquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"; var IsHandled: Boolean)
begin
end;
Parameters:
KVSMTCEquipmentInboundLine
:KVSMTCEquipmentInboundHeader
:IsHandled
:
OnBeforeInsertServiceItemLineOnPostEquipmentHeader(Record Service Item Line, Record Service Header, Record KVSMTCEquipmentInboundLine, Record KVSMTCEquipmentInboundHeader) :#
Summary: This Event allows to Skip Service Item Line Insert or modified Service Item Line before inserted
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertServiceItemLineOnPostEquipmentHeader(var ServiceItemLine: Record "Service Item Line"; var ServiceHeader: Record "Service Header"; KVSMTCEquipmentInboundLine: Record "KVSMTCEquipmentInboundLine"; EquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"):
[EventSubscriber(ObjectType::Table, Table::"KVSMTCEquipmentInboundHeader", 'OnBeforeInsertServiceItemLineOnPostEquipmentHeader', '', false, false)]
local procedure DoSomethingOnBeforeInsertServiceItemLineOnPostEquipmentHeader(var ServiceItemLine: Record "Service Item Line"; var ServiceHeader: Record "Service Header"; KVSMTCEquipmentInboundLine: Record "KVSMTCEquipmentInboundLine"; EquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader")
begin
end;
Parameters:
ServiceItemLine
:ServiceHeader
:KVSMTCEquipmentInboundLine
:EquipmentInboundHeader
:
OnBeforeInsertServiceHeaderOnPostEquipmentHeader(Record Service Header, Record KVSMTCEquipmentInboundHeader) :#
Summary: This Event allows to Modify the Service Header before inserted
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertServiceHeaderOnPostEquipmentHeader(var ServiceHeader: Record "Service Header"; var EquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"):
[EventSubscriber(ObjectType::Table, Table::"KVSMTCEquipmentInboundHeader", 'OnBeforeInsertServiceHeaderOnPostEquipmentHeader', '', false, false)]
local procedure DoSomethingOnBeforeInsertServiceHeaderOnPostEquipmentHeader(var ServiceHeader: Record "Service Header"; var EquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader")
begin
end;
Parameters:
EquipmentInboundHeader
:IsHandled
:
OnBeforeOnPostEquipmentHeader(Record KVSMTCEquipmentInboundHeader, Boolean) :#
Summary: This Event allows to Skip the Function PostEquipmentHeader
[IntegrationEvent(false, false)]
local procedure OnBeforeOnPostEquipmentHeader(var EquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMTCEquipmentInboundHeader", 'OnBeforeOnPostEquipmentHeader', '', false, false)]
local procedure DoSomethingOnBeforeOnPostEquipmentHeader(var EquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"; var IsHandled: Boolean)
begin
end;
Parameters:
EquipmentInboundHeader
:IsHandled
:
OnAfterOnPostEquipmentHeader(Record KVSMTCEquipmentInboundHeader, Record Service Header) :#
Summary: This event is fired from the last position of the PostEquipmentHeader.
[IntegrationEvent(false, false)]
local procedure OnAfterOnPostEquipmentHeader(var KVSMTCEquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"; ServiceHeader: Record "Service Header"):
[EventSubscriber(ObjectType::Table, Table::"KVSMTCEquipmentInboundHeader", 'OnAfterOnPostEquipmentHeader', '', false, false)]
local procedure DoSomethingOnAfterOnPostEquipmentHeader(var KVSMTCEquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"; ServiceHeader: Record "Service Header")
begin
end;
Parameters:
KVSMTCEquipmentInboundHeader
:ServiceHeader
:
OnBeforeConfirmAskForCombinCustAndSerial(Record KVSMTCEquipmentInboundHeader, Boolean, Boolean) :#
Summary: This Event handle the Confirm for the Combination Customer and SerialNo
[IntegrationEvent(false, false)]
local procedure OnBeforeConfirmAskForCombinCustAndSerial(var EquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"; var Confirmed: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMTCEquipmentInboundHeader", 'OnBeforeConfirmAskForCombinCustAndSerial', '', false, false)]
local procedure DoSomethingOnBeforeConfirmAskForCombinCustAndSerial(var EquipmentInboundHeader: Record "KVSMTCEquipmentInboundHeader"; var Confirmed: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
EquipmentInboundHeader
:Confirmed
:IsHandled
: