Hi,
Please suggest for any changes in the code below because the value is not updating in that field "Dimension set Id".
procedure ShowDocDim();
var
OldDimSetID: Integer;
begin
OldDimSetID := "Dimension Set ID";
"Dimension Set ID" :=
DimMgt.EditDimensionSet(
"Dimension Set ID", STRSUBSTNO('%1 %2', "Document Type", "No."),
"Shortcut Dimension 1 Code", "Shortcut Dimension 2 Code");
if OldDimSetID <> "Dimension Set ID" then
MODIFY();
end;

Report
All responses (
Answers (