Skip to main content

ERROR #5002 - GL Account delete

Deleting a General Ledger Account,

General Ledger account is used in the custom item cost of sales

Error:Error 100  ERROR #5002: ObjectScript error: Stock Code 6849 uses this account in the Inventory Item setup as the Custom Item - Cost of Sales account and cannot be deleted.

image.png


Go to the stock item 6849 and change General Ledger before deleting.

image.png