Hi Experts,
I added a table in AX and used the Aif to create record. But the int64 field is always 0, the other string type field are fine.
Would you have any suggestions for this ?
Is the int64 type specifically set up for AIF? I test a table and only a int64 type field it also not work.
Attached the aif code, the highlight is set the int64 field. RCustAttributeServiceClient client = newRCustAttributeServiceClient(); AxdRetailCustAttribute custAttribute = newAxdRetailCustAttribute(); AxdEntity_RetailCustomerAttribute axdCustAttribute = newAxdEntity_RetailCustomerAttribute(); System.Nullable<long> customerRecid = 5637144576; axdCustAttribute.CustRecId = customerRecid; axdCustAttribute.Name = "Email"; axdCustAttribute.Value = "zzzz@test.com"; custAttribute.RetailCustomerAttribute = newAxdEntity_RetailCustomerAttribute[1]{axdCustAttribute}; CallContext ctx = newCallContext(); ctx.Company = "ceu"; EntityKey[] entityKey = client.create(ctx, custAttribute);