petey1
29th April 2014, 16:33
Would anyone know how LN populates this field?
I manually entered (tdpur4101m000) in the same Ledger Account and two different dimensions in the Cost Center. When I looked at the two records (tdpur401) in GTM, I see that one record has a 12 character for the ledger account a dash then a six character field followed by a dash and so on for six different dimensions.
The second record had the 12 character space for the ledger account followed by a dash, but then it had NINE character fields for the dimensions that would follow.
My question would be why is LN doing a six or a nine character sequence for the dimensions? I validate the ledger account and dimensions before I populate the field
code is below:
glco.f = " - - - - - -"
if (tfgld008.dim1 = tfgld.dopt.mandatory) or (tfgld008.dim1 = tfgld.dopt.optional) then
glco.f(1;12) = leac.f
glco.f(14;6) = dim.1
else
glco.f(1;12) = leac.f
endif
if (tfgld008.dim2 = tfgld.dopt.mandatory) or (tfgld008.dim2 = tfgld.dopt.optional) then
glco.f(21;6) = dim.2
endif
Thanks in advance for any insight.
-pete
I manually entered (tdpur4101m000) in the same Ledger Account and two different dimensions in the Cost Center. When I looked at the two records (tdpur401) in GTM, I see that one record has a 12 character for the ledger account a dash then a six character field followed by a dash and so on for six different dimensions.
The second record had the 12 character space for the ledger account followed by a dash, but then it had NINE character fields for the dimensions that would follow.
My question would be why is LN doing a six or a nine character sequence for the dimensions? I validate the ledger account and dimensions before I populate the field
code is below:
glco.f = " - - - - - -"
if (tfgld008.dim1 = tfgld.dopt.mandatory) or (tfgld008.dim1 = tfgld.dopt.optional) then
glco.f(1;12) = leac.f
glco.f(14;6) = dim.1
else
glco.f(1;12) = leac.f
endif
if (tfgld008.dim2 = tfgld.dopt.mandatory) or (tfgld008.dim2 = tfgld.dopt.optional) then
glco.f(21;6) = dim.2
endif
Thanks in advance for any insight.
-pete