Skip to main content
Solved

Scan Delivery Note - how to set DOC_CLASS

  • March 17, 2026
  • 2 replies
  • 32 views

Marcel.Ausan
Ultimate Hero (Partner)
Forum|alt.badge.img+22

Hi All,

 

in 25.2.2 I’m trying to use the Scan Delivery Note functionality.

https://docs.ifs.com/ifsclouddocs/25r2/lang/en/?openpage=https://docs.ifs.com/ifsclouddocs/25r2/lang/en/Receipt/AboutScanDeliveryNote.htm

It all goes well until I try to finish the process when I get the error message that DOC_CLASS is mandatory. There is no field to set Doc_Class. I also looked into Document Default Values / Object Properties / System Params looking for a  way to define a default doc_class for the scan delivery note functionality.

@Mathias Dahl do you have hints on this? Could this be a bug?

Below are the steps to reproduce this:

Step 1 - attach a PDF - delivery note - there is no field for DOC_CLASS that can be filled

 

Step2 - The data is read correctly from the PDF:

 

Step3 - Finish - error message:

error comes from below projection call:

projection/v1/ScanDeliveryNote.svc/CreateAndConnectDoc

Payload:
LuName: "ExtDispatchAdvice"
KeyRef: "DELNOTE_NO=test^MESSAGE_ID=737^"

PL/SQL function:
Scan_Delivery_Note_SVC.Do_Create_And_Connect_Doc('ExtDispatchAdvice', 'DELNOTE_NO=test^MESSAGE_ID=737^', unbound## => '');

Fullstack error:
__anonymous_block at line 5
SCAN_DELIVERY_NOTE_SVC.DO_CREATE_AND_CONNECT_DOC at line 1382
SCAN_DELIVERY_NOTE_SVC.CREATE_AND_CONNECT_DOC___ at line 3894
DOC_REFERENCE_OBJECT_API.CREATE_AND_CONNECT_DOC at line 5006
DOC_ISSUE_API.CREATE_TITLE_AND_REV__ at line 10267
DOC_TITLE_API.CREATE_NEW_TITLE_ at line 2977
DOC_TITLE_API.NEW__ at line 480
DOC_TITLE_API.CHECK_INSERT___ at line 3519
DOC_TITLE_API.CHECK_INSERT___.CORE at line 3505
DOC_TITLE_API.CHECK_INSERT___.BASE at line 3487
DOC_TITLE_API.CHECK_COMMON___ at line 1488
ERROR_SYS.CHECK_NOT_NULL at line 914
ERROR_SYS.ITEM_FORMAT at line 827
ERROR_SYS.RAISE_APPLICATION_ERROR___ at line 139
ERROR_SYS.RAISE_APPLICATION_ERROR___.FORMAT_CALL_STACK___ at line 130

 

Best answer by Mikko K.

Hi ​@Marcel.Ausan 

 

I believe the ‘Scan Delivery Note’ assistant, instead of having a value of its own, is dependent on the Document Default Value for ‘Create Document Dialog’. Have you checked this? 

Br,

Mikko

2 replies

Mikko K.
Hero (Employee)
Forum|alt.badge.img+9
  • Hero (Employee)
  • Answer
  • March 17, 2026

Hi ​@Marcel.Ausan 

 

I believe the ‘Scan Delivery Note’ assistant, instead of having a value of its own, is dependent on the Document Default Value for ‘Create Document Dialog’. Have you checked this? 

Br,

Mikko


Marcel.Ausan
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Author
  • Ultimate Hero (Partner)
  • March 17, 2026

Thanks ​@Mikko K. . This solved my issue!