Purchase Order PDF's only print the supplier address if there is a
"GENERAL_LOCATION" contact mech in the party.

But looking at
applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy
it appears that many different postal address purposes should be used, but
they don't end up
in the output when the ftl is rendered at orderReportContactMechs.fo.ftl

The other thing that has me confused is the fact that this contact mech
would be coming from the Party
and not from the Order, which seems to mean that if you change a supplier's
address at some point and
then reference an order later, the address will change in the order.   Why
isn't the contact mech stored with
the Order?

Actually, it looks like the Order FTL will do both, it will go to the Party
and get a current postal address, and then
it should go to the Order and get OrderContactMechValueMaps and print those
also, but I can't see how those
will be set for a Purchase Order, so they are always empty.

Two separate concerns here:  1.  Why do "GENERAL_LOCATION" postal addresses
get printed but  "BILLING_LOCATION" postal addresses don't?
and
2.  How do Purchase Order contact mechs get assigned to the Order so that
OrderContactMechValueMaps will be populated?


-- 
James McGill
Phoenix AZ

Reply via email to