Ruskin
7th April 2005, 07:13
We are having a bit of fun, trying to use AFS to create a patch file. The manual process, is;
a) We have all software components attached to a customisation project part.
b) We create a patch (session ttiex4500m000/ttiex4100m000)
c) We copy the software components to the patch components (ttiex1176m000/ttiex4210m000)
d) We export the patch (ttiex4500m000/ttiex4110m000/ttiex1280s000)
This works perfectly. But when we try to do this through AFS, the export part does not work. We can do steps a, b and c, but not step d. We can activate ttiex4500m000, find the correct patch, select it and activate ttiex4110m000. But then, when we try to use the export from ttiex4110m000. Nothing happens. The function we are calling, is 'exec.cont.process' (as shown in the ttadv316 table). There is no question to answer (in the case of the patch file already existing, question ttiex41101 is shown, but this is only shown if ttiex400.crea is set to YES, which in our case, will always be NO). Thus, the only issue, could be the report. We can not set the device for the report, as the session is not open yet (the report is attached to ttiex1280s000). We can not open the session then set the report, as the process fires straight away, when the session is open.
To work around this, we have created a library that simply 'zooms.to' ttiex1280s000. However, this session now returns an error of 'Order line not found'. In order to activate ttiex1280s000, we must first create a component list. Which we can do, by calling the function 'create.deliver.file' and passing the patch code. This function then returns the file name created (it is located in the ttdlldeliver tools object). So we have our file list with the components of the patch, and the filename. As per the bic_info6.2, this file is now correctly formatted for session ttiex1280.
How do we call ttiex1280s000. I have set some values, that it appears to need (ie: from.iexpatch, iexpatch, sess.from.file and session). The ttiex410 and ttiex400 tables are current in memory (although, this is irrelevant, as the file now holds the list of all the components to be delivered). Why is the 'Order line not found' error being displayed and what other variables need to be passed to ttiex1280s000?
a) We have all software components attached to a customisation project part.
b) We create a patch (session ttiex4500m000/ttiex4100m000)
c) We copy the software components to the patch components (ttiex1176m000/ttiex4210m000)
d) We export the patch (ttiex4500m000/ttiex4110m000/ttiex1280s000)
This works perfectly. But when we try to do this through AFS, the export part does not work. We can do steps a, b and c, but not step d. We can activate ttiex4500m000, find the correct patch, select it and activate ttiex4110m000. But then, when we try to use the export from ttiex4110m000. Nothing happens. The function we are calling, is 'exec.cont.process' (as shown in the ttadv316 table). There is no question to answer (in the case of the patch file already existing, question ttiex41101 is shown, but this is only shown if ttiex400.crea is set to YES, which in our case, will always be NO). Thus, the only issue, could be the report. We can not set the device for the report, as the session is not open yet (the report is attached to ttiex1280s000). We can not open the session then set the report, as the process fires straight away, when the session is open.
To work around this, we have created a library that simply 'zooms.to' ttiex1280s000. However, this session now returns an error of 'Order line not found'. In order to activate ttiex1280s000, we must first create a component list. Which we can do, by calling the function 'create.deliver.file' and passing the patch code. This function then returns the file name created (it is located in the ttdlldeliver tools object). So we have our file list with the components of the patch, and the filename. As per the bic_info6.2, this file is now correctly formatted for session ttiex1280.
How do we call ttiex1280s000. I have set some values, that it appears to need (ie: from.iexpatch, iexpatch, sess.from.file and session). The ttiex410 and ttiex400 tables are current in memory (although, this is irrelevant, as the file now holds the list of all the components to be delivered). Why is the 'Order line not found' error being displayed and what other variables need to be passed to ttiex1280s000?