web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

Custom Script with CSV upload - Test failed

(1) ShareShare
ReportReport
Posted on by 14
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
 
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    298,655 Super User 2025 Season 2 on at
    Custom Script with CSV upload - Test failed
    Hi,
     
    In case the FormRunConfiguration table is not used directly, can you share the code of your custom script? We can then try to help you.
  • Vahid Ghafarpour Profile Picture
    11,950 Super User 2025 Season 2 on at
    Custom Script with CSV upload - Test failed

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

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,098

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 215 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans