Codeunit 18008323 EOS010 SalesP. Subscriptions
Codeunit 18008323 EOS010 SalesP. Subscriptions
Event Subscribers for Salesperson management in the Commission system.
This codeunit handles all table-level events for the salesperson-related tables, ensuring data integrity and enforcing business rules for the new sales engine.
Key Responsibilities:
- Automatically creates Role-Salesperson Sets when new roles or salespersons are added
- Prevents deletion/rename of roles and salespersons that are in use
- Protects Salesperson Set Entry and Tree Node tables from unauthorized modifications
- Blocks configuration package imports that could corrupt salesperson data structures
Tables Managed:
- EOS Salesperson Role: Synchronizes role-salesperson combinations
- Salesperson/Purchaser: Synchronizes salesperson-role combinations
- EOS010 Salesperson Set Entry: Protected from direct modifications
- EOS010 Salesp. Set Tree Node: Protected from direct modifications
- EOS010 Role-Salesperson Sets: Protected from unauthorized deletions
Note: This codeunit uses SingleInstance to maintain consistent state across calls. Modifications to protected tables require setting appropriate flags via CommissionSetupMgt.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
EOS Labs -