Hello,
I'm relatively inexperienced in AX dev and I'm struggling with a specific issue on AX 2012 R2 that I can't seem to find any answers for. I'm trying to default the SpecQty combobox in the PurchEditLines Form to the value of"Receive now Qty".
Now from what I've investigated I can safely say the the object is initialized by default to show "Receive Ordered Qty" and if the user has selected another option it actually saves the previous selection and defaults through to the last selection if the same form is opened up again.
The problem I'm having is when I change the SpecQty combobox to uneditable. When doing this"Receive Ordered Qty" is always defaulted through with no regard to previous user choices.
I've also tried coding the value to default through by overriding the init() method on the PurchEditLines form but I'm unable to get the code to actually do something.
The SpecQty field is linked by the PurchParmUpdateDatasource that links to the PurchParmUpdateTable\SpecQtyField that links to the PurchUpdateEnumType that contains the following 5 values:
0. Receive Now
1. All
2. Recorded
3. Packing Slip etc.
I'm most likely missing something basic but I'm humbly asking any experts for advice?