Skip to main content

Hi All ,

 I’m unable to insert the ScheduleID in Child table Column ,because it is integer type storing the integer Default  value(-2147483647).Not storing actual value. How to insert FSContractSchedule.scheduleID

field into Child table (SSPFSScheduleInsp.scheduleID).

can you plz help me in this..!

this is my DAC

#region ScheduleID          PXDBInt(IsKey = true, MinValue = 1, MaxValue = 999999)]         )PXUIField(DisplayName = "Schedule ID")]         PXDefault(typeof(FSContractSchedule.scheduleID.FromCurrent))]         public virtual int? ScheduleID { get; set; }         public abstract class scheduleID : PX.Data.BQL.BqlInt.Field<scheduleID> { }         #endregion.

but it is storing like this in my table

 

 

Thanks…!

 

Hi @NageswaraRaoAddanki60  You should use the PXDBDefault() attribute along with PXParent in such cases.

Please find the example at below link with Parent and Child DACs

https://stackoverflow.com/questions/44880330/save-parent-child


Thanks @Naveen Boga I achieved.

you are awesome man 😊.


Reply