Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Unanswered

Custom Script with CSV upload - Test failed

(0) ShareShare
ReportReport
Posted on by 8
Hi all,
 
we have SU41 and I have a custom script where I upload a CSV file. During the test following error occurs. Interessingly the infolog (green marked) show the right result of the job. The CSV file is read and printed via infolog. In the job there is no direct access to FormRunConfiguration. Is FormRunConfiguration a restricted table? Any ideas?
 
[20.12.2024 10:56:50] Testlauf gestartet
[20.12.2024 10:57:21] Das benutzerdefinierte Skript darf nicht auf die Tabelle FormRunConfiguration zugreifen. <English>The custom script is not allowed to access the FormRunConfiguration table </English>

[20.12.2024 10:57:21]    at Dynamics.AX.Application.AppConsistencyCustomScriptStateChange.assertTableAccessIsSupported(String _tableName, String _accessType)
   at Dynamics.AX.Application.AppConsistencyCustomScriptStateChange.assertAccessIsSupported(Map _tablesAccessed)
   at Dynamics.AX.Application.AppConsistencyCustomScriptStateChange.process(Boolean _isTestRun)

[20.12.2024 10:57:28] SQL-Anweisung: INSERT INTO FORMRUNCONFIGURATION (DESCRIPTION,OWNER,SCOPE,NAME,NAMELABELID,COMPANY,USER_,ISDEFAULT,NEEDSVALIDATION,VALIDATIONFAILEDTOLOADCOUNTER,VERSION,FORMVIEWOPTIONTYPE,SYSTEMVERSION,DISPLAYORDER,PUBLISHEDFROMCONFIGURATION,DESCRIPTIONLABELID,HOSTVIEWKEY,LEGALENTITY,GLOBALTEMPLATEUNIQUEID,MODIFIEDDATETIME,MODIFIEDBY,CREATEDDATETIME,CREATEDBY,RECVERSION,PARTITION,RECID) VALUES ('','SysGetFileFromUser',41,'Standardansicht','@FormRunConfiguration:BaseLockedViewName',0909,'xxx',0,0,0,1,0,5,0,0,'',0,'','{00000000-0000-0000-0000-000000000000}','2024-12-20','xxx','2024-12-20','xxx',1,5637144576,5637677100)
[20.12.2024 10:57:28] SQL-Anweisung: INSERT INTO FORMRUNCONFIGURATIONDEFAULTVIEW (FORMVIEWOPTIONTYPE,OWNER,LEGALENTITY,CONFIGURATION,USER_,MODIFIEDDATETIME,MODIFIEDBY,CREATEDDATETIME,CREATEDBY,RECVERSION,PARTITION,RECID) VALUES (0,'SysGetFileFromUser','',5637677100,'xxx','2024-12-20','xxx','2024-12-20','xxx',1,5637144576,5637624600)
[20.12.2024 10:57:28] SQL-Anweisung: INSERT INTO FORMRUNCONFIGURATIONOPTIONS (OWNER,ENABLED,USER_,ENABLEDEXPLICITPERSONALIZATION,STOREUSAGEDATA,UPGRADEUSAGEDATA,STOREFILTERDATA,RECVERSION,PARTITION,RECID) VALUES ('SysGetFileFromUser',1,'xxx',2,0,0,0,1,5637144576,5637623853)
[20.12.2024 10:57:28] SQL-Anweisung: UPDATE SYSCACHEFLUSH SET CLEARDATA='',RECVERSION=150773154,MODIFIEDDATETIME='2024-12-20' WHERE ((RECID=5637449076) AND (RECVERSION=1235056411))
[20.12.2024 10:57:28] SQL-Anweisung: UPDATE APPCONSISTENCYCUSTOMSCRIPT SET LOG='',RECVERSION=1083258153,MODIFIEDDATETIME='2024-12-20',MODIFIEDBY='xxx' WHERE ((RECID=5637146827) AND (RECVERSION=239733064))
[20.12.2024 10:57:28] SQL-Anweisung: UPDATE APPCONSISTENCYCUSTOMSCRIPT SET LOG='',RECVERSION=1601204915,MODIFIEDDATETIME='2024-12-20',MODIFIEDBY='xxx' WHERE ((RECID=5637146827) AND (RECVERSION=1083258153))
[20.12.2024 10:57:28] Datenbankaktivität:
Auf die Tabelle AppConsistencyCheckRuleSettings wird 11-mal mithilfe eines Read-Vorgangs zugegriffen.
Auf die Tabelle FormRunConfiguration wird 1-mal mithilfe eines Create-Vorgangs zugegriffen.
Auf die Tabelle FormRunConfigurationDefaultView wird 1-mal mithilfe eines Create-Vorgangs zugegriffen.
Auf die Tabelle FormRunConfigurationDefaultView wird 1-mal mithilfe eines DeleteRecordSet-Vorgangs zugegriffen.
Auf die Tabelle FormRunConfigurationOptions wird 1-mal mithilfe eines Create-Vorgangs zugegriffen.
Auf die Tabelle SecurityUserRole wird 3-mal mithilfe eines Read-Vorgangs zugegriffen.
Auf die Tabelle SysCacheFlush wird 1-mal mithilfe eines Update-Vorgangs zugegriffen.
[20.12.2024 10:57:28] Infolog: 
ItemId, ItemName
4711, Banane
4712, Apfel

Operation complete.
Das benutzerdefinierte Skript darf nicht auf die Tabelle FormRunConfiguration zugreifen.
[20.12.2024 10:57:28] Abgeschlossen
 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,349 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,351 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans