I'm working on adding a new field on PO line form then display this new field on PurchPurchaseOrder Report.
There is no problem from PO line form to database. meaning data for this new field was correctly stored into database. The problem is the new field didn't display correctly on PurchPurchaseOrder report.
Following are a list of views, tables, and query that I modified in order to add this new field:
1. Views-----PurchLineAllVersions, PurchLineArchivedVersions,
PurchLineNotArchivedVersions.
2. Tables----Purchline,PurchlineHistory,PurchPurchaseOrderTmp.
3. Query-----PurchLineAllVersions
The new field that I added is VLM_IsTaxable. It's int type in database. It's a Enum type in the AOT. Here is my code in PurchPurchaseOrderDP:
purchPurchaseOrderTmp.VLM_IsTaxable = purchLineAllVersions.VLM_IsTaxable;
In database, purchLineAllVersions.VLM_IsTaxable=1. But on the purchPurchaseOrderReport shows "No". It should show "Yes".
I debug to above line in DP class.It is looking at the right record. but purchLineAllVersions.VLM_IsTaxable="No". I really don't know what's the problem is.
Appreciate for any help
Anna