(Please no need to say Hi or address anyone in first query. No need also to sign and repeat "Please Help" words. See how i edited this post below. I will try to check your case in the Fitnesse testing engine and paste u the results. Thanks)
I think, in ADempiere there is a problem in costing in case of landed cost. Cost of goods sold is not booking correctly in second time.
lets say,
I have purchased 10 laptops @ 25,000 = 250,000
i have paid 50,000 freight on it.
so my cost of laptops become 250,000 + 50,000 = 300,000
now cost of one laptop is 300,000/10 = 30,000
when i ship one laptop to customer first time system generates Cost of good sold entry (COGS) by 30,000.
when i ship one laptop to customer second time system generates Cost of good sold entry (COGS) by 30,555.55. which is wrong
(basically system is recalculate freight with balance qty 50,000/ 9 = 5,555.55 and add this freight to a cost of laptop 25,000.
25,000 + 5,555.55 = 30,555.55)
I am using average method for costing.