Options

Item Ledger Entry

LewisTiogaLewisTioga Member Posts: 40
I'm creating a report for which I need to link the Item Ledger Dataset to an Item Dataset.
I'm unsure on how to set the DataItemTableView and DataitemLink. My thoughts were the DataItemLink would be Item No. = FIELD(No.)?

Here's my code for the purpose of retreiving the Item Ledger Entry.

recInvtSetup.FINDFIRST;

CLEAR(gstrItemVariant);
gstrItemVariant := "Item Ledger Entry"."Item No.";

IF recitem.GET("Bin Content"."Item No.") THEN
"Item Description" := recitem.Description;

recItemLedgerEntry.GET(recItemLedgerEntry."Entry No.");
IF recItemLedgerEntry."Variant Code" <> '' THEN BEGIN
LotNo :=
recItemLedgerEntry."Item No."+
' - ' +
recItemLedgerEntry."Variant Code";
EncodedBarCode :=
cuCPUtils.EncodeBarcode128(
recItemLedgerEntry."Item No."+
'|' +
recItemLedgerEntry."Variant Code"
);
END ELSE BEGIN
LotNo := recItemLedgerEntry."Item No.";
EncodedBarCode :=
cuCPUtils.EncodeBarcode128(
recItemLedgerEntry."Item No."
)
END;

ERROR('ll');

LotNoLabel := Text004;

NoOfLoops := 1

9kcor5gpbvum.png
90.PNG 25.6K

Best Answer

Answers

Sign In or Register to comment.