Page 1 of 1

output is not populating

Posted: Mon May 05, 2008 10:06 pm
by siva9880
Hi,

My input is edifact and output is xml.
field is number in both the source and destination of decimal format, when i am passing the input value as 0 (zero) i need to get output 0 (zero)
but i am not getting in the output.

only if i pass 0.0 as input i am getting the output as 0 (zero).

but i am having input as 0 (zero) only not 0.0.

Please find me a solution for this.

Posted: Tue May 06, 2008 2:51 am
by janhess
0 is probably a pad character as defined in your type tree. You will need to change this.

Posted: Tue May 06, 2008 3:02 am
by siva9880
janhess wrote:0 is probably a pad character as defined in your type tree. You will need to change this.

I have no permissions to change the type tree since it will effect other clients.

please let me know without changing the type tree.

Thanks.

Posted: Wed May 07, 2008 2:01 am
by janhess
if(absent(inputfield),0,inputfield)

Posted: Mon May 12, 2008 3:45 pm
by rep
siva9880 wrote:
please let me know without changing the type tree.

Thanks.
Use a different type tree for this one client.


Did you get this to work? Is it for the MOA segment/amount? We had a similar issue recently, but we can change our type trees.


Also, do you use commerce mananger, and if not, how do you route your EDIFACT data?