Unable to deploy package due to following error
Dependent class is invalid and needs recompilation: Class : Invalid type: OpportunityLineItemSchedule
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityIf one of the related classes got changed specially the methods, properties, arguments or return types then compiler make the dependent class as invalid.
You need to compile all the dependent classes. or otherwise, you can Compile All classes clicking on below link