I deleted two Fields from my Project Card in the SOD, then set my publishing method on “Force” and tried to publish but unfortunately I get the following error
Package validation failed due to the following error(s): == Following diagnostics are for ‘appname’ (a78cf3bb-0a59-4ba8-a9f7-73fc03ae7cfe) by ‘publisher’ version ‘1.0.0.190’ ==
src/API/job_SOD.APIPage.al (102,39) – Error AL0132: ‘Record Job’ does not contain a definition for ‘Length’
src/API/job_SOD.APIPage.al (105,38) – Error AL0132: ‘Record Job’ does not contain a definition for ‘Width’
src/PageExtensions/Job_Card_PageExt.al (41,41) – Error AL0132: ‘Record Job’ does not contain a definition for ‘Length’
src/PageExtensions/Job_Card_PageExt.al (45,40) – Error AL0132: ‘Record Job’ does not contain a definition for ‘Width’
What did I do wrong?
Best Regards
Caner
The error states that:
- You have the deleted fields added to the “job” API page you have created
- You have the two fields placed on the Job Card
I think you need to do the following:
Uninstall your app then open SOD and go to the Seutp page to use “Refresh Symbols”, answer “Yes” to clearing the cache.
Then try to publish again!
That worked, thank you 🙂