Skip to content

KVSMEDFastEntryMaskLine#

Fields#

Name Type Note
Fast Entry Header No. Code[20]
Line No. Integer
Item No. Code[20]
Description Text[100] FlowField
Description 2 Text[50] FlowField
Quantity Decimal
Unit of Measure Code Code[10]
Unit Price Decimal
Process Type Code Code[10]
Process No. Code[20]
Process Period No. Integer
Contract No. Code[15]
Contract Search term Code[40]
Direct Sale (without Process) Boolean
Delivery Blocked Boolean FlowField
Prescription Position Integer
Line Amount Decimal
Variant Code Code[10]
Line Discount % Decimal
Line Discount Amount Decimal
Contract Version No. Code[4]
Contract Line No. Integer
Contract Period Code[30]
Contract Item No. Code[20]
Contract Item Description Text[100]
Finished Boolean
Qty. per Unit of Measure Decimal
Quantity (Base) Decimal
Price Origin Enum (KVSMEDPriceOrigin)
Price Unit Decimal
Unit Price (Price Unit) Decimal
Location Code Code[10]
Inventory Decimal FlowField
Sales Order Type Code[10]
Line Discount Origin Option OptionMembers: ,,Pricing,Blanket Order,Manual,,,,,Contract
Discount Reason Code Code[20]
Price Source incl. VAT Boolean
Price incl. VAT Boolean
VAT Bus. Posting Group Code[20]
VAT Prod. Posting Group Code[20]
Delivery Schedule Line No. BigInteger
Delivery Schedule Call No. BigInteger
Act. Doc. Type Del.Sched. Call Option OptionMembers: ,Cash Desk Order,Order,3,4,Posted Shipment,Posted Return,Invoice,Credit Memo,,Posted Invoice,Posted Credit Memo,Service Order,Finished Service Order
FlowField
Act. Doc. No. Del. Sched. Call Code[20] FlowField
Sell-to Customer No. Code[20] FlowField
Sales Document Type Enum Sales Document Type
Sales Document No. Code[20]
Delivery Type (New Process) Option OptionMembers: From Contract,Recurring,By Call
Interval (New Process) DateFormula
Requested Delivery Date (Once) Date
SplitCareMonths Boolean
Req. Care Period (New Process) Option OptionMembers: ,1=current month,2=current month+1M,3=current month+2M,4=following month,5=following month+1M,6=following month+2M,7=manual input
Shipping Agent Code (Once) Code[10]
Ship.Agent Service Code (Once) Code[10]
Tour Code (Once) Code[10]
Linked to Line No. BigInteger
Quantity Exceeding allowed Boolean
Default Quantity per Decimal
Price Calculation Method Enum Price Calculation Method

Procedures#

ProcessContractSearch() :#

Summary: Search for contracts and open a separate page for this. If there is a result message, it will be displayed with Message. Subsequently, the fields for price, amount, and quantity will be updated.

procedure ProcessContractSearch(): 

SetHideValidationDialog(Boolean) :#

Summary: Suppresses the display of dialogs.

procedure SetHideValidationDialog(Hide: Boolean): 

Parameters:

  • Hide:

Events#

OnUpdateUnitPriceByFieldOnAfterFindPrice(Record KVSMEDFastEntryMaskLine, Integer, Integer) :#

Summary: Integration event raised after the price has been found in UpdateUnitPriceByField. Allows subscribers to modify the fast entry mask line after price calculation.

[IntegrationEvent(false, false)]
local procedure OnUpdateUnitPriceByFieldOnAfterFindPrice(var FastEntryMaskLine: Record "KVSMEDFastEntryMaskLine"; CalledByFieldNo: Integer; CallingFieldNo: Integer): 
[EventSubscriber(ObjectType::Table, Table::"KVSMEDFastEntryMaskLine", 'OnUpdateUnitPriceByFieldOnAfterFindPrice', '', false, false)]
local procedure DoSomethingOnUpdateUnitPriceByFieldOnAfterFindPrice(var FastEntryMaskLine: Record "KVSMEDFastEntryMaskLine"; CalledByFieldNo: Integer; CallingFieldNo: Integer)
begin
end;

Parameters:

  • FastEntryMaskLine: The fast entry mask line record after the price was found.
  • CalledByFieldNo: The field number that triggered the price update.
  • CallingFieldNo: The field number from which the update was originally called.

OnUpdateUnitPriceOnBeforeFindPrice(Record KVSMEDFastEntryMaskLine, Integer, Integer, Boolean) :#

Summary: Integration event raised before the price search in UpdateUnitPrice. Allows subscribers to handle price finding logic themselves and skip the standard implementation.

[IntegrationEvent(false, false)]
local procedure OnUpdateUnitPriceOnBeforeFindPrice(var FastEntryMaskLine: Record "KVSMEDFastEntryMaskLine"; CalledByFieldNo: Integer; CallingFieldNo: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSMEDFastEntryMaskLine", 'OnUpdateUnitPriceOnBeforeFindPrice', '', false, false)]
local procedure DoSomethingOnUpdateUnitPriceOnBeforeFindPrice(var FastEntryMaskLine: Record "KVSMEDFastEntryMaskLine"; CalledByFieldNo: Integer; CallingFieldNo: Integer; var IsHandled: Boolean)
begin
end;

Parameters:

  • FastEntryMaskLine: The fast entry mask line record for which the price is to be found.
  • CalledByFieldNo: The field number that triggered the price update.
  • CallingFieldNo: The field number from which the update was originally called.
  • IsHandled: Set to true to skip the standard price finding logic.

OnBeforeContractSearchCountOnSearchContract(Record KVSMEDContractVersionLine, Record KVSMEDFastEntryMaskLine, Boolean, Boolean) :#

Summary: Integration event raised before the contract version lines are counted in SearchContract. Allows subscribers to modify the filters on the temporary contract version lines before the count determines the further processing logic.

[IntegrationEvent(false, false)]
local procedure OnBeforeContractSearchCountOnSearchContract(var TempKVSMEDContractVersionLine: Record "KVSMEDContractVersionLine" temporary; KVSMEDFastEntryMaskLine: Record "KVSMEDFastEntryMaskLine"; var OnOpenContractSearchPage: Boolean; var HideValidationDialog: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSMEDFastEntryMaskLine", 'OnBeforeContractSearchCountOnSearchContract', '', false, false)]
local procedure DoSomethingOnBeforeContractSearchCountOnSearchContract(var TempKVSMEDContractVersionLine: Record "KVSMEDContractVersionLine" temporary; KVSMEDFastEntryMaskLine: Record "KVSMEDFastEntryMaskLine"; var OnOpenContractSearchPage: Boolean; var HideValidationDialog: Boolean)
begin
end;

Parameters:

  • TempKVSMEDContractVersionLine: The temporary contract version line record with filters already applied. Subscribers can add or modify filters.
  • KVSMEDFastEntryMaskLine: The current fast entry mask line record.
  • OnOpenContractSearchPage: Controls whether the contract selection page should be opened if multiple contracts are found.
  • HideValidationDialog: Controls whether validation dialogs should be suppressed during contract search.