Image may be NSFW.
Clik here to view.
Record of temp table after running above x++ code
Image may be NSFW.
Clik here to view.
What i want is to based on salesid field in inserted temp table, futher i want to insert line in same tmp table from sales line.