Project

General

Profile

Feature #3531

Material Type dan Material Group ingin bisa autoload di Purchase Order

Added by haykal haykal 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
03/20/2025
Due date:
03/28/2025
% Done:

0%

Estimated time:
Spent time:

Description

Dear Developer,

Di bagian Purchase Item ingin agar field Material Type dan Material Group otomatis terisi setelah memilih Nama Barang. (Sesuai dengan yang telah didaftarkan di PMDMAT0001)

Terimakasih.

Menu Path: Logistic & Service > Purchasing > Purchase Order
Port: https://tulisan-dev.minovais.com/
DB: MinovaES_Tulisan_Dev (di 89)


Files

#1

Updated by Kezia Pawitra Yulianti 3 months ago

  • Due date set to 03/28/2025
  • Status changed from New to Assigned
  • Assignee changed from Kezia Pawitra Yulianti to M Azid Wahyudi
#2

Updated by M Azid Wahyudi 3 months ago

dear haykal , udah bisa di test ya

package :
sdatattablefield(selectfunction)

var store=Ext.StoreMgr.lookup("storePTRPURCHITEM");var idx=store.getCount()-1;var materialID=val.value;Ext.Ajax.request({async:false,method:'POST',url:'/UserControl/GetStore',params:{tableName:'PMDMAT0001',param:'MaterialID[=]'+materialID},success:function(response){var results=Ext.decode(response.responseText);dtgrid=results.data;}});var max;for(var i=0;i<dtgrid.length;i++){if(!max||parseInt(dtgrid[i]["SeqID"])>parseInt(max["SeqID"]))
max=dtgrid[i];}
if(max!=undefined){store.getAt(idx).set('MaterialType',max.MaterialType);store.getAt(idx).set('ProductGroup',max.ProductGroup);}else{store.getAt(idx).set('MaterialType','');store.getAt(idx).set('ProductGroup','');}

makasih

#3

Updated by haykal haykal 3 months ago

  • Status changed from QA Test to Deploy
  • Assignee changed from haykal haykal to M Azid Wahyudi

Udh Ok. Minta tolong di-deploy ke Prod ya...

Port: https://tulisan.minovais.com/
DB: MinovaES_Tulisan_Prod (89)

Terimakasih.

#4

Updated by M Azid Wahyudi 2 months ago

  • Status changed from Deploy to QA Test
  • Assignee changed from M Azid Wahyudi to haykal haykal

dear haykal , udah di deploy ya coba cek

makasih

#5

Updated by haykal haykal 2 months ago

  • Status changed from QA Test to Closed

Also available in: Atom PDF