Application Development 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: 

Differentiating between initial value and zero

rupali_ray
Employee
Employee
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Hope the following Threads will help you regarding your problem.

Thanks.

Nitesh

Former Member
0 Kudos

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