RetailTransactionServiceCustomer::updateCustomer Method [AX 2012]
Method is used for updating an existing customer.
Syntax
client server public static container updateCustomer(
int64 custTableRecId,
DirPartyName custName,
CustGroupId custGroup,
CustCurrencyCode currency,
CustLanguageId languageId,
Phone phone,
int64 phoneRecId,
PhoneMobile cellularPhone,
LogisticsElectronicAddressLocator email,
int64 emailRecId,
URL url,
int64 urlRecId,
CustMultiLineDiscCode multiLineDisc,
CustEndDiscCode endDisc,
CustLineDiscCode lineDisc,
CustPriceGroup priceGroup,
TaxGroup taxGroup,
CustCreditMaxMST creditMax,
CustBlocked blocked,
OrgId orgId,
RetailUsePurchRequest usePurchRequest,
VATNum vatNum,
CustInvoiceAccount invoiceAccount,
MandatoryCreditLimit mandatoryCreditLimit,
ContactPersonId contactPersonId,
RetailUseOrderNumberReference useOrderNumberReference,
RetailReceiptOption receiptOption,
RetailReceiptEmail receiptEmail,
CustIdentificationNumber identificationNumber,
[FirstName firstName,
MiddleName middleName,
LastName lastName,
PhoneLocal phoneExtension,
int64 cellphoneRecId,
str retailCustAffiliations])
Run On
Called
Parameters
- custTableRecId
Type: int64
CustTable RecId.
- custName
Type: DirPartyName Extended Data Type
Customer Name.
- custGroup
Type: CustGroupId Extended Data Type
Customer group
- currency
Type: CustCurrencyCode Extended Data Type
Currency
- languageId
Type: CustLanguageId Extended Data Type
Language ID
- phone
Type: Phone Extended Data Type
Phone
- phoneRecId
Type: int64
Phone recid
- cellularPhone
Type: PhoneMobile Extended Data Type
Cell phone
- email
Type: LogisticsElectronicAddressLocator Extended Data Type
Email
- emailRecId
Type: int64
Email recid
- url
Type: URL Extended Data Type
URL
- urlRecId
Type: int64
Url recid
- multiLineDisc
Type: CustMultiLineDiscCode Extended Data Type
Multiline discount
- endDisc
Type: CustEndDiscCode Extended Data Type
End discount
- lineDisc
Type: CustLineDiscCode Extended Data Type
Line discount
- priceGroup
Type: CustPriceGroup Extended Data Type
Price Group
- taxGroup
Type: TaxGroup Extended Data Type
Tax Group
- creditMax
Type: CustCreditMaxMST Extended Data Type
Credit Max
- blocked
Type: CustBlocked Extended Data Type
Blocked
- orgId
Type: OrgId Extended Data Type
Org ID
- usePurchRequest
Type: RetailUsePurchRequest Extended Data Type
Use purchase request
- vatNum
Type: VATNum Extended Data Type
Vat Number
- invoiceAccount
Type: CustInvoiceAccount Extended Data Type
Invoice account
- mandatoryCreditLimit
Type: MandatoryCreditLimit Extended Data Type
Mandotory credit limit
- contactPersonId
Type: ContactPersonId Extended Data Type
Contact person ID
- useOrderNumberReference
Type: RetailUseOrderNumberReference Extended Data Type
Use order number reference
- receiptOption
Type: RetailReceiptOption Extended Data Type
Receipt option
- receiptEmail
Type: RetailReceiptEmail Extended Data Type
Receipt Email
- identificationNumber
Type: CustIdentificationNumber Extended Data Type
Identification Number
- firstName
Type: FirstName Extended Data Type
First name
- middleName
Type: MiddleName Extended Data Type
Middle name
- lastName
Type: LastName Extended Data Type
Last name
- phoneExtension
Type: PhoneLocal Extended Data Type
Phone extension
- cellphoneRecId
Type: int64
Cell phone record id
- retailCustAffiliations
Type: str
A XML string having the details of customer affiliation list
Return Value
Type: container
Results in container.