ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 5405/5406 OnBeforeDeleteRelations

Open GuntherGebauer opened this issue 7 years ago • 0 comments

In table 5405 and 5406 we need a new Event trigger to delete individual depending data before the record is deleted.

Table 5406 OnBeforeDeleteRelations(VAR ProdOrderLine); - new eventtrigger needed DeleteRelations;

Table 5405 Procedure DeleteFnshdProdOrderRelations OnBeforeDeleteFnshdProdOrderRelations(VAR ProdOrder); - new eventtrigger needed FnshdProdOrderRtngLine.SETRANGE(Status,Status); FnshdProdOrderRtngLine.SETRANGE("Prod. Order No.","No."); FnshdProdOrderRtngLine.DELETEALL;

Procedure DeleteRelations OnBeforeDeleteRelations(VAR ProdOrder); - new eventtrigger needed ProdOrderComment.SETRANGE(Status,Status); ProdOrderComment.SETRANGE("Prod. Order No.","No."); ProdOrderComment.DELETEALL;

GuntherGebauer avatar Dec 12 '18 07:12 GuntherGebauer