[python] prime number

  • Jan 03, 2019

this is prime number code in python print(“Membuat tampilan bilangan prima dari 1-100”) numBig = 100 banyak = 0 for a in range(2, numBig) : prima = 1 num = a for i in range(2,num): if(num % i) == 0: prima += 1 if prima < 2: print(num, “adalah bilangan prima”) banyak += 1 print(“dari”,numBig,”angka, […]

Read More

in ax, during your customization, sometimes you have do the custom wrong for example, in ax, in inventory system, sometimes we do creating a inventtrans transaction that might be forget to using Update() syntax (and we using DoUpdate() syntax) we forget to deactivate allow negative stock, and we force it to active allow negative stock […]

Read More

while you tried to first time install ax, you must do the step by step and when you got into database synchronize there was an error ax 2012 error : text synchronize database specified field modelid of datasource projparameters does not exists in the database or the configuration key on the field solution: turn on […]

Read More

by design, dialog field width is using maximum auto width on parents so if you wants to resize dialogfields, you only can do maximum auto witdh by yourDialogFields.widthMode(1);  

Read More

when you code update table, if you forgot to put ttsBegin and ttsCommit, sometimes when you execute di code it will shows an error “Update must be performed inside a transaction” just put ttsBegin and ttsCommit to solve it

Read More

tutorial – how to create a printing form using SSRS to make a printing form using SSRS, we need 1 temporary tables, 1 SSRS Report, 1 controller class, 1 contract class and 1 DP (data provider) class. And also we gonna need menu items, and jobs (for testing data, incase we need it), and Modified […]

Read More

We have a case, one of our sales order cannot processed to packing slip, the info error is “cannot be unpicked because inventory transactions with status Picked are insufficient” lets see step by step Sales Order SO.1802.00048, which is only line 1,2, and 8 will be processed to packing slip while we creating a packing slip, […]

Read More

when you call SSRS report, it show info log message “SSRS Error fatal exception performing AXRDCE transformation step”   solution: find the SSRS report, compile it on visual studio and republish it using publish-axreport command   thks

Read More

how to add days in x++

  • Nov 10, 2017

this is simple code to add days in x++ TransDate transDate = 12/20/2017; ; transDate = transDate + 5; info(strFmt(“%1”, transDate));

Read More

this is what I’ve found while playing LogisticsPostalAddress X++ query this is the first part of logisticspostaladdress, see the part 2 here I created a X++ query like this source below select LogisticsPostalAddress where LogisticsPostalAddress.RecId=5637155184 the result was 0 the problem is, the record was exists on the table, but why it is hidden on […]

Read More