Add a new field in ISSUE CURRENT ITEM dialog and capturing the data in the MATUSETRANS table using automation script.
if owner and owner.getRecordMboName()=="INVENTORY": issueitemMbo=owner.getMboSet("ISSUECURRENTITEM").getMbo(0) if issueitemMbo: mbo.setValue("MATUSETRANScustomaFieldName", issueitemMbo.getString("ISSUECURRENTITEMcustomFieldName"))
Thanks to SASHULL
Hi,
ReplyDeleteI do have similar requirement except I need to capture the value of a custom field in the Receive Rotating Item Dialog (ASSETINPUT) and cross it over to the ASSET table.
I tried this but nothing gets crossover!
owner= mbo.getOwner()
if owner and owner.getRecordMboName()=="INVENTORY":
receiverotitemMbo=owner.getMboSet("ASSETINPUT").getMbo(0)
if receiverotitemMbo:
mbo.setValue("ASSETTAG",receiverotitemMbo.getString("ASSETTAG"))
Any idea?
Many thanks.
Gilles
owner= mbo.getOwner()
ReplyDeleteif owner:
#owner.getRecordMboName()=="INVENTORY":
receiverotitemMbo=owner.getMboSet("ASSETINPUT").getMbo(0)
if receiverotitemMbo:
mbo.setValue("ASSETTAG",issueitemMbo.getString("ASSETTAG"))
This should work ...enjoy ..:):)