I am trying to change a dimension value from a standard dimension value type to a begin-total dimension value type. NAV help says that you can post to a Begin-Total dimension value type just as you can to a Standard dimension value type.
The code in dimension value type on validate reads as follows:
IF ("Dimension Value Type" <> "Dimension Value Type"::Standard) AND
(xRec."Dimension Value Type" = xRec."Dimension Value Type"::Standard)
THEN
IF CheckIfDimValueUsed("Dimension Code",Code) THEN
ERROR(Text004,GetCheckDimErr);
Totaling := '';
The error message (text004) reads: "The dimension value is used in posted entries. You cannot change the type."
I have posted entries to the dimension in question. And I understand the reasoning behind this error message if you were changing from a dimension value that was a totaling type (e.g. 'End-total' or 'Total') to a type where you are allowed to post ('Standard' or 'Begin-Total') ... or vice versa. But since both 'Standard' and 'Begin-Total' dimension types allow posting, why should I be prevented from switching a dimension value between those two types?
I am thinking I will just run an update statement on SQL to make the change I desire on the dimension value in question, unless anyone can advise me differently.
Thanks.