Skip to main content

Posts

 Note 2 ==== SE24 - Global class (Class and methods)  SE37 - function module - configure  SE38 - report  BAPI -  Function module  Object Type  Interface type  Form  - Flow  Form open - FP_Job_ open spool; function              LV_fm_name - cal function Job_close =============== ASN order confirmconfirmation  - VA03  FP_job_open VL02n - ASN  VF03  - Invoice document  VA02  - Sales order confirmation  Interface we cant debug - use Break-point from dev and activate then debug
Recent posts

SAP Info

 Hello SAP ABAP ==================== Dlv note T code .   /n/scwm/prdo how to move se63 text from EN TO PL =========================== slxt How to add SO10 Txt to TR  ====================  SE38 - >  RSTXTRAN - Execute - enter the TR then Scc1 and move from 100 to 110.  SE22 Tode is Dump error analysis 

Table field not populated with inbound XML document data in AIF Document Service in AX 2009

Issue: We had a requirement to send in a InventDimId as part of creating a Sales Order, but the InventDimId field was not being populated in AxInventDim table. Solution : Change the InventDim field property :"AllowEditOnCreate" from No to Yes. So that system can populate it while its reading the inbound XML. May be a small thing but thought its worth sharing here. HappyDaxing...!

Split string useing List in AX2009

static void Job277(Args _args) {     List _list = new List(Types::String);     Container packedList;     ListIterator iterator;     str cade = "Jhon*,smt*,and*,caro*";     ;     _list = Global::strSplit(cade,",");     iterator = new ListIterator(_list);     while(iterator.more())     {         packedList += iterator.value();         iterator.next();     }     info(conpeek(packedList,2));     info(strfmt("%1",conlen(packedList)));   }

X++ code to Sending email using code and data with table format

static void SendEmail(Args _args) {     SysEmailParameters parameters = SysEmailParameters::find();     SMTPRelayServerName relayServer;     SMTPPortNumber portNumber;     SMTPUserName userName;     SMTPPassword password;     Str subject,body;     InteropPermission interopPermission;     SysMailer mailer;     System.Exception e;     str s;     CCHTMLString             htmlString;     ;     if (parameters.SMTPRelayServerName)     relayServer = parameters.SMTPRelayServerName;     else     relayServer = parameters.SMTPServerIPAddress;     portNumber = parameters.SMTPPortNumber;     userName = parameters.SMTPUserName;  ...

AX2009 How to get Item default order settings ...

static void ItemDefaultDimensions(Args _args) {     InventTable                 inventTable = inventTable::find('000367');     InventItemOrderSetupType    setupType   = InventItemOrderSetupType::Sales;     InventDim                   inventDim;     ;     inventDim.InventSiteId = inventTable.inventItemOrderSetupMap(setupType).inventSiteId('2', inventTable);     inventDim.InventLocationId  = inventTable.inventItemOrderSetupMap(setupType,InventDim::findOrCreate(inventDim).InventDimId).inventLocationId(inventDim.InventLocationId,inventTable,'2');                                                                           ...

AIF (Endpoint) Error : The user is not authorized to perform this action.

"The user is not authorized to perform this action."  We started getting this error message in our AX 2009 System, when ever we try to consume an XML file using an  Endpoint   thru a  File System  Channel to create a  Sales Order. We did not made any code changes / setup changes, but all of the sudden started getting this error. Solutions : 1. Validate the "SourceEndpointUser". in inbound XML  The User ID should be a valid user Id in DAX, in GNS Active Directory and the "\" should be back slash in the XML file or where you use this combination in entire process or setup. ex : Domain \ User Id. In our case when we had the above error, the SourceEndPointUser user id was deleted from the Active Directory in GNS, so we added it back to Active Directory then it solved the problem. NOTE : If nothing wrong with the User ID, try to add the user id in "Users" tab in Endpoints form for that End Point used by the process. 2. Verify th...