Skip to main content
Solved

autonumber in custom field

  • Jan 17, 2022 5:59 AM UTC
  • 7 replies
  • 757 views

Forum|alt.badge.img+10

is it possible to use serial number ( incremental number) in a custom field.  i have created a custom field in business opportunity line and want to use autonumber when user is inputing the record. He may sometimes override this value. 

Best answer by ZTC ZTC JGOTA

@m.arif  Unfortunately, I made the custom event in my previous work place.

Share an screenshot about what you are trying to do.

Let see if I can build it in my environment.

what is the logic in the custom field? what are you trying to display?. Each line in the Opportunity Lines has their own Lines No. 

View original

7 replies

Wimali Athulathmudali
Hero (Employee)
Forum|alt.badge.img+8

Hi @m.arif ,

Please refer the link given below.

 


ZTC ZTC JGOTA
Hero (Customer)
Forum|alt.badge.img+14
  • Hero (Customer)
  • Jan 17, 2022 6:41 AM UTC

I created something like that before.

I created a custom event and it will read the latest value from the custom field and I added 1 to the next value. You can play with the PLSQL code. When you create a custom field in a LU IFS automatically create a API which end with CFP. The best way to see the process is Open your Debug Console and try to add a value to the custom field and you will see what is the procedure used by IFS. You need to call the same procedure when you build your PLSQL code. I hope this help!.


Forum|alt.badge.img+10
  • Author
  • Sidekick (Customer)
  • Jan 17, 2022 7:03 AM UTC

i want this sequence number to reset back to 1 once the new transaction is created. i saw both the solutions and found out that is is like a running serial number. for example every business opportunity line  must start with new number 1 as sequence or serial number at opportunity level. please share your custom event.


ZTC ZTC JGOTA
Hero (Customer)
Forum|alt.badge.img+14
  • Hero (Customer)
  • Answer
  • Jan 17, 2022 8:13 AM UTC

@m.arif  Unfortunately, I made the custom event in my previous work place.

Share an screenshot about what you are trying to do.

Let see if I can build it in my environment.

what is the logic in the custom field? what are you trying to display?. Each line in the Opportunity Lines has their own Lines No. 


Forum|alt.badge.img+10
  • Author
  • Sidekick (Customer)
  • Jan 17, 2022 8:15 AM UTC

can we have a small meeting @ZTC ZTC JGOTA  , I can walk you through the steps. share your email id , will send you an invite.

 


Forum|alt.badge.img+10
  • Author
  • Sidekick (Customer)
  • Jan 19, 2022 8:43 AM UTC

Thank you so much @ZTC ZTC JGOTA . 


Forum|alt.badge.img+1
  • Do Gooder (Partner)
  • Feb 23, 2022 7:19 AM UTC

@ZTC ZTC JGOTA Hi Can you please tell us what you did for creating autonumbering custom field?