LittleJohn
1st August 2004, 01:22
Hi,
I've a requirement where i need to change the status of the production order from "documents printed" to "released", through GTM. What other tables do i need to change, apart from tisfc001.
I'm on Baan Vc.
Thanks for your time
Cheers
LittleJohn
FransG
2nd August 2004, 14:15
Hi LittleJohn,
Can you explain why you cannot use the Release Production Order session? A requirement to use General Table Maintenance? What's the goal?
LittleJohn
3rd August 2004, 04:22
Hi Frans,
we've a custom session to print production orders and I want to change the status of the production order to released through that session.
Cheers
LittleJohn
FransG
3rd August 2004, 08:55
LittleJohn,
Call business method release.order(..) from DAL tisfc001. That will do the trick correctly.
dal.start.business.method("tisfc001", "release.order", ret.val, tisfc001.pdno)
BTW, the pre condition is that the SFC parameters must have been read.
If ret.val <> 0 then you have to handle the error message(s) that have been set.
Good luck.
LittleJohn
3rd August 2004, 09:30
Thnks a lot FransG-YZFR6 :)
Appreciate your help :) I shall try this.
Cheers
lakoon
5th August 2004, 11:45
Hello
That will only work with Baan V.
For Baan IV your customized session has to handle the status of the production order in the sam way as tisfc0408 is doing it.
/lakoon.
FransG
5th August 2004, 13:07
My suggestion was exclusively related to BaanERP 5c as LittleJohn did mention in his initial question.
lakoon
5th August 2004, 13:56
Sorry I saw it...
/lakoon