The printing is called automatically after the last API is complete, the only problem is the last call function is updating the stock twice, but if I use the onclick button all is fine, could it be I'm doing something wrong on the code below?
If (DCount("ItemSoldID", "QryPosReceipts"...