There is a new requirement to establish a connection between Sales Orders (SO301000) and Bills and Adjustments (AP301000). I attempted to add two custom fields for order type and order number in the Bills and Adjustments (AP301000) form to retrieve sales order types and sales order numbers in the database, allowing the user to select them. Using this new custom column, which stores the sales order numbers, we can establish the connection. However, this did not produce the intended result. Is this the correct approach to create a connection between these two forms? Any guidance or detailed steps on how to implement this would be greatly appreciated.
Answer
How to establish a connection between Sales Orders (SO301000) and Bills and Adjustments (AP301000) forms
Best answer by aiwan
By creating a new field UsrSOOrderNbr, you should be able to use a PXSelector to select the SO that relates to the bill. This also creates a Foreign Reference to the SOOrder table which will help with joining in GI’s etc.
You might need to set the field to enabled with RowSelected if you are amending bills which are already released.
Aleks
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.