Tuesday, August 27, 2013

Navigation to DownLoad new WebAdi Template

Go to Respective General Ledger Responsibility
Journals -- Launch Journal Wizard (Click on This), New page will be opened and in new page
Layout 'Functional Actuals -Multiple'
Content :   'None' and click on Create Document.  New WebAdi template will be downloaded, save to system/desktop and open Excel Sheet after doing required Excel setups(Macros etc) and login to Oracle through Excel sheet you should use this WebAdi Template 

Thursday, August 1, 2013

Can't Delete Enrollments When Attempts Exist



Can't Delete Enrollments When Attempts Exist

Why does one get the error "you cannot delete class because there are attempts against this class" when attempting to deleting a class?

Content attempts are a lower level of of detail, subordinate to the class catalog object. Once a learner "plays" content and a row is inserted into the "Attempts" table, the current OLM architecture prevents the catalog object from being deleted. A history will be maintained of the learning for data integrity purposes.

We can use below data Fix
select * from ota_activity_versions
where version_name like 'SkillSoft Books 24 X 7';-- course

select * from ota_events
where activity_version_id=94037;-- class

select * from OTA_OFFERINGS
where activity_version_id=94037;-- offering

select * from OTA_DELEGATE_BOOKINGS
where event_id=123019;--enrollments

select * from ota_performances
where learning_object_id=97018; -- contains test results

select * from ota_attempts
where learning_object_id=97018;

delete from ota_attempts
where learning_object_id=97018;
commit;

delete from ota_performances
where learning_object_id=97018;
commit;

Monday, July 29, 2013

OLM How to Update Classes Status



Is there An API To Update Scores Or to UPDATE/CREATE Records For OTA_ATTEMPTS, OTA_PERFORMANCES,OTA_TEST_QUESTIONS, OTA_QUESTION_BANKS, OTA_UTEST_RESPONSES, OTA_LO_FOLDERS, OTA_LEARNING_OBJECTS ? (Doc ID 406223.1)


Column LESSON_STATUS in table OTA_PERFORMANCES hold the player status value. Currently there are no publicly callable API's available the will permit a user to manually manipulate LESSON_STATUS. The only supported method for changing this value would require having the learner attempt and complete the learning object again though the Learner UI.

So We have to do direct base table update if this is feasible. I have done the direct base table update for one class and it worked fine.

select * from ota_activity_versions
where version_name like ‘Course Name’;-- course

select * from OTA_OFFERINGS
where activity_version_id=83037;-- offering

select * from ota_events
where activity_version_id=83037;-- class

select * from ota_learning_objects
where learning_object_id=81017;--learning objects

select * from OTA_DELEGATE_BOOKINGS
where event_id=108019
and delegate_contact_email='Jon.Hillegeist@taconic.com';--contains enrollments

select * from ota_performances
where lesson_status='P'
and user_id=22461
and   learning_object_id=81017; -- contains test results

select * from ota.ota_attempts
where event_id=108019
and  learning_object_id=81017
and user_id=22461
and attempt_id=217626
and attempt_status='F';-- contains attempt details for the test

update ota_performances
set lesson_status='P'
where performance_id=293169;

update ota_attempts set attempt_status='P'
where attempt_id=217626;

commit;