function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vjaivjai 

Auto Number in child object

Hi All,

 

I've a Master Detail Relationship and a Custom field in Child is auto Number starting from 1.

 

It's getting incremented from where it left in the previous Master Object and I want it to start fresh for every new Master Object.

 

Any Ideas?

 

-Vjai 

Navatar_DbSupNavatar_DbSup

Hi,

 

You can achieve this through the workflow .In workflow you can check if the master object is change then you can update or increment the field value.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

 

 

VShailVShail

Hi Navtar and Vjai,

 

Can you please help me with this...I have 2 objects PO_DETAIL(child) and PO_HEADER(parent).

 

For every PO_NO in PO_HEADER,I want LINE_NO which is  in PO_DETAIL to start from 1.

 

I'm confused as what needs to be in rule criteria:

 

Can you please help me with this?