KVSTRDItemVariantQtyMatrix#
Procedures#
Load(Text[1024], Record KVSTRDItemVariantAttrValue, Integer, Record Item) :#
Summary: The function prepares the data so that it can be displayed in this page.
procedure Load(NewMatrixColumns: Text[1024]; var NewMatrixRecords: Record "KVSTRDItemVariantAttrValue"; NewCurrentNoOfMatrixColumns: Integer; var Item: Record "Item"):
Parameters:
NewMatrixColumns: This array contains the captions for the matrix comumns.NewMatrixRecords: This array contains the KVSTRDItemVariantAttrValue records for the matrix.NewCurrentNoOfMatrixColumns: The current number of the highest matrix column.Item: The item record on which the calculation is to be based.
SetColumnVisibility() :#
Summary: Sets the visibility of each column, depending on whether a caption is present or not.
procedure SetColumnVisibility():
Events#
KVSTRDOnAfterGetItemVariantCreateBufferRecords(Record KVSTRDItemVariantQtyBuffer, Record Item, Record Item Variant, Code[5], Code[5]) :#
Summary: This event is raised after the item variant buffer records have been created. It allows additional processing or modifications to the buffer records before they are used.
[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterGetItemVariantCreateBufferRecords(var TempItemVariantQtyBuffer: Record "KVSTRDItemVariantQtyBuffer" temporary; Item: Record "Item"; ItemVariant: Record "Item Variant"; Attrib1ValueCode: Code[5]; Attrib2ValueCode: Code[5]):
[EventSubscriber(ObjectType::Page, Page::"KVSTRDItemVariantQtyMatrix", 'KVSTRDOnAfterGetItemVariantCreateBufferRecords', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterGetItemVariantCreateBufferRecords(var TempItemVariantQtyBuffer: Record "KVSTRDItemVariantQtyBuffer" temporary; Item: Record "Item"; ItemVariant: Record "Item Variant"; Attrib1ValueCode: Code[5]; Attrib2ValueCode: Code[5])
begin
end;
Parameters:
TempItemVariantQtyBuffer: Temporary buffer for item variant quantities.Item: The item record associated with the buffer.ItemVariant: The item variant record associated with the buffer.Attrib1ValueCode: The code for the first attribute value.Attrib2ValueCode: The code for the second attribute value.
KVSTRDOnSetQuantityToBufferOnBeforeModify(Record Item, Record KVSTRDItemVariantQtyBuffer, Integer, Record Sales Line, Record Purchase Line, Record Transfer Line, Record Item Journal Line, Record KVSKBASalesContractLine) :#
Summary: This event is raised before modifying the item variant quantity buffer.
[IntegrationEvent(false, false)]
local procedure KVSTRDOnSetQuantityToBufferOnBeforeModify(Item: Record "Item"; var TempItemVariantQtyBuffer: Record "KVSTRDItemVariantQtyBuffer" temporary; SourceTableNo: Integer; SalesLine: Record "Sales Line"; PurchaseLine: Record "Purchase Line"; TransferLine: Record "Transfer Line"; ItemJournalLine: Record "Item Journal Line"; KVSKBASalesContractLine: Record "KVSKBASalesContractLine"):
[EventSubscriber(ObjectType::Page, Page::"KVSTRDItemVariantQtyMatrix", 'KVSTRDOnSetQuantityToBufferOnBeforeModify', '', false, false)]
local procedure DoSomethingKVSTRDOnSetQuantityToBufferOnBeforeModify(Item: Record "Item"; var TempItemVariantQtyBuffer: Record "KVSTRDItemVariantQtyBuffer" temporary; SourceTableNo: Integer; SalesLine: Record "Sales Line"; PurchaseLine: Record "Purchase Line"; TransferLine: Record "Transfer Line"; ItemJournalLine: Record "Item Journal Line"; KVSKBASalesContractLine: Record "KVSKBASalesContractLine")
begin
end;
Parameters:
Item: The item record associated with the buffer.TempItemVariantQtyBuffer: Temporary buffer for item variant quantities.SourceTableNo: The source table number indicating the context of the operation.SalesLine: The sales line record associated with the buffer.PurchaseLine: The purchase line record associated with the buffer.TransferLine: The transfer line record associated with the buffer.ItemJournalLine: The item journal line record associated with the buffer.KVSKBASalesContractLine: The sales contract line record associated with the buffer.