Question

How to store specific document class attachments in FTP folder with specific name?

  • 6 November 2023
  • 5 replies
  • 60 views

Userlevel 5
Badge +14
  • Hero (Customer)
  • 275 replies

Hi,

 

We would like store attachments in INVOICE class in specific FTP folder. The stored attchament name should include specific prefix. When a person attach a attachment from Payment Schedule Lines. The attachment name should include Order No and Pay Schedule ID. How can we do that?

 

 

 


5 replies

Badge

Hi,

You can review Document Basic > Number counter Tab and Doc Class Management for the Default values pages.

Userlevel 5
Badge +14

@Kevs Hi,

 

This one look like static prefix. We would like to dynamics prefix.

Userlevel 7
Badge +30

What does attachment name mean?

Userlevel 5
Badge +14

Hi @Mathias Dahl,

 

It stores attachments like below

“Doc_Class-Doc_No-Doc_Sheet-Doc_Rev-1.extension”
 

 

We want to store attachments in different name format like below for a specific doc class.

“Order_no-Pay_Sched_ID-Doc_Class-Doc_No-Doc_Sheet-Doc_Rev-1.extension”

 

 

Userlevel 7
Badge +30

Hi @hhy38 ,

That's not possible to control today. In theory you can make a customization of the business logic in the server, to change how we name the repository files, but it's not something to be done lightly (there might be several places in the code that assumes this way of naming the files).

I suspect you want to do this because you have a need to access these files from another system or program, right?

If you can explain the needs, in detail, we might be able to suggest another way to solve the same problem.

Reply