Hi All,
I am working on a requirement to automatically populate or set the Sales Representative in the SalesRepresentativeTest
financial dimension based on the city entered in the Sales Order delivery address.
Here's what I have done so far:
DimAttributeCommissionSalesRepTable
based on the CommissionSalesRep
table.CommissionSalesRep
fields: AddressCity
, URSName
, URSPartyNumber
DimAttributeCommissionSalesRepTable
fields:
RecID
URSPartyNumber
URSName
SalesRepresentativeTest
.SalesRepresentativeTest
to the Sales Order page.SalesRepresentativeTest
financial dimension as expected.Now, I need to automatically set the SalesRepresentativeTest
value based on the Sales Order's delivery address.
Could anyone please guide me on how to access and set the SalesRepresentativeTest
field in X++ code based on the city of the Sales Order address?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,451 Super User 2024 Season 2
Martin Dráb 228,353 Most Valuable Professional
nmaenpaa 101,148