To reviewAX 2012
Find a product master by product number
Get the EcoResProductMaster buffer from a product number with EcoResProduct::findByProductNumber.
Written for AX 2012; check EcoResProduct::findByProductNumber on D365FO.
- First written
- Re-read
- Versions
- AX 2012
The product number is what users know; the product master record is what the code needs. One call gets you from one to the other.
The original note
EcoResProductMaster productMaster;
// find product master buffer by providing product number
productMaster = EcoResProduct::findByProductNumber("MyProductMAster");
References
- No Microsoft Learn page was found for this method.