Legislation impossible to delete

Hi all,

Pardon my lack of knowledge on legislation implementation as legislation issue found was an uncommon occurrence.

[1] I have a scenario where I need to delete a legislation after a folder validation following an implementation disagreement and a formal request to remove the legislation was requested.

On Setup > Folders (GESADS), Legislation section, there are MYS and USA legislations:

When I delete the MYS legislation and then save it, I get the following error: `MYS: Legislation impossible to delete`.

How do I completely delete the MYS legislation?

[2] When my team do a Stock > Account. Interface (FUNSTKACC), I get the same error as follows (replace USA with MYS):  The setup is incomplete : Legislation=USA Work order receipt 

As it was an emergency need, I follow through to make Sage X3 to go through until a solution is found for removing the legislation.

When I visit Setup > Accounting interface parameters (GESPAS), I notice there are only USA legislation available.

I duplicate it and validate the entry.

I can run the stock accounting interface with error.

```

JOU Mandatory journal code (STKEN) stat=97 KEY1=MRC000001 KEY2=~ KEY3=~ KEY4=~ KEY5=~

Last transaction read : STOFCY=TL001 ITMREF=FHD018655RNP00AA IPTDAT=08/02/2024 MVTSEQ=99999999 MVTIND=0 Miscellaneous receipt VCRNUM=MRC000001 VCRLIN=1000

Automatic documents completed. Journal Numbers : -

```

Checking on this:  Error when running stock accounting interface , the team managed to resolve the issue by filling in manually the missing setup.