Quantcast
Viewing all articles
Browse latest Browse all 72043

Create customer via service classes / set Dimensions

Hi,

I am creating a customer via AIF service classes.

I managed to get it working just fine with usage of few classes:

CustCustomerService                     customerService;
CustCustomer                            customer;
CustCustomer_CustTable                  customerTable;
CustCustomer_DirParty_DirOrganization   customerDirParty;
CustCustomer_DirPartyPostalAddressView  customerAddress;
AfStronglyTypedDataContainerList        customerContacts;
CustCustomer_DirPartyContactInfoView    customerContactEmail;
CustCustomer_DirPartyContactInfoView    customerContactPhone;


Now the tricky bit: I need to set the DefaultDimension field - I know that I should probably use the AifDimensionAttributeValueSettogether AifDimensionAttributeValue  classes, but I happen to have the RecID of the default dimension (DimensionAttributeValueSet table record)


Any ideas whether it's possible to simply  set this RecID field instead of re-inventing the wheel ?


Thanks,

M

 




Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>