KVSTRDRentalItem#
Fields#
| Name | Type | Note |
|---|---|---|
| No. | Code[20] | |
| Description | Text[100] | |
| Description 2 | Text[50] | |
| Search Description | Code[100] | |
| Item No. | Code[20] | |
| Item Description | Text[100] | FlowField |
| Variant Code | Code[10] | |
| Unit of Measure Code | Code[10] | |
| Serial No. | Code[50] | |
| Status | Enum (KVSTRDRentalItemStatus) | |
| Responsibility Center | Code[10] | |
| Rental BOM Exists | Boolean | FlowField |
| No. of Extended Texts | Integer | FlowField |
| Item Category Code | Code[20] | |
| Unlimited Capacity | Boolean | |
| Billing Type | Enum (KVSTRDRentalBillingType) | FlowField |
| Base Calendar Code | Code[10] | |
| Start Tol. in Days (Availab.) | Integer | |
| End Tol. in Days (Availab.) | Integer | |
| Capacity | Decimal | FlowField |
| Insurance Fee Code | Code[10] | |
| Depreciation Activated | Boolean | |
| Fixed Asset No. | Code[20] | |
| Consumption Counter | Decimal | |
| Incl. Consump. (per Time Unit) | Decimal | |
| Previous Consumption Counter | Decimal | |
| CheckInspReportIsComplOnPost | Boolean | |
| Blocked | Boolean | |
| Third-Party Ownership | Boolean | |
| Service Responsibility | Enum (KVSTRDRentalSrvResponsibility) | |
| Service Item Customer No. | Code[20] | FlowField |
| Vendor No. | Code[20] | |
| Vendor Name | Text[100] | FlowField |
| Vendor Item No. | Code[50] | |
| Vendor Item Name | Text[100] | |
| Rental Sales Amount | Decimal | FlowField |
| Rental Sales Amount Actual | Decimal | FlowField |
| Service Cost Amount | Decimal | FlowField |
| No. Series | Code[20] | |
| Service Item No. | Code[20] | |
| Last Service Date | Date | FlowField |
| Rent-to Customer No. | Code[20] | |
| Rent-to Code | Code[10] | |
| Rent-to Name | Text[100] | |
| Rent-to Name 2 | Text[50] | |
| Rent-to Contact | Text[100] | |
| Address | Text[100] | |
| Address 2 | Text[50] | |
| City | Text[30] | |
| County | Text[30] | |
| Country/Region Code | Code[10] | |
| Post Code | Code[20] | |
| Location Code | Code[10] | |
| Rental Sales Document Type | Enum Sales Document Type | |
| Rental Sales Document No. | Code[20] | |
| Rental Sales Document Line No. | Integer | |
| Date Filter | Date | FlowFilter |
Events#
KVSTRDOnBeforeInsertServiceItemInCreateServiceItem(Record Service Item, Record KVSTRDRentalItem, Boolean) :#
Summary: Event triggered before a Service Item is inserted in the CreateServiceItem procedure. This allows customization of the Service Item before it gets inserted into the database.
[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeInsertServiceItemInCreateServiceItem(var ServiceItem: Record "Service Item"; var RentalItem: Record "KVSTRDRentalItem"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSTRDRentalItem", 'KVSTRDOnBeforeInsertServiceItemInCreateServiceItem', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeInsertServiceItemInCreateServiceItem(var ServiceItem: Record "Service Item"; var RentalItem: Record "KVSTRDRentalItem"; var IsHandled: Boolean)
begin
end;
Parameters:
ServiceItem: The Service Item record that will be inserted. Can be modified before insertion.RentalItem: The Rental Item record that is being used to create the Service Item.IsHandled: Set to true to indicate that the Service Item insertion has been handled and should not continue with default processing. Note: When setting this to true, you must handle the Service Item insertion yourself.