I have a portal in a format "customer". The portal is related, but the relationship does not allow you to delete the portal lines from the "Customer" format because I do not want to see the active lines.
But when I have generated more rows in the portal (via script with a button), if I delete the customer record, they remain naturally.
Can anyone suggest me a generic script that deletes all the lines of the related portal?
The relation is on the pk_id_customer::fk_id_customer