Wednesday, February 12, 2020

Get the record from ProjTable and insert into ProdTable with the help of init()

public void initFromProjTable(ProjTable  _projTable)
{
    this.ProjId = _projTable.ProjId;

    if (this.isProjMethodFinished() || this.isProjMethodConsumed())
    {
        ProjInventJournalTransMapForm::construct(this).initFromProjTable(_projTable);
    }

    // NC 2015 05 14 - requested by SVBAN
    this.ProdSortingId      = _projTable.sortingId;
    this.ProdSortingId[1]   = "";
    this.Name               = _projTable.name;

    //TDC_JIRASYSCADY-573
    if (!this.TDC_DiggingCoordinator)
    {
        this.TDC_DiggingCoordinator = _projTable.TDC_DiggingCoordinator;
    }
    //TDC_JIRASYSCADY-573
}

No comments:

Post a Comment