Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PutWithoutVerification(?)

Status
Not open for further replies.

CarlosY

Programmer
Mar 18, 2008
15
CA

Hi everyone,

I have another question regarding the one of the method from ACCPAC COM API

I saw a lot of code from macro code using .PutWithoutVerification(?), I am not sure when ? is filled by -2 or -1 but i know for sure when the ? is filled by batch no, and I am guessing when the ? is 0 means new record.


can someone help me with my question ?
if you can give me little bit of detail explanation, I would be happy :D

thanks


carlos yuwono
 
.PutwithoutVerification means it bypasses business logic, and simply puts the literal value in the field. It's useful when you don't want the system to check for validity, like if a customer code exists. In regards to the -1 and -2 entries, it depends on what object is being used. Sometimes you can remove those entries completely, because only a .Cancel and a .Init is needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top