Skip to main content

Copy Structure

What it does

Will copy all fields except files and pictures, but all sub child entities (1 level, non recursive).

How to invoke

The page is called with the command: dk.tempusserva.codeunit.common.PageCopyStructure

Takes the following parameters

  • SagID
  • DataID

The user activating the function must have the group specified in "AllowCloneGroup"

Example of usage:

 main?command=dk.tempusserva.codeunit.common.PageCopyStructure&SagID=10&DataID=100

Button for the function can be created using a "Action button: Button: Parameterized URL"

Example of URL pattern

   main?command=dk.tempusserva.codeunit.common.PageCopyStructure&SagID=10&DataID=[DataID]

Configuration

[All possible configurations and where to edit them]

Developer info

  • Type: CodeunitPagecontent
  • Security: [eg. requires admin or session]
  • Classpath: dk.tempusserva.codeunit.common.PageCopyStructure