If you add a new field on a Map, but you cannot map the field to all tables you need to check, on map common methods, if the field is mapped on the table you are going to update, if you don't to it the system raise an error.
For to this you can use this function:
https://msdn.microsoft.com/en-us/library/global.mappingexists.aspx
An example of use is:
if (Global::mappingExists(tableNum(SalesPurchLine), this.TableId, fieldNum(SalesPurchLine, MYFIELD)))
this.MYFIELD = AVALUE;
Check MSDN docs for details of the mappingExists global function
Iscriviti a:
Commenti sul post (Atom)
AX 2012: The request was aborted: Could not create SSL/TLS secure channel
The error you're encountering, "The request was aborted: Could not create SSL/TLS secure channel," can occur due to various re...
-
The error you're encountering, "The request was aborted: Could not create SSL/TLS secure channel," can occur due to various re...
-
NumberSeq numberSeq; InventTransferTable inventTransferTable; InventTransferLine inventTransferLine; InventDim inventDim; ; ttsbegin; ...
-
To find out what projects an AOT object exists in, use this script. It's recursive, than it can find methods or inner nodes too Proje...
Nessun commento:
Posta un commento