Auto Numbering in custom section

Hi all,

as this link 

"https://academy.creatio.com/documents/technic-sdk/7-15/how-add-auto-num…"

 

i need to make auto numbering in custom section called returns 

i need to make "CASE IMPLEMENTATION ALGORITHM: SERVER-SIDE"

 

i made the first point "1. CREATE TWO SYSTEM SETTINGS" and created the two system settings 

in the second point " CREATE A REPLACING SCHEMA OF THE [PRODUCT] OBJECT" when i create and choose the returns section as parent object it gives me an error like that :

 

how can i solve this ?

thanks 

 

Like 0

Like

12 comments

Dear Ibrahim,

 

Thank you for your question!

 

As per the Article provided: 

Select a custom package and execute the [Add] – [Replacing object] menu command on the [Schemas] tab. Specify the [Product] object as the parent object in the new object properties

 

Please check if you are creating a replacing object within the Custom Package 

 

Thank you!

Hope this helps,

Regards,

Danyil

Danyil Onoprienko,

 

yes within the custom package 

 

 

Ibrahim Nour Eldin,

 

Thank you for your answer!

 

Please make sure that you specify the [Product] object as Parent when creating a replacing object

 

Thank you!

Regards,

Danyil 

Danyil Onoprienko,

 

thanks for your reply

i guess you doesn't read my question but i will explain to you 

i need to make auto number on a custom section not on products and my custom section is called returns 

 

thanks

Ibrahim Nour Eldin,

 

The Article provided is a guide on how to add auto-numbering to the [Products] section.

 

Since you have already created a custom section named [Returns] that is based in the Custom package (all new custom objects are being created and stored in the Custom package) you receive the following error as there would be two similar objects referring one to each other.

 

You may continue to step 3 if you are using a custom section named [Returns]

 

Step 2 is considered for those objects that aren't located in the Custom package initially (for example, you have developed a new package and imported it in a new system having the [Returns] section in that package - for these purposes, you would need to create a "Replacing Object" in a Custom Package on a new instance to which this package has been installed)

Hope this clarifies!

Regards,

Danyil

Danyil Onoprienko,

 

when i skip 2 and go to advanced setting to enable event handler i found two files with the same name for the Returns section on in the Custom Package and one in the Package i created 

where should i enable the event handler ? 

thanks 

Ibrahim Nour Eldin,

 

Thank you for your question

 

You may read on how to use the Object Designer to configure entity schemas here: https://academy.creatio.com/documents/technic-sdk/7-15/workspace-object…

 

Hope this helps!

 

Thank you

Danyil

Danyil Onoprienko,

 

you don't understand me in my last question i asked about where i enable event in the section file in my package or in the section file in the custom package 

 

thanks

Ibrahim Nour Eldin,

 

Thank you for specifying!

 

The Event Handler should be enabled in the Custom Package

 

Regards,

Danyil

Danyil Onoprienko,

 

when i build the business process in formula when i write the code it gives me this error 

thanks

Danyil Onoprienko,

 

any sol please for this ?

 

thanks

Ibrahim Nour Eldin,

 

Please contact us at support@creatio.com in order for us to provide the best possible solution

 

Thank you!

Regards,

Danyil

Show all comments