-
Notifications
You must be signed in to change notification settings - Fork 45
Description
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!