Thank you for this release! But let me just mention:
this statement will not work because @OldItemCode has not been initialized
this 2nd statement will not work because @NewItemCode has not been initialized
this statement will not work because @OldItemCode has not been initialized
PHP Code:
Select @ItemID = (Select ID From SHARD.dbo._RefObjCommon Where CodeName128=@OldItemCode)
PHP Code:
exec SHARD.dbo._ADD_ITEM_EXTERN @Charname,@NewItemCode,1,0