on 06-08-2011 3:52 AM
Hello, HOw do I make sure that the default logic only runs for data loaded in the system by data manager package but NOT for Input schedule fact records?(Journals are not being used)
Hello, HOw do I make sure that the default logic only runs for data loaded in the system by data manager package but NOT for Input schedule fact records?(Journals are not being used)
================================================================
Hi Zack,
It depends on how you make the logic.
If the package your mention does not have any selection of default logic execution, then you do not have to worry about executing logic with the DM package. The logic is only available with selection of Default logic execution in DM package, therefore it does not affect any logic in default.lgf.
If the script logic is named as Default, then it will always be called whenever there is request of input schedule, if you intend to run a script logic with request of DM package, strongly recommend naming another name which is not "Default", and specify the logic name in the DM package(in Advanced Script, DM package menu). It will seperate logic, and the logic is only executed with the request of the DM package.
Hope this helps,
Regards,
YH Seo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zack,
As pointed out earlier, you need to pull out the code from Default and maintain it in the separate logic. This needs to be called after import. In order to make absolutely sure this gets called you may need to adjust the import package to automatically run the specific logic rather than default one.
Hope this helps,
Madis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The records from input schedule goes to the factwb table. The records from the DM package goes to the fac2 table.
When you run any script (default or any other) it first fetches the record from the application based on the selection conditions defined in your script. While fetching these records from the application, it first creates a join of all the 3 tables (fact, fac2, factwb) and then fetches the records.
So, enabling the default logic to pick data from fac2 table and ignoring the other tables is not feasible.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.