KVSMEDProcessPeriod#
Fields#
Name | Type | Note |
---|---|---|
Customer No. | Code[20] | |
Process No. | Code[20] | |
No. | Integer | |
Schedule Type | Option | OptionMembers: ,,,,,Maintenance,Repair,SP,Reuse |
Status | Option | OptionMembers: Open,,,,,Released,,,,,Finished |
Process Type Code | Code[10] | |
Process Type Description | Text[50] | FlowField |
Service Provision Date | Date | |
Man. Service Provision Date | Boolean | |
Contract Search Term | Code[40] | FlowField |
Contract No. | Code[15] | |
Contract Version No. | Code[4] | |
Contract Period | Code[30] | |
Contract Period Description | Text[50] | FlowField |
Contract Group Code | Code[10] | |
Process Date | Date | |
Starting Date | Date | |
Ending Date | Date | |
Term | DateFormula | |
Delivery Offset | DateFormula | |
Delivery Starting Date | Date | |
Delivery Ending Date | Date | |
Delivery Term | DateFormula | |
Delivery Order Type Code | Code[10] | |
Requested Delivery Date | Date | |
Billing Offset | DateFormula | |
Billing Starting Date | Date | |
Delivery Interval | DateFormula | |
Billing Interval | DateFormula | |
Billing Point of Time | DateFormula | |
Billing Partner Role | Code[10] | |
Billing Cust. No. | Code[20] | |
Billing Cust. Name | Text[100] | FlowField |
Billing Order Type Code | Code[10] | |
Prices Including VAT | Option | OptionMembers: ,No,Yes |
Invoice Advice | Option | OptionMembers: Partial,Complete |
Consultant Partner Type | Option | OptionMembers: Customer,Vendor,Contact |
Consultant Contact No. | Code[20] | |
Consultant Name | Text[50] | |
Name | Text[100] | FlowField |
Comment | Boolean | FlowField |
Actual Ending Date | Date | |
Following Contract No. | Code[15] | |
Following Version No. | Code[4] | |
Following Period Code | Code[10] | |
Use Hours | Decimal | |
Averaged Daily Use Hours | Decimal | |
Default Max. Use Hours | Decimal | |
Default Min. Use Hours | Decimal | |
Delivery via | Code[10] | |
Delivery via Origin | Option | OptionMembers: ,Contract |
Barcode | Code[30] | |
CorrespECEEntriesDeleted | Boolean | |
Info. Template Code | Code[20] | |
Not used | Code[20] | |
Process Source Code | Code[20] | |
Service Recommendation Role | Code[10] | |
Process Diagnosis Code | Code[20] | |
EBillingContractCode | Code[2] | |
Process Indicator Code | Code[20] | |
Delivery Status Group Code | Code[20] | |
Billing Status Group Code | Code[20] | |
Posting Group Redir. Code | Code[20] | |
Billing Split in Sales Order | Boolean | |
Delivery Status | Text[30] | FlowField |
Billing Status | Text[30] | FlowField |
Delivery Blocked | Boolean | FlowField |
Billing Blocked | Boolean | FlowField |
Billing Group Code | Code[20] | |
Permission ID | Code[20] | |
Permission / Refusal Date | Date | |
Permission Starting Date | Date | |
Permission Ending Date | Date | |
Permission Term | DateFormula | |
Permission Contact No. | Code[20] | |
Permission Contact Name | Text[100] | FlowField |
Billing Method | Option | OptionMembers: ,Selling,Lump-sum |
Hand-Over Type | Option | OptionMembers: ,Periodical,One-Time |
External Document No. | Code[35] | |
Extension Lead Time | DateFormula | |
Extension Type | Option | OptionMembers: ,Manual,,,,,Full Automatic,,,,,On Creation |
Delivery Proof in fol. Periods | Boolean | |
Delivery Proof | Option | OptionMembers: ,,,,,Process,,Process Period,,,Billing Period,,,,,Process Date formula,Process Period Date formula |
Delivery Proof Date Formula | DateFormula | |
Bill. Split Del. Proof Date F. | DateFormula | |
Bill. Split Shpt. Post. Type | Enum (KVSMEDShipmentPostingType) | |
Delivery Migration Date | Date | |
Third Party Delivery | Boolean | |
CSR Call No. | Code[20] | |
CSR Call Line No. | Integer | |
CSR Processing Status | Code[20] | |
Billing Type Code | Code[10] | |
Customer Name | Text[100] | FlowField |
Salesperson Code | Code[20] | |
Salesperson Code 2 | Code[20] | |
Delivery Resp. Center | Code[10] | |
Billing Resp. Center | Code[10] | |
Institution Code (Redirected) | Text[15] | |
EvoId | Text[256] | |
Assigned UserID | Code[50] | |
MED Mobile Status | Option | OptionMembers: ,Created,Checked |
Delivery Signal Light | Blob | |
Billing Signal Light | Blob | |
B2B | Boolean | |
No Billing Schedule | Boolean | |
ExternalTransactionID | Text[40] | |
WebshopOrderId | Text[40] | |
Document Barcode | Text[30] | |
Original in House | Boolean | FlowField |
Presc. Orig. Send Date | Date | |
Level | Integer | |
Sorting | Integer | |
DimensionSetId | Integer | |
Selected | Boolean |
Procedures#
CreateBillingPeriods() :#
Summary: Creates the billing periods for the actual process period
procedure CreateBillingPeriods():
UpdateFieldsFromContractData() :#
Summary: Updates the table fields based on contract data. This procedure extracts the relevant details from the contract version header and contract version period. This includes general information, delivery details, billing information, extension details, permission details and third party information. It handles the validation of these details to ensure they meet specific criteria, and if necessary, assigns default values.
procedure UpdateFieldsFromContractData():
CopyTextsFromContract() :#
Summary: Copies text from a given contract to a process period text. It checks if a contract number exists, then scans through the contract version text. For each line of contract version text, it creates a corresponding line in the process period text, copying relevant details including customer number, process number, print settings, and other text details.
procedure CopyTextsFromContract():
Events#
OnBeforeCreateBillingPeriodsOnValidateEndingDate(Record KVSMEDProcessPeriod, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateBillingPeriodsOnValidateEndingDate(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnBeforeCreateBillingPeriodsOnValidateEndingDate', '', false, false)]
local procedure DoSomethingOnBeforeCreateBillingPeriodsOnValidateEndingDate(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean)
begin
end;
OnBeforeCreateBillingPeriodsOnValidateTerm(Record KVSMEDProcessPeriod, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateBillingPeriodsOnValidateTerm(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnBeforeCreateBillingPeriodsOnValidateTerm', '', false, false)]
local procedure DoSomethingOnBeforeCreateBillingPeriodsOnValidateTerm(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean)
begin
end;
OnBeforeCreateBillingPeriodsOnValidateDeliveryStartingDate(Record KVSMEDProcessPeriod, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateBillingPeriodsOnValidateDeliveryStartingDate(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnBeforeCreateBillingPeriodsOnValidateDeliveryStartingDate', '', false, false)]
local procedure DoSomethingOnBeforeCreateBillingPeriodsOnValidateDeliveryStartingDate(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean)
begin
end;
OnBeforeCreateBillingPeriodsOnValidateDeliveryEndingDate(Record KVSMEDProcessPeriod, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateBillingPeriodsOnValidateDeliveryEndingDate(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnBeforeCreateBillingPeriodsOnValidateDeliveryEndingDate', '', false, false)]
local procedure DoSomethingOnBeforeCreateBillingPeriodsOnValidateDeliveryEndingDate(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean)
begin
end;
OnBeforeCreateBillingPeriodsOnValidateDeliveryTerm(Record KVSMEDProcessPeriod, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateBillingPeriodsOnValidateDeliveryTerm(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnBeforeCreateBillingPeriodsOnValidateDeliveryTerm', '', false, false)]
local procedure DoSomethingOnBeforeCreateBillingPeriodsOnValidateDeliveryTerm(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean)
begin
end;
OnBeforeCreateBillingPeriodsOnValidateBillingOffset(Record KVSMEDProcessPeriod, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateBillingPeriodsOnValidateBillingOffset(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnBeforeCreateBillingPeriodsOnValidateBillingOffset', '', false, false)]
local procedure DoSomethingOnBeforeCreateBillingPeriodsOnValidateBillingOffset(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean)
begin
end;
OnBeforeCreateBillingPeriodsOnValidateBillingStartingDate(Record KVSMEDProcessPeriod, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateBillingPeriodsOnValidateBillingStartingDate(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnBeforeCreateBillingPeriodsOnValidateBillingStartingDate', '', false, false)]
local procedure DoSomethingOnBeforeCreateBillingPeriodsOnValidateBillingStartingDate(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean)
begin
end;
OnBeforeCreateBillingPeriodsOnValidateDeliveryIntervall(Record KVSMEDProcessPeriod, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateBillingPeriodsOnValidateDeliveryIntervall(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnBeforeCreateBillingPeriodsOnValidateDeliveryIntervall', '', false, false)]
local procedure DoSomethingOnBeforeCreateBillingPeriodsOnValidateDeliveryIntervall(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean)
begin
end;
OnBeforeCreateBillingPeriodsOnValidateBillingIntervall(Record KVSMEDProcessPeriod, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateBillingPeriodsOnValidateBillingIntervall(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnBeforeCreateBillingPeriodsOnValidateBillingIntervall', '', false, false)]
local procedure DoSomethingOnBeforeCreateBillingPeriodsOnValidateBillingIntervall(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean)
begin
end;
OnBeforeCreateBillingPeriodsOnValidateBillingPointOfTime(Record KVSMEDProcessPeriod, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateBillingPeriodsOnValidateBillingPointOfTime(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnBeforeCreateBillingPeriodsOnValidateBillingPointOfTime', '', false, false)]
local procedure DoSomethingOnBeforeCreateBillingPeriodsOnValidateBillingPointOfTime(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var IsHandled: Boolean)
begin
end;
OnAfterUpdateFieldsFromContractData(Record KVSMEDProcessPeriod) :#
[IntegrationEvent(false, false)]
local procedure OnAfterUpdateFieldsFromContractData(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"):
[EventSubscriber(ObjectType::Table, Table::"KVSMEDProcessPeriod", 'OnAfterUpdateFieldsFromContractData', '', false, false)]
local procedure DoSomethingOnAfterUpdateFieldsFromContractData(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod")
begin
end;