I am trying to connect my Logistical Postal Addresses to my Cust Table. I have apx 5 Logistical Postal Addresses (delivery) to every 1 customer account on my cust table. Thus, I am trying to link them. I Have all the logistic tables connected but I cannot figure out to connect the Cust Table , so they are one big happy family
CustTable has Party field, which identifies the party (DirPartyTable record), a more generic concept representing people and organizations in general without their particular purpose (e.g. a customer).
You’ll find the party ID in DirPartyLocation table, which connects parties (including customers) with logistics locations (LogisticsLocation table), which is also a bit more generic concept than postal addresses. IsPostalAddress field in either LogisticsLocation or DirPartyLocation tells you whether it’s a postal address.
You’ll find identification of a location in LogisticsPostalAddress (Location field).
By the way, if I didn’t know the relations, I’d check how the standard application deals with these things. For example, I could look at CustTable.postalAddress() method.