Hi,
I am trying to delete the record from my custom table once the record got deleted from FA00905 (FA_GL_Interface_WORK) table for a particular Batch No.
Code,
Startup:
result = Trigger_RegisterDatabaseByName(309, "FA_GL_Interface_WORK", "", TRIGGER_ON_DB_DELETE, script TSS_DBDELETE);
if result <> SY_NOERR then
warning "Database trigger registration failed.";
warning str(result);
end if;
TSS_DBDELETE:
inout anonymous table 'TS_Table';
warning "delete trigger.";
release table TSS_OBS_DistUserCntrl;
'Batch Number' of table TSS_OBS_DistUserCntrl = column("GL Interface Batch Number") of table 'TS_Table';
change table TSS_OBS_DistUserCntrl by number 1;
if err() = OKAY then
remove table TSS_OBS_DistUserCntrl;
end if;
The Trigger is registered successfully. It Looks like the script is not getting fired. I didn't get that warning message.
Can anyone help me on this?
Thanks,
Islam
*This post is locked for comments