I have two objects - object A with fields "Name, Number and Quantity", And object B with fields "Amount, Order_c and Units_c". There is a lookup relationship between the two objects with field name Inventory__c.
My question is: can we bring those two object fields into a single page block in a visual force page? If so, how to write the SOQL query for getting all records?
Inventory__cfield sits on?