KVSKBACLLCallPosition
Fields
| Name | Type | Note |
|---|---|---|
| Call No. | Code[20] | |
| Line No. | Integer | |
| Contact No. | Code[20] | |
| Type | Enum (KVSKBACLLCallPosition) | |
| No. | Code[20] | |
| Description | Text[100] | |
| Unit of Measure Code | Code[10] | |
| Quantity | Decimal | |
| Variant Code | Code[10] | |
| Description 2 | Text[50] | FlowField |
| Document No. | Code[20] | |
| Document Line No. | Integer | |
| Source Type | Integer | |
| Source Subtype | Integer | |
| Document Type | Enum (KVSKBACLLCallPositionDocType) | |
| Price Unit | Decimal | |
| Line Discount % | Decimal | |
| Unit Price | Decimal | |
| Unit Price (Price Unit) | Decimal | |
| Amount | Decimal | |
| VAT % | Decimal | |
| Prices Including VAT | Boolean | |
| Location Code | Code[10] | |
| Bin Code | Code[20] | |
| Line Discount Amount | Decimal | |
| Price Origin | Enum (KVSKBACLLPriceDiscountOrigin) | |
| Line Discount Origin | Enum (KVSKBACLLPriceDiscountOrigin) | |
| Serial No. | Code[50] | |
| Serial Information Card | Boolean | FlowField |
| Lot No. | Code[50] | |
| Expiration Date | Date | |
| Qty. per Unit of Measure | Decimal | |
| Quantity (Base) | Decimal | |
| Blocked | Boolean | FlowField |
| Sales Blocked | Boolean | FlowField |
| Purchasing Blocked | Boolean | FlowField |
| Blocked Service | Boolean | FlowField |
| Item Tracking Code | Code[10] | FlowField |
| Sales Variant Blocked | Boolean | FlowField |
| Purchase Variant Blocked | Boolean | FlowField |
| Service Variant Blocked | Boolean | FlowField |
| Variant Description | Text[100] | FlowField |
| Variant Description 2 | Text[50] | FlowField |
| No. of Variants | Integer | FlowField |
| Serial No. Blocked | Boolean | FlowField |
| Lot No. Blocked | Boolean | FlowField |
| Variant Mandatory if Exists | Option | OptionMembers: Default,No,Yes FlowField |
| Orig. Source Type | Integer | |
| Orig. Source Subtype | Integer | |
| Orig. Document No. | Code[20] | |
| Orig. Document Line No. | Integer | |
| Production Date | Date | |
| Ext. Lot No. | Code[50] |
Procedures
GetCurrencyCode() : Code[10]
Summary: Get the currency code for the call position record. This is used for formatting the amount and line discount amount fields on the call position.
procedure GetCurrencyCode(): Code[10]
Returns: The currency code for the call position record.
Remarks: The currency code is determined based on the related call header record. If the call header record cannot be found, an empty string is returned.
UpdateAmounts() :
Summary: Updates the amount of the call position based on the quantity, unit price, and line discount amount. This procedure is called whenever the quantity, unit price, or line discount amount is modified.
procedure UpdateAmounts():
Remarks: The amount is calculated as follows: Amount = Round(Quantity * Unit Price, Amount Rounding Precision) - Line Discount Amount The amount rounding precision is determined by the currency settings.
OnBeforeUpdateAmounts(Record KVSKBACLLCallPosition, Boolean) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
Summary: Event raised before updating amounts for the call position record.
[Obsolete('Not intended for public use. Will be internal in future releases. This does only affect procedure caller not subscribers. The event remains in place.', '26.4')]
[IntegrationEvent(false, false)]
procedure OnBeforeUpdateAmounts(var Rec: Record "KVSKBACLLCallPosition"; var IsHandled: Boolean):
Parameters:
Rec: The call position record.IsHandled: Set to true to skip the default amount calculation.
Remarks: This event allows subscribers to customize the behavior before updating amounts. Subscribers can modify the call position record or perform additional checks before the amount update is executed.
Events
OnBeforeGetItemInfo(Record KVSKBACLLCallPosition) :
Summary: Event raised before item information is retrieved for the call position record.
[IntegrationEvent(false, false)]
local procedure OnBeforeGetItemInfo(var Rec: Record "KVSKBACLLCallPosition"):
Parameters:
Rec: The call position record.
Remarks: This event allows subscribers to customize the behavior before item information is fetched. Subscribers can modify the call position record or perform additional checks before the item information retrieval is executed.
OnSNNotEmptyInGetItemInfo(Record KVSKBACLLCallPosition) :
Summary: Event raised when the serial number is not empty during item information retrieval for the call position record.
[IntegrationEvent(false, false)]
local procedure OnSNNotEmptyInGetItemInfo(var Rec: Record "KVSKBACLLCallPosition"):
Parameters:
Rec: The call position record.
Remarks: This event allows subscribers to customize the behavior when a serial number is detected. Subscribers can modify the call position record or perform additional checks when the serial number is not empty.
OnBeforeUpdateAmounts(Record KVSKBACLLCallPosition, Boolean) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
Summary: Event raised before updating amounts for the call position record.
[Obsolete('Not intended for public use. Will be internal in future releases. This does only affect procedure caller not subscribers. The event remains in place.', '26.4')]
[IntegrationEvent(false, false)]
procedure OnBeforeUpdateAmounts(var Rec: Record "KVSKBACLLCallPosition"; var IsHandled: Boolean):
Parameters:
Rec: The call position record.IsHandled: Set to true to skip the default amount calculation.
Remarks: This event allows subscribers to customize the behavior before updating amounts. Subscribers can modify the call position record or perform additional checks before the amount update is executed.