Configuration Console - UserField

 1 Replies
 2 Subscribed to this topic
 32 Subscribed to this forum
Sort:
Author
Messages
PD
Veteran Member
Posts: 58
Veteran Member

 I have a userfield called "ContactCenter" from BusinessClass "BillingInvoiceImportLine" being used in form "Main" and I want to reference that userfield in BusinessClass "BillingInvoiceLine" in form "Detail". How do I reference it?

In form "Detail" of businessClass "BillingInvoiceLine", I've used the code below but getting an error msg (Since this is an unrelated Business Class state field reference: Expected a state field)

BillingInvoiceImportLine.ContactCenter

 

What am I missing?

 

Thanks

Jason Beard
Veteran Member
Posts: 125
Veteran Member
You would first need to create a Relationship to BillingInvoiceImportLine from BillingInvoiceLine
Basically the inverse of this which exists on the Import table.
BillingInvoiceLineRel
one-to-one relation to BillingInvoiceLine
Field Mapping uses symbolic key
related.Company = Company
related.BillingInvoice.InvoicePrefix = InvcPrefix
related.BillingInvoice.InvoiceNumber = InvoiceNumber
related.BillingInvoiceLine = LineNumber


Then you would reference your field as "YourRelationshipName".ContactCenter
Jason Beard
617-548-5568
jabeard3@gmail.com