You should bring this law to court and show it to the judge:
"d. The provisions of subdivisions b and c of this section shall not
apply to (1) persons in the military service of the state of New York
when duly authorized to carry or display knives pursuant to regulations
issued by the chief of staff to the governor; (2) police officers and
peace officers as defined in the criminal procedure law; (3)
participants in special events when authorized by the police
commissioner; (4) persons in the military or other service of the United
States, in pursuit of official duty authorized by federal law; (5)
emergency medical technicians or voluntary or paid ambulance drivers
while engaged in the performance of their duties; or (6) any person
displaying or in possession of a knife otherwise in violation of this
section when such knife (a) is being used for or transported immediately
to or from a place where it is used for hunting, fishing, camping,
hiking, picnicking or any employment, trade or occupation customarily
requiring the use of such knife; or (b) is displayed or carried by a
member of a theatrical group, drill team, military or para-military unit
or veterans organization, to, from, or during a meeting, parade or other
performance or practice for such event, which customarily requires the
carrying of such knife; or (c) is being transported directly to or from
a place of purchase, sharpening or repair, packaged in such a manner as
not to allow easy access to such knife while it is transported; or (d)
is displayed or carried by a duly enrolled member of the Boy or Girl
Scouts of America or a similar organization or society and such display
or possession is necessary to participate in the activities of such
organization or society."
If you read it carefully, you are NOT IN VIOLATION of the Administrative code. Section "6) any person displaying or in possession of a knife otherwise in violation of this section when such knife (a) is being used for or transported immediately to or from a place where it is used for hunting, fishing, camping, hiking, picnicking or any employment, trade or occupation customarily requiring the use of such knife"
applies since you were transporting the knife from a place of "employment, trade or occupation customarily requiring the use of such knife".
The judge should dismiss the charge on the spot. If he doesn't, he's a liar in a robe. You should appeal and you WILL win.
Good Luck