r_nagu
27th April 2006, 00:57
Hi,
I need to print the purchase order acknowledgment from one company and the corresponding sales order acknowledgment from a different company. Should be easy with AFS right? Thats what I thought but when I actually wrote the code and trying to test it now, the thing does not work.
I have a swith.to.company(200) before I print the PO acknowledgment and a swith.to.company(100) before I print the SO acknowledgment. The problem is that the second call to switch the company to 100 does not actually the change the current company to 100 and because this there is no SO acknowledgment printed. I tried to print SO acknowledgment first and then the PO acknowledgment but it really does not make any difference.
Does anyone experienced this before? Is there know issue with switching companies and AFS?
Any help is greatly appreciated.
Thanks,
NS
I need to print the purchase order acknowledgment from one company and the corresponding sales order acknowledgment from a different company. Should be easy with AFS right? Thats what I thought but when I actually wrote the code and trying to test it now, the thing does not work.
I have a swith.to.company(200) before I print the PO acknowledgment and a swith.to.company(100) before I print the SO acknowledgment. The problem is that the second call to switch the company to 100 does not actually the change the current company to 100 and because this there is no SO acknowledgment printed. I tried to print SO acknowledgment first and then the PO acknowledgment but it really does not make any difference.
Does anyone experienced this before? Is there know issue with switching companies and AFS?
Any help is greatly appreciated.
Thanks,
NS