GetNextAltNo Method (JobBomSubstitute)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetNextAltNo() method retrieves the next alternate number and next preference from the Job_Bom_Subst table.
public static void GetNextAltNo(
string woId,
string operId,
int seqNo,
int bomPos,
out int nextAltNo,
out int nextPref
)
Parameters
- woId
Required. Holds the ID of the work order for the job.
- operId
Required. Holds the ID of the operation for the job.
- seqNo
Required. Holds the operation sequence number of the job.
- bomPos
Required. Holds the ID of the BOM position.
- nextAltNo
Output. Holds the next alternative that is returned after executing this method for the given BOM position.
- nextPref
Output. Holds the next preference that is returned after executing this method for the given BOM position.