KVSEDX EDI/IC AddOn
Events
OnAfterInitAllowanceChargeTypes(Record KVSEDX Allow./Charge Types, Boolean) :
Summary: With the event, further surcharge and discount types can be generated and additionally the surcharge/discount mapping can be filled directly. The event is fired after generating the EDX document types via the EDX setup wizard.
Samples
EDXAllowanceChargeTypesVar.INIT;
EDXAllowanceChargeTypesVar.Code := C_TypeCode;
EDXAllowanceChargeTypesVar.Description := C_TypeDescription;
EDXAllowanceChargeTypesVar.Type := EDXAllowanceChargeTypes.Type::C;
EDXAllowanceChargeTypesVar.INSERT;
[IntegrationEvent(true, false)]
local procedure OnAfterInitAllowanceChargeTypes(var EDXAllowanceChargeTypesVar: Record "KVSEDX Allow./Charge Types"; var HandledVar: Boolean):
Parameters:
EDXAllowanceChargeTypesVar: Table in which the data will be insertedHandledVar: True if handled