Announcements
No record found.
public void initValue() { DTDMCHeaderLines dTDMCHeaderLinesloc; Info(strFmt("InvoiceDate:%1,inventLocationId:%2",DTDMCHeaderLines_inventLocationId,DTDMCHeaderLines_InvoiceDate)); if(DTDMCHeaderLines.InvoiceDate != dateNull() && DTDMCHeaderLines.inventLocationId != '') { select firstonly Seqnum from dTDMCHeaderLinesloc order by DTDMCHeaderLinesloc.Seqnum desc where dTDMCHeaderLinesloc.InvoiceDate == DTDMCHeaderLines.InvoiceDate && dTDMCHeaderLinesloc.inventLocationId == DTDMCHeaderLines.inventLocationId; DTDMCHeaderLines.Seqnum = dTDMCHeaderLinesloc.Seqnum + 1 ; } super(); }
public void initValue() { DTDMCHeaderLines dTDMCHeaderLinesloc; Info(strFmt("InvoiceDate:%1,inventLocationId:%2",DTDMCHeaderLines.InvoiceDate,DTDMCHeaderLines.inventLocationId)); //get any datasource from the base form DTDMCHeader dTDMCHeaderloc = DTDMCHeader_ds.Cursor(); if(dTDMCHeaderloc.InvoiceDate != dateNull() && dTDMCHeaderloc.inventLocationId != '') { select firstonly Seqnum from dTDMCHeaderLinesloc order by DTDMCHeaderLinesloc.Seqnum desc where dTDMCHeaderLinesloc.InvoiceDate == dTDMCHeaderloc.InvoiceDate && dTDMCHeaderLinesloc.inventLocationId == dTDMCHeaderloc.inventLocationId; DTDMCHeaderLines.Seqnum = dTDMCHeaderLinesloc.Seqnum + 1 ; } super(); }
public void initValue() { DTDMCHeaderLines.InvoiceDate = DTDMCHeader.InvoiceDate; DTDMCHeaderLines.inventLocationId = DTDMCHeader.inventLocationId; super(); }
public void initValue() { super(); DTDMCHeaderLines dTDMCHeaderLines; //Info(strFmt("InvoiceDate:%1,inventLocationId:%2",this.inventLocationId,this.InvoiceDate)); if(this.InvoiceDate != dateNull() && this.inventLocationId != '') { select firstonly Seqnum from dTDMCHeaderLines order by DTDMCHeaderLines.Seqnum desc where dTDMCHeaderLines.InvoiceDate == this.InvoiceDate && dTDMCHeaderLines.inventLocationId == this.inventLocationId; // this.CustomerName = CustTable::find(this.InvoiceAccount).name(); this.Seqnum = dTDMCHeaderLines.Seqnum + 1 ; } }
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 475 Most Valuable Professional
André Arnaud de Cal... 399 Super User 2026 Season 2
CU10121822-0 374