You need to sign in to do that
Don't have an account?
Aniket Kushwaha
Type is not visible: ConnectApi.OrderPaymentSummary
trying to create orderpaymentsummary using connectApi gives this error
ConnectApi.CreateOrderPaymentSummaryOutputRepresentation output = connectApi.OrderPaymentSummary.createOrderPaymentSummaryOutputRepresentation(inpRepresentation);
ConnectApi.CreateOrderPaymentSummaryOutputRepresentation output = connectApi.OrderPaymentSummary.createOrderPaymentSummaryOutputRepresentation(inpRepresentation);
I see your ask is related to B2B.
Salesforce licenses define access to certain features, processes, and objects. So when you are using ConnectAPI to create OrderPaymentSummary, the code is not able to access the specific objects which are needed to create the record because of having a different set of license.
Without an Order Management License you'll not be able to access the Connect API to use this method.
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
Hello Swetha ,
Thanks for the reply but currently i am just trying to save my code and it shows this error ,and i also have that license
I also have all licenses and permissions