KVSTRDSalesLineRental#
Extends #437dbf0e84ff417a965ded2bb9650972#Sales Line
Fields#
| Name | Type | Note |
|---|---|---|
| KVSTRDAttaToLineAddItemRental | Integer | |
| KVSTRDRental Document | Boolean | |
| KVSTRDService Item No. | Code[20] | Warning: Obsolete |
| KVSTRDRental Starting Date | Date | |
| KVSTRDRental Ending Date | Date | |
| KVSTRDRental Starting Time | Time | |
| KVSTRDRental Ending Time | Time | |
| KVSTRDRental Price Group | Code[10] | |
| KVSTRDRental Interruption | Boolean | |
| KVSTRDRental Shipment Posted | Boolean | |
| KVSTRDRental Return Posted | Boolean | |
| KVSTRDLong-Term Rental | Boolean | FlowField |
| KVSTRDRental Cr. Memo Posted | Boolean | |
| KVSTRDRentalConCounterHandover | Decimal | |
| KVSTRDRentalConCounterReturn | Decimal | |
| KVSTRDRentalCrMemoStartDate | Date | |
| KVSTRDRentalCrMemoEndDate | Date | |
| KVSTRDRentalShipmentStartDate | Date | |
| KVSTRDRentalShipmentEndDate | Date | |
| KVSTRDRentalInvoiceStartDate | Date | |
| KVSTRDRentalInvoiceEndDate | Date | |
| KVSTRDRentalReservation | Boolean | |
| KVSTRDNoOfRentalItems | Integer | |
| KVSTRDRentalOutTransferOrderNo | Code[20] | Warning: Obsolete |
| KVSTRDRentalInbTransferOrderNo | Code[20] | Warning: Obsolete |
| KVSTRDRentalDateToShip | Date | |
| KVSTRDRentalDateToInvoice | Date | |
| KVSTRDRentalExcludeFromAvailab | Boolean | |
| KVSTRDAttachRentalConsumLineNo | Integer | |
| KVSTRDRental Inspection Code | Code[10] | |
| KVSTRDRentalBasePrice | Decimal | |
| KVSTRDRentalBOMBasePrice | Decimal | |
| KVSTRDRentalStartingDateAvail | Date | |
| KVSTRDRentalEndingDateAvail | Date | |
| KVSTRDServiceItemNo. | Code[20] |
Events#
KVSTRDOnBeforeErrorNotAvailableForRentalInCheckRentalItemAvailability(Record Sales Line, Boolean) :#
Summary: Event raised before showing the error message when a rental item is not available in the specified period. The event handler can be used to suppress the error by setting the IsHandled parameter to true.
[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeErrorNotAvailableForRentalInCheckRentalItemAvailability(var Rec: Record "Sales Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSTRDSalesLineRental", 'KVSTRDOnBeforeErrorNotAvailableForRentalInCheckRentalItemAvailability', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeErrorNotAvailableForRentalInCheckRentalItemAvailability(var Rec: Record "Sales Line"; var IsHandled: Boolean)
begin
end;
Parameters:
Rec: The sales line record.IsHandled: Indicates whether the error has been handled. Set to true to suppress the error message.
KVSTRDOnAfterIsRentalLine(Record Sales Line, Boolean) :#
Summary: Event raised after determining whether a sales line is a rental line. The event handler can be used to apply additional logic on whether the line should be treated as a rental line by setting the IsRentalLine parameter.
[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterIsRentalLine(var Rec: Record "Sales Line"; var IsRentalLine: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSTRDSalesLineRental", 'KVSTRDOnAfterIsRentalLine', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterIsRentalLine(var Rec: Record "Sales Line"; var IsRentalLine: Boolean)
begin
end;
Parameters:
Rec: The sales line record.IsRentalLine: Indicates whether the sales line is a rental line.