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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Credit Debit Note Code Error

Status
Not open for further replies.

shayd

Programmer
Dec 12, 2013
31
SA
Hi all,

i have this code in credit debit note in order entry transactions module but when i try to execute red record error occurred please help


OECRD1headerFields.FieldByName("DRIVENBYUI").Value = "1" ' Driven by UI
OECRD1header.Cancel()
OECRD1header.Init()
OECRD1headerFields.FieldByName("INVNUMBER").Value = "IN0000000000002" ' Invoice Number
temp = OECRD1header.Exists
OECRD1headerFields.FieldByName("OECOMMAND").PutWithoutVerification("4") ' Process Comman
OECRD1header.Process()
OECRD1header.Insert()
OECRD1header.Read()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top