Skip to content

[Bug]: Error on new company with demo data: "‘Document record ID’ must contain a value in ‘E-document’" #29644

@SchulzOli

Description

@SchulzOli

Describe the issue

German error text:
'Belegdatensatz-ID' muss in 'E-Beleg' einen Wert enthalten: 'Belegpostennr.=7'. Der Wert darf nicht null oder leer sein.
English translation:
‘Document record ID’ must contain a value in ‘E-document’: ‘Document item no. = 7’. The value must not be null or empty.

CallStack:
PostPurchaseInvoice (\BE-Fashion-Demo.app.source\Codeunit\5429\Contoso Inbound E-Document.dal:149) Generate (\BE-Fashion-Demo.app.source\Codeunit\5429\Contoso Inbound E-Document.dal:81) GenerateContosoInboundEDocuments (\BE-Fashion-Demo.app.source\Codeunit\11370\Create Demo EDocs DE.dal:56) OnRun (\BE-Fashion-Demo.app.source\Codeunit\11370\Create Demo EDocs DE.dal:26) EDocumentModule (\BE-Fashion-Demo.app.source\Codeunit\11374\E-Doc. Demodata DE.dal:29) LocalizationContosoDemoData (\BE-Fashion-Demo.app.source\Codeunit\11374\E-Doc. Demodata DE.dal:21) OnAfterGeneratingDemoData (\BE-Fashion-Demo.app.source\Codeunit\5193\Contoso Demo Tool.dal:297) GenerateDemoData (\BE-Fashion-Demo.app.source\Codeunit\5193\Contoso Demo Tool.dal:205) BuildDependencyAndGenerateDemoData (\BE-Fashion-Demo.app.source\Codeunit\5193\Contoso Demo Tool.dal:96) CreateNewCompanyDemoData (\BE-Fashion-Demo.app.source\Codeunit\5193\Contoso Demo Tool.dal:53) OnRun (\BE-Fashion-Demo.app.source\Codeunit\5382\Company Creation Contoso.dal:53) OnRun (\BE-Fashion-Demo.app.source\Codeunit\5279\Generate Contoso Demo Data.dal:27)

Expected behavior

the background job task for creating a new company with Contoso demo data should execute without any interruption and errors.

Steps to reproduce

  1. Use the German Localization
  2. Create a new Company on Companies (357, List)
  3. use Contoso Demo Data; Evaluation - Contoso Sample Data
  4. use all Contoso Demo Data Modules
  5. wait until the error occurs (see call stack)

Additional context

As far as I know, this happens every time, but not if i create an empty company and create the demo data afterwards over the contoso demo tool page.

Version: 27.3.44313.45104

Image

I will provide a fix for a bug

  • I will provide a fix for a bug

Metadata

Metadata

Assignees

Labels

IntegrationGitHub request for Integration area

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions