Created
October 7, 2019 17:03
-
-
Save hasokeric/2c7d0ac40d5826a86d95f5e2195ea56f to your computer and use it in GitHub Desktop.
Using Count - 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adapterPart.GetByID(row["MtlPartNum"].ToString()); | |
adapterPart.GetNewPartPlant(row["MtlPartNum"].ToString()); | |
int highestIndex = adapterPart.PartData.PartPlant.Count - 1; | |
adapterPart.PartData.PartPlant[highestIndex]["Plant"] = defaultSite; | |
// TODO Whse | |
adapterPart.PartData.PartPlant[highestIndex]["RowMod"] = "A"; | |
adapterPart.Update(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment