This is related to your problem in the thread you started about a sales invoice problem: Sales invoice problem.