Hi,
i want to build an entity where i can see all versions of confirmed POs.
So i built a data entity with VendPurchOrderJour as the root source, outer joined with View PurchTableAllversions(relation is VendPurchOrderJour.PurchTableVersion= PurchTableAllversions.PurchTableVersionRecId) and this is outer joined with View PurchLineAllversions(Relation on PurchTableVersionRecId field on both data sources)
My questions are:
1. what should be the entity key for this? and why? as there is no primary key on VendPurchOrderJour
2. should the relation between PurchTableAllversions and PurchLineAllversions be inner join instead of outer join? or it wouldn't make a difference?
3. in view PurchTableAllversions there is archived and not archived queries. where the range for each one is based on isArchived and proforma fields, how is this archived field filled? what makes a PO archived true? and what is this proforma field? i thought whenever a new version of PO confirmation is done the previous ones become archived but i noticed a PO with 2 versions only and these two versions are archived. So i got confused