Jump to content

What Code To Use?


pho
 Share

Recommended Posts

maybe i should add a little bit more info, if i double click on the stockline list, where it says TRANSIT then the window info handy tool reports there is hidden text "transit"

i know im not doing this correctly, i need a little bit of help

CODE
$TRRANSIT = "NOTHING"

WinWaitActive("Browse Stock Lines for Part Number")

AutoItSetOption("WinDetectHiddenText", 1)

$TRANSIT = ControlGetText("Browse Stock Lines for Part Number", "TRANSIT", "[CLASS:TDBGrid]")

MSGBOX(0, "???", $TRANSIT)

that little code was just to see if i could get that text, pull it and let me know if it worked by reporting it into a msgbox... of course this isnt my ultimate goal... what really is ^^orignal post

but

Link to comment
Share on other sites

ok i may be able to search for it doing something like this

in the application if i press cntrl+f10 i get info like this:

CODE
qcbStockForPN - QQ,IC,STOCKFORPN-2

PNM_AUTO_KEY =[376983]

STM_AUTO_KEY =[219115]

STOCK_LINE =[3]

QTY_OH =[193]

QTY_RESERVED =[0]

SERIAL_NUMBER =[Null]

UNIT_PRICE =[2]

UNIT_COST =[0]

RO_INFO =[Null]

CTRL_NUMBER =[187809]

CTRL_ID =[3679]

IC_UDF_005 =[Null]

IC_UDF_006 =[Null]

IC_UDF_007 =[Null]

IC_UDF_008 =[Null]

IC_UDF_009 =[Null]

IC_UDF_010 =[Null]

ORIGINAL_PO_NUMBER =[219211]

REC_DATE =[9/5/2007]

SHELF_LIFE =[Null]

REMARKS =[Null]

OWNER =[Null]

HISTORICAL_FLAG =[F]

EXP_DATE =[Null]

CORE_VALUE =[0]

TAGGED_BY =[Null]

TAG_DATE =[Null]

EXCHANGE_RATE =[1]

OVHL_COST =[0]

RECEIVER_NUMBER =[219211-1]

PART_CERT_NUMBER =[Null]

QTY_REC =[0]

NOTES =[Null]

CMP_AUTO_KEY =[Null]

PCC_AUTO_KEY =[7]

IFC_AUTO_KEY =[1]

LOC_AUTO_KEY =[7974]

WHS_AUTO_KEY =[1]

CNC_AUTO_KEY =[106]

SYSCM_AUTO_KEY =[1]

CONDITION_CODE =[NS]

CONSIGNMENT_CODE =[TAM]

LOCATION_CODE =[TRANSIT]

ILS_FLAG_CODE =[]

COMPANY_NAME =[AeroDirect, Inc.]

WAREHOUSE_CODE =[ ]

STM_LOT =[134340]

SI_NUMBER =[53]

WOO_AUTO_KEY =[113]

CTS_AUTO_KEY =[12]

CERT_SOURCE =[129 OPERATOR - FOREIGN CARRIER]

REVISION =[Null]

PO_INFO =[Null]

RRH_AUTO_KEY =[Null]

RR_NUMBER =[Null]

OBTAINED_FROM =[Null]

PO_HEADER_REF_NUMBER =[Null]

POD_AUTO_KEY =[Null]

which i can then search for LOCATION_CODE =[TRANSIT]

and if it isnt there move onto the next line until it finds it??

omg my head hurts... time to program a little loop to do this

this is actually good because i need the qty number as well for error programming..

wow i feel like im responding to my own post

anyone care to add some?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...