freeppy
29th January 2010, 12:55
Dear consultants
I have one question about advance payment.
When I enter the "Assign Unallocated/advance payments to invoices(tfcmg2106s000)" for assing the advance payment to one invoice(APE), in the session only can see the document of Advance Payment(BAG :20091515),but can not see the document of Invoice (APE:20100255),We want to write off the Invoice with BAG20091515.
But we failed,because we don't find the document of APE.What is the problem,and how can I solve this problem.Pls give your kind help,thanks all.

freeppy

mark_h
29th January 2010, 18:53
I would like to help, but I can not tell if this is a coding problem or maybe a process issue. If it is a coding problem maybe if you post the code maybe someone can help - plus let us know where in the code the problem is. If a process problem maybe this needs to be moved to a different form.

freeppy
31st January 2010, 10:51
thanks mark_h!
I put the attachment in ,pls see it again and tell us why.Hope your suggestions.

mark_h
1st February 2010, 03:13
The screen prints do not help me since I am really not familiar with the sessions. If you post the afs code someone might ba able to help - plus point to where in the code the error is.

freeppy
1st February 2010, 05:13
Hi,mark and all
thanks advance.
but I there is no error happened .Just is that we cannot find the Purchase Invoice of APE 20100255 in the session (tfcmg2106s000),so we cannot do the write off about the Advance Payment(BAG 20091515).

mark_h
1st February 2010, 14:40
Well if the record is there then a stpapi.find should work. If the record is not there then that means you could not do it manually.

freeppy
2nd February 2010, 05:56
Thanks mark,I will check it again.

freeppy
2nd February 2010, 05:57
The problem is still puzzled me very much.Can somebody give us a good suggestion to solve it ?