Skip to main content

Display time difference in hours in axapta

To Display time difference in hours in Axapta  you can use below code where timeConsumed is a method to get difference between from time and to time. You need to convert string to time first to get the right value.

 TimeofDay fromTime,toTime; // Time variables  
 ;  
  
 fromTime = str2time("8:50 am");  
 toTime = str2time("10:50 am");  
  
 info(strFmt("%1",timeConsumed(fromTime,toTime)));  

Comments

Graphic Designing is required in almost every sector as it is very much helpful in many innovative fields such as advertising, movies, animation, and some others. SFT Solution Pte. Ltd. is a well-established company that can provide you according to your need and within your budget.
software development

desktop application development

e commerce application development

erp software development company

crm software development company

web designing service in delhi

graphics desgining services in delhi

mobile app designing services in delhi
Every organisation needs growth and to speed up the working process software can help a lot. SFT Solution Pte. Ltd. is one of the leading company and providing services related to software. If you ever need any kind of software such as accounting, payroll, education, retail, or any other then just reach out to us, our experts will help you out in every manner.
software development

desktop application development

e commerce application development

erp software development company

crm software development company

web designing service in delhi

graphics desgining services in delhi

mobile app designing services in delhi
CRM itself shows that the software that is completely designed and developed to manage the communications with the present and future customers. It organises, automates, and synchronise everything such as sales, marketing, customer service, and other technical support to manage customers, and their records. SFT Solution Pte. Ltd. can provide you with all such services that you need to manage the organisation.
software development

desktop application development

e commerce application development

erp software development company

crm software development company

web designing service in delhi

graphics desgining services in delhi

mobile app designing services in delhi

Popular posts from this blog

strScan and Find a first occurrence of a string in a string using x++

strScan (Find a first occurrence of a string in a string) info("int strScan(str _text1,str _text2,int _position,int _number)"); info("Searches a text string for the occurrence of another string."); info("_text1 - The text string to search."); info("_text2 - The string to find."); info("_position - The position at which the search should start."); info("_number - The number of characters that should be searched."); info(int2str(strScan("ABCDEFGHIJ","DE",1,10)));

Get record from table on the basis of field id in Microsoft dynamics axapta x++

How to Get record from table on the basis of field id in dynamics axapta x++. just try following code in job to understand better way. emplTable emplTable; FieldId fieldId; ; fieldId = fieldNum(emplTable, Emplid); select emplTable; info(emplTable.(fieldId)); select emplTable where emplTable.(fieldId) == '1101'; info(emplTable.Name);

Code to get customer Primary Address in Ax 2012

Below Code to get customer Primary Address in Ax 2012. CustTable custTable_P; DirPartyTable dirPartyTable_P; DirPartyLocation dirPartyLocation_P; DirPartyLocationRole dirPartyLocationRole_P; LogisticsLocation logisticsLocation_P; LogisticsLocationRole logisticsLocationRole_P; LogisticsPostalAddress logisticsPostalAddress_P; LogisticsPostalAddress primaryAddress_P; while select custTable_P where custTable_P.AccountNum =='ED_01029' join dirPartyTable_P where dirPartyTable_P.RecId == custTable_P.Party join dirPartyLocation_P where dirPartyLocation_P.Party == custTable_P.Party && dirPartyLocation_P.IsPrimary==NoYes::Yes join dirPartyLocationRole_P where dirPartyLocationRole_P.PartyLocation == dirPartyLocation_P.RecId join logisticsLocationRole_P where logisticsLocationRole_P.RecId == dirPartyLocationRole