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

conditions

Former Member
0 Likes
722

hi

in the down code. i need to add the conditions for both

if gst_no there tax invoice if not invoice under t_inv_hdr-inv_type = 'TAX INVOICE'.

please tell me how to do it.

-


if t_inv_hdr-bschl = '31'. "Credit note

t_inv_hdr-inv_type = 'CREDIT NOTE'.

else.

t_inv_hdr-inv_type = 'TAX INVOICE'.

endif.

1 ACCEPTED SOLUTION
Read only

anversha_s
Active Contributor
0 Likes
698

hi vahini,

chk this.

if t_inv_hdr-bschl = '31' and gst_no is not initial

t_inv_hdr-inv_type = 'TAX INVOICE'. "Credit note

else if t_inv_hdr-bschl = '31'.

t_inv_hdr-inv_type = 'CREDIT NOTE'.

else.

t_inv_hdr-inv_type = 'TAX INVOICE'.

endif.

pls reward if this helps u.

for any clarification just mail me

regrds,

anversha

[email protected]

hi

in the down code. i need to add the conditions for both

if gst_no there tax invoice if not invoice under t_inv_hdr-inv_type = 'TAX INVOICE'.

please tell me how to do it.

-


if t_inv_hdr-bschl = '31'. "Credit note

t_inv_hdr-inv_type = 'CREDIT NOTE'.

else.

t_inv_hdr-inv_type = 'TAX INVOICE'.

endif.

2 REPLIES 2
Read only

Former Member
0 Likes
698

can we get more info.

Regards

Prabhu

Read only

anversha_s
Active Contributor
0 Likes
699

hi vahini,

chk this.

if t_inv_hdr-bschl = '31' and gst_no is not initial

t_inv_hdr-inv_type = 'TAX INVOICE'. "Credit note

else if t_inv_hdr-bschl = '31'.

t_inv_hdr-inv_type = 'CREDIT NOTE'.

else.

t_inv_hdr-inv_type = 'TAX INVOICE'.

endif.

pls reward if this helps u.

for any clarification just mail me

regrds,

anversha

[email protected]