Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Differentiating between initial value and zero

rupali_ray
Employee
Employee
0 Likes
3,877

Hi,

I want to differentiate between initial value and value passed a zero.

The data type is /ISQC/QTY_FACTOR.

If zero is passed and i check whether the field is initial, it is passing the condition.

Please let me know if it is possible.

Thanks & Regards,

Rupali Ray

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,583

if this is a quantity type field then create a constant of the same type.This constant should be the initial value.

Ex.

Initial value for quantity fields is 0.000 not 0

Cheers,

KD

3 REPLIES 3
Read only

Former Member
0 Likes
1,584

if this is a quantity type field then create a constant of the same type.This constant should be the initial value.

Ex.

Initial value for quantity fields is 0.000 not 0

Cheers,

KD

Read only

Former Member
0 Likes
1,583

Hi,

Hope the following Threads will help you regarding your problem.

Thanks.

Nitesh

Read only

Former Member
0 Likes
1,583

Initial is used to check character/string fields which resembles a null(note its totaly different from SPACE).

Zero is the initial value for numeric Fields.

Type : Numeric

Value : 0

Initial Conidition : TRUE

Type : Character

Value : 0

Initial Conidition : FALSE

Hope i have cleared your query.

Regards

Karthik D