Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

help me to solve the problem with looping "do..while"

$
0
0

example, i have data like this :

AmountTunjangan      PTKP     PKP    Tax
293325402025000908253.554495.21
293325454495.212025000962748.757764.92
293325457764.922025000966018.457961.11
293325457961.112025000966214.657972.88
293325457972.882025000966226.457973.58
293325457973.582025000966227.157973.62
293325457973.622025000966227.157973.63
293325457973.632025000966227.157973.63

Tunjangan = tax from the previous record

PKP= (amount + tunjangan) - PTKP

Tax= PKP * 0.06

so how to use looping "do .. while"
until Tunjangan=Tax (example the last row in the table above) and if tunjangan=tax then looping stops.

thank you and sorry for my language

warm regards 

edo


Viewing all articles
Browse latest Browse all 9880

Trending Articles