Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

projTable.postalAddress

$
0
0

I am trying to update the LogisticsPostalAddress associtaed with a project.

The code below finds the Record but fails with the message "Cannot edit a record in Addresses (LogisticsPostalAddress). Update on a valid time state table is not allowed without specifying a ValidTimeStateUpdateMode."

public void updateProjAddress(ProjTable _projTable, container _readFile)

{

      LogisticsPostalAddress      lPostalAddress;

      lPostalAddress = LogisticsPostalAddress::findRecId(_projTable.postalAddress().RecId,true);

      lPostalAddress.Street = "New Address";

      lPostalAddress.doUpdate();

}


Viewing all articles
Browse latest Browse all 73760

Trending Articles



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