Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot deploy to SalesForce #16

Open
zufra opened this issue Feb 14, 2019 · 1 comment
Open

Cannot deploy to SalesForce #16

zufra opened this issue Feb 14, 2019 · 1 comment

Comments

@zufra
Copy link

zufra commented Feb 14, 2019

Ben,

first of all, thanks for this code that would have taken me days to write. I'm sure it works perfectly but I am having some trouble deploying to Salesforce.

When trying to use the "Deploy to Salesforce" button you included, the following failures occur and no class is deployed:

Failures: classes/XeroJournal.cls(16,28):Unexpected token 'JournalLines'. classes/XeroJournal.cls(16,28):Unexpected token 'JournalLines'. classes/XeroAccountingApi.cls(14,33):Method does not exist or incorrect signature: void generateJsonStringForParsing(String, String) from the type XeroAccountingApi classes/XeroAccountingApiTest.cls(14,33):Dependent class is invalid and needs recompilation: Class XeroAccountingApi : Method does not exist or incorrect signature: void generateJsonStringForParsing(String, String) from the type XeroAccountingApi classes/XeroJournal.cls(16,40):Unexpected token '['. classes/XeroJournal.cls(16,44):Variable does not exist: get classes/XeroJournal.cls(16,49):Variable does not exist: set classes/XeroJournalLine.cls(18,33):Unexpected token 'TrackingCategories'. classes/XeroJournalLine.cls(18,33):Unexpected token 'TrackingCategories'. classes/XeroJournalLine.cls(18,51):Unexpected token '['. classes/XeroJournalLine.cls(18,55):Variable does not exist: get classes/XeroJournalLine.cls(18,60):Variable does not exist: set classes/XeroTrackingCategory.cls(10,31):Unexpected token 'Options'. classes/XeroTrackingCategory.cls(10,31):Unexpected token 'Options'. classes/XeroTrackingCategory.cls(10,38):Unexpected token '['. classes/XeroTrackingCategory.cls(15,19):Unexpected token 'Where'. classes/XeroTrackingCategory.cls(15,19):Unexpected token 'Where'. classes/XeroTrackingCategory.cls(14,19):Duplicate field: TrackingCategoryID classes/XeroTrackingCategory.cls(10,42):Variable does not exist: get classes/XeroTrackingCategory.cls(10,47):Variable does not exist: set classes/XeroTrackingCategory.cls(15,26):Variable does not exist: get classes/XeroTrackingCategory.cls(15,31):Variable does not exist: set

Then, when trying to deploy it manually, only 10 classes can be deployed with no errors, the other ones all throw different errors.

Is there something I might be missing that is causing the errors?

Thanks!

@coderdecoder01
Copy link

Failures:
classes/XeroTrackingCategory.cls(15,19):Unexpected token 'Where'.
classes/XeroTrackingCategory.cls(15,19):Unexpected token 'Where'.

And many more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants