หน้าเว็บ

วันพฤหัสบดีที่ 2 มกราคม พ.ศ. 2563

Axapta : Axapta Auto Create Batch List By Call Class By Code

Axapta : Axapta Auto Create Batch List By Call Class By Code
สิ่งที่ต้องการ
- ต้องการสร้าง Batch List ให้เรียกใช้ Class ที่สร้างขึ้นเพื่อเรียกรายงานและส่งเมล์
เป็นอาทิตย์ หรือเป็นเดือน หรือตามที่ต้องการโดยไม่ต้องสร้างเองให้ Code สร้างให้
- Run Batch ไว้ที่เครื่อง Database เมื่อถึงเวลา ให้เรียกรายงานและส่ง รายงาน ทาง Email ให้ผู้เกี่ยวข้อง

ทำโดย
1. สร้าง Class Auto Create Batch List ให้เลือกวันที่ ที่ต้องการ ตัวอย่างใน Code ให้ทำเฉพาะวันอาทิตย์ เวลาห้าทุ่ม
2. สร้าง Class ที่จะเรียก Reports และส่งเมล์ (ต้องมี Dialog ด้วยไม่อย่างนั้น Run Batch จะ Error)
นำ Class ID ในข้อ 2 ไปใส่ใน Code Class สร้าง Batch List ข้อ 1

(ปัจจุบันส่งเมล์ได้เฉพาะ Windows XP และ Windows7 Windows10 Run Register Dll ไม่ผ่าน)

ส่ง Mail : https://porpramarn.blogspot.com/2016/07/axapta-send-mail-to-zimbra.html

Project :
https://drive.google.com/file/d/1OWawJRESBEb1Re_yG3IThRB2c6VJvmm1/view?usp=sharing

วันพุธที่ 1 มกราคม พ.ศ. 2563

Window 10 : Ubuntu + Linux Mount Partition Windows10 Read only.

Window 10 : Ubuntu + Linux Mount Partition Windows10 Read only.

เนื่องจากมีการเปิดโหมด
Turn on fast startup ไว้ ต้อง ปิดก่อนถึงจะสามารถนำไป Mount ใน Linux เพิ่มหรือแก้ไขไฟล์ต่าง ๆ ใน Disk ได้

If it happens in case of dual booting with Windows 10, you need to uncheck turn on fast startup in Control Panel --> Power Options --> Choose what the power buttons do and then shutdown, not reboot. Once it's done properly you'll be able to access the NTFS partitions normally with read/write permissions.

This happens due to the Windows 10 update resets it to the default fast startup which is a form of hibernation.
https://askubuntu.com/questions/70281/why-does-my-ntfs-partition-mount-as-read-only

https://www.linuxuprising.com/2019/01/fix-windows-10-or-8-partition-mounted.html