LogisticsPostalAddress deliveryPostalAddress = LogisticsPostalAddress::findRecId(salesTable.DeliveryPostalAddress);
deliveryPostalAddress.City;
deliveryPostalAddress.State;
This blog is for Dynamics AX (AXAPTA) Developers,this will help you for your development issues. This site contains some Microsoft Dynamics AX X++ Codes for use in your day to day use.
LogisticsPostalAddress deliveryPostalAddress = LogisticsPostalAddress::findRecId(salesTable.DeliveryPostalAddress);
deliveryPostalAddress.City;
deliveryPostalAddress.State;
public EcoResProductDisplayProductNumber getProductVariants(SalesLine _saleLine)
{
InventDimCombination inventDimCombination = InventDimCombination::findVariantId(_saleLine.RetailVariantId);
InventDim inventDim;
InventDistinctProductExpanded inventDistinctProductExpanded;
select inventDistinctProductExpanded
where inventDistinctProductExpanded.ItemId == _saleLine.ItemId
&& inventDistinctProductExpanded.InventDimId == inventDimCombination.InventDimId;
return inventDistinctProductExpanded.DisplayProductNumber;
}
Please click her for MS reference file Below is the out of the box example reference and code. SalesInvoiceJournalPostSubBill_Extension->...